.net-1.1

How to make Server controls in .NET 1.1 render in compliance with Xhtml

Hey guys I'm "re-skinning" a legacy .NET 1.1 site (i know, don't ask). Anyway, originally it was all horrible html4.0 markup, and the new design is xhtml. How do I change the way server controls render in .NET 1.1 amd Visual Studio 2003? For example, the asp:ImageButton control is rendering without the self closing tag, how do I chan...

Is it possible to run multiple versions of the same webservice?

[RUN DOWN] I am required to call on a webservice with version information embedded in the webservice name. EG. webserviceV1 When I generate a proxy class from the wsdl the webservice name is used to as the class name. I am using the wsdl.exe tool. I can foresee that a new version of the webservice would result in my code base having to...

Can you call a .NET 2.0 COM object from an ASP.NET 1.1 web app?

We have an ASP.NET 1.1 web application. It invokes a C++ COM object which in turn invokes a .NET COM object. Originally, this .NET COM object was a .NET 1.1 assembly. Now, we need to modify this .NET COM object and in the process we now use Visual Studio 2008 so it is a .NET 2.0 COM object now. We now find that our ASP.NET 1.1 web applic...

Spliting string with string C# .net 1.1.4322

How do I split a string with a string in C# .net 1.1.4322? String example: Key|Value|||Key|Value|||Key|Value|||Key|Value need: Key|Value Key|Value Key|Value I cannot use the RegEx.Split because the separating character is the ||| and just get every character separately. I cannot use the String.Split() overload as its not in .net ...

Writing a cross framework class, ConfigurationManager and ConfigurationSettings

I'm trying to write a little web.config reading class, and want it to be available for all .net framework solutions I am writing. Everything is going fine, except for .net 1.1 and below I need to use System.configuration.configurationsettings.appsettings and for after 1.1 am using System.configuration.configurationmanager.appsettings. ...

How to Assign a datarow object in .NET 1.1

currently I am doing this... object s = new object(); s = mydatarow["mycolumn"]; What I would like to do is... DataRow r = null; r = mydatarow["mycolumn"]; and I get an error saying that can not covert from object to DataRow. is there a better way of doing this? ...

log4net not logging with a mixture of .net 1.1 and .net 3.5

Hi All, I have an iis server on a windows 2003 production machine that will not log using log4net in the .net3.5 web application. Log4net works fine in the 1.1 apps using log4net version 1.2.9.0 and but not the 3.5 web app. The logging works fine in a development and staging environment but not in production. It does not error and I ...

How insert page break in rtf files using asp.net with c#.net version 1.1?

How insert page break in rtf files using asp.net with c#.net version 1.1? ...

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

Hi, 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 .Fill() causes an Exception? (due to SQL Server cannot be reached, or whatever). Does it ...

Previous Data in Table .NET 1.1

How can I get the previous version of data of a Row in a DataTable? The data has only changed but hasn't been saved yet. The .NET version I'm working on is 1.1 ...

Recaptcha Validator in .NET 1.1 project

I am trying to use an old version of the Recaptcha Validator on a .net 1.1 project, which can be found here: http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/dotnet-old/src/Recaptcha/ The code I have is very similar to an example that can be found at the above link: <asp:TextBox ID="EmailAddress" runat="server"></asp:TextBox...

Best way for cross browser applications

In our organization, we are still on .net 1.1 environment, using javascript, a few open source applications/widgets. Development is done using Visual Studio 2003, grid view, and iframes. Our application works in Internet Explorer 7 and IE 8 (in compatibilily mode). Can anyone give any basic steps we can take to get our application to w...

.Net framework 1.1 web application on Safari

We have an intranet web application developed using .NET framework 1.1 The application has few validators and fired from the server side (They are not client side validators). The web application runs perfectly fine on IE and Firefox (both on Mac and Windows). However on Safari(ver 4.0.3) browser running on Mac, the application intermit...

Is there a tool that can convert C# 1.1 Forms design to the more recent standard?

The old code, as we know, is dangerous because both GUI layout and business logic are mixed into one. Separating the two can be a tedious and an error-prone task. Is there a tool that can do this for me? Thanks. EDIT: The pretty obvious way of keeping the UI and the logic separate is through introduction of a partial class. I hope that...

Can a .Net 1.1 client call a .Net 2.0 web service? If so, how?

We have finally upgraded our web services from .Net 1.1 to .Net 2.0/3.5. One of the clients that calls these web services is run as a windows service. It is probable that the windows service will not be upgraded until some time after upgrading the server at customer sites. Is it possible to massage my .Net 2.0 web services so they will...

Override a GAC DLL in VS2003

I have a VS2003 project that references nunit.framework.dll. The dll is available from within my source tree. Everything works fine on my box(tm). When the build server tries to build the project, it fails, because the build server (outside of my control) has nunit.framework.dll V2.1 (outdated) in it's GAC. I believe that if I use a ab...

How to solve the performance decay of a VB.NET 1.1 application?

I have single-thread windows form application written with VB.NET and targeting Framework 1.1. The software communicates with external boards through a serial interface, and it mainly consist of a state machine that run some tests, driven in a loop done with a Timer and an Interval of 50ms. The feedback on the user interface is done thr...

How to take advantage of an auto-property when refactoring this .Net 1.1 sample?

I see a lot of legacy .Net 1.1-style code at work like in example below, which I would like to shrink with the help of an auto-property. This will help many classes shrink by 30-40%, which I think would be good. public int MyIntThingy { get { return _myIntThingy; } set { _myIntThingy = value; } ...

Find GridView Row from another gridview

Hi, I have 2 datagrid (using .net 1.1). I need to access column of second grid ( i need to make a column of second grid as disabled) when i click "Cancel" link button in First Grid. How can this be done? ...

Transalation of tasks in .NET 1.1 to .NET 3.5

In .Net 1.1 I would run a stored procedure to fill a typed dataset. I would use a Datareader to fill the dataset for speed (though it was probably not necessary) Then I would use the Dataset to bind to multiple controls on the page so as to render the data to multiple CSS/javsript based tabs on the page. This would also reduce the dat...