Questions tagged [.net-1.1]

The 1.1 version of the .NET Framework. Use for questions specifically related to .NET Framework 1.1. For questions on .NET Framework generally, use the .net tag.

The 1.1 version of the .NET Framework.

Released by Microsoft Corporation
Version Number: 1.1.4322.573
Release Date: 2003-04-01

373 questions
33
votes
5 answers

SqlDataAdapter.Fill method slow

Why would a stored procedure that returns a table with 9 columns, 89 rows using this code take 60 seconds to execute (.NET 1.1) when it takes < 1 second to run in SQL Server Management Studio? It's being run on the local machine so little/no…
Steve Wright
  • 2,481
  • 3
  • 26
  • 35
22
votes
4 answers

web.config batch="false"

What is the purpose of adding the batch="false" in the compilation tag in ASP.NET 1.1?
Danny G
  • 3,660
  • 4
  • 38
  • 50
21
votes
2 answers

Does DataAdapter.Fill() close its connection when an Exception is thrown?

I am using ADO.NET (.NET 1.1) in a legacy app. I know that DataAdapter.Fill() opens and closes connections if the connection hasn't been opened manually before it's given to the DataAdapter. My question: Does it also close the connection if the…
motto
  • 1,305
  • 3
  • 16
  • 30
20
votes
4 answers

Unhandled exception of type 'System.ApplicationException' occurred in System.Drawing.dll

I have a winforms app. In development mode, when debugging from Visual Studio .NET 2003 (Yes, I know it's old, but this is a legacy project), I get this error when I try to open a new form. In order to open a new form I get an instance of the form…
Willy
  • 9,848
  • 22
  • 141
  • 284
16
votes
5 answers

Implementation change to .NET's Random()

I am migrating a method that is used for decoding from .NET Framework 1.1 to .NET Framework 4. I noticed that implementation of Random changed. So given the same seed, Random.NextBytes returns different result. So if I run the following code. byte[]…
Nejchy
  • 666
  • 11
  • 24
15
votes
14 answers

Why not upgrade to the latest .NET framework?

I see a lot of people have .NET 2.0 or even 1.1 as a requirement for their projects. In my own workplace there is also lots of skepticism for upgrading to the latest and greatest .NET framework. As a programmer I feel it is very frustrating working…
terjetyl
  • 9,497
  • 4
  • 54
  • 72
13
votes
2 answers

How to inspect XML streams from the debugger in Visual Studio 2003

I've got to edit an XSLT stylesheet, but I'm flying blind because the XML input only exists fleetingly in a bunch of streams. I can debug into the code, but can't figure out how to get the contents of the streams out into text I can look at (and run…
Andrew M
  • 9,149
  • 6
  • 44
  • 63
13
votes
8 answers

How can I programmatically select an item in a listbox?

I have a listbox displaying items from an enum. I want to select/highlight the current value (read from a database) when the listbox displays/the form opens. This code, though: lblSelectedPrinter.Text =…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
12
votes
3 answers

Get Encoding list in .NET 1.1

I need to retrieve a list of supported encodings, but I'm using .NET 1.1, so the following call is not available: using System; using System.Text; public class SamplesEncoding { public static void Main() { // For every encoding, get the…
Daniel Peñalba
  • 30,507
  • 32
  • 137
  • 219
11
votes
3 answers

Determining exact glyph height in specified font

I have searched a lot and tried much but I can not find the proper solution. I wonder is there any approach for determining exact glyph height in specified font? I mean here when I want to determine the height of DOT glyph I should receive small…
Michael Z
  • 3,883
  • 10
  • 43
  • 57
11
votes
7 answers

What is the best approach for (client-side) disabling of a submit button?

Details: Only disable after user clicks the submit button, but before the posting back to the server ASP.NET Webforms (.NET 1.1) Prefer jQuery (if any library at all) Must be enabled if form reloads (i.e. credit card failed) This isn't a necessity…
Macho Matt
  • 1,286
  • 4
  • 16
  • 32
10
votes
6 answers

Finding out Windows service's running process name .NET 1.1

We are using a badly written windows service, which will hang when we are trying to Stop it from code. So we need to find which process is related to that service and kill it. Any suggestions?
the berserker
  • 1,553
  • 3
  • 22
  • 39
10
votes
5 answers

Print out the keys and Data of a Hashtable in C# .NET 1.1

I need debug some old code that uses a Hashtable to store response from various threads. I need a way to go through the entire Hashtable and print out both keys and the data in the Hastable. How can this be done?
David Basarab
  • 72,212
  • 42
  • 129
  • 156
9
votes
1 answer

Looking for best practice for doing a "Net Use" in C#

I'd rather not have to resort to calling the command line. I'm looking for code that can map/disconnect a drive, while also having exception handling. Any ideas?
steve_mtl
  • 960
  • 4
  • 12
  • 18
8
votes
4 answers

What's the best alternative to int.TryParse for .net 1.1

What's the best way to do the equivalent of int.TryParse (which is found in .net 2.0 onwards) using .net 1.1.
Matthew Dresser
  • 11,273
  • 11
  • 76
  • 120
1
2 3
24 25