.net-1.1

Active form in a Windows application?

I am developing a Windows Forms application. I have four forms which is inherited from Baseform in another project. In all four forms I am using a label to show some transaction count based on network status. I have implemented a thread which gets the active form of application and setting up the text. The code works fine if application ...

Why does this date parse not work in C# .net 1.1?

private bool ValidDateCheck(){ bool _isValid = true; try{ DateTime.Parse("07/&*/2009"); DateTime d = Convert.ToDateTime("07/&*/2009"); } catch{ _isValid = false; } return _isValid; } How does the above code not throw an exception? ...

Managing multiple .Net-Frameworks on a webserver

So I'm in charge to deploy my project on the productive server where some other ASP.NET-Websites are also set up. The problem now is that I wrote my whole project under .NET 3.5 but on the webserver the current installation is .NET 1.1 as some of the other projects require them (don't ask me why, I can't figure it out either but my PM s...

Assignment "=" operator in VB.NET 1.1

I'm "cloning" objects in my code. For instance: objClone = objOriginal My question is: Does the assignment operator in VB.NET 1.1 do a member-by-member copy of the objOriginal to objClone or does objClone simply point as a reference to memory referenced by objOriginal? ...

How do I access a string(index) in .Net 1.1?

I have converted this existing C# .NET 2.0 code (which appears to take in a string with any characters and return only the numbers in that string): private static string StripMIN(string min) { string result = string.Empty; int digit = 0; for (int i = 0; i < min.Length; i++) { if (int.T...

Visual Studio 2010 + .Net Framework 1.1 + Click Once Deployment

First of all, The Winform application is based on .Net Framework 1.1. I have 1.1 SDK installed but 1.1 is not listed in the Target Framework(VS 2010 Beta 2) so I cannot choose the same, the minimal available is 2.0. Am I supposed to install an add-on or something for building 1.1 apps in VS 2010 beta2. Further more, I am using a Clickonc...

VB.NET 2003 copy log4net.config to bin folder

I'm using VS.NET 2003 and VB.NET. I have placed my log4net.config file in the same folder as the source code and I want to automatically copy the log4net.config file to the bin folder just as the app.config file is copied to bin. Is there an automatic way to do this? ...

XSL: How best to store a node in a variable and then us it in future xpath expressions?

I need to be able to store a node set in variable and then perform more filting/sorting on it afterward. All the examples I've seen of this involve either using XSL2 or extensions neither of which are really an option. I've a list of hotels in my XML doc that can be sorted/filtered and then paged through 5 at a time. I'm finding though ...

Is there a .Net 1.1 compatible String.GetHashCode implemented in .Net 2.0 code?

I have an existing app in which I made the mistake of using String.GetHashCode and persisting it to disk. Now that I'm upgrading the app to .Net 2.0 I find that that decision has come back to bite me in the butt. I'm interested to know if anyone knows about a .Net 2.0 implementation of a .Net 1.1 compatible string hashing algorithm. O...

Calling .NET 2.0 assemblies in .NET 1.1

Recently I developed a internal framework in .NET 2.0 version, which is basically classes and helpers. The problem is I have some .NET 1.1 sites and applications and would like to use my framework from them. I know that I can't call .NET 2.0 in .NET 1.1, but I have an idea. If I create another 2.0 project with ComVisible and reference...

"Best" way to communicate between .NET 1.1 and .NET 3.5

By best I mean: Cheapest development cost (1.1 project is unlikely to live > 6 months) Easiest migration to WCF or similar By communicate between I mean: Remote communication between computers Most likely no firewall restrictions With .Net 1.1 the options appear to be: sockets, remoting, and various flavours of web service. The ...

How can I write these to my database as Null instead of Nothing

Hi Everyone, How can I change the following code to write to the database null instead of empty strings? Public Sub SetChangeRequest(ByVal referenceLeaseID As Integer, _ ByVal referenceCustomerID As Integer, _ Optional ByVal custUnitNum As Object = Nothing, _ ...

Any DAL generators that will work on .NET 1.1 with SQL CE 3.1?

Are there any DAL generators or ORMs that will work on .NET 1.1 with SQL CE 3.1? This is only for a short lived project, so cost would be an issue ...

DataGrid (WinForm) - Error while Data Source is updated

Now, i am working in .NET FX 1.1 C# windows application. For doing data bound, i am using "DataGrid" control (due to missing of DataGridView in Fx 1.1). In this, we are binding "DataTable" object to DataGrid's DataSource. It is showing fine. Problem is, i am getting error messages, "while inserting additional data to a DataTable which ...

ArrayList Search .net

Hi, Following is the format of the data stored in my arraylist. A-Amsterdam B- Brussels C-Canada so and so forth. I wan to search my array list by passing just the first few characters till '-' So if i have something like AA-Test then i want to pass just 'AA' to check if it exists or not. I know that i can use contains or binarysearc...

How to remove closing tag of an XmlDocument in C#, .NET 1.1?

How can I remove the closing tag of element c in a XML document? The converted XML will go through a schema validation and it is rejected because it has a whitespace within. I'm using C#, .NET 1.1 (I'm updating a legacy application :-( ). Note: I must not resort to string manipulation to convert the XML document. Current: <main> <...

Google Sitemap and .NET 1.1

What is the best way for create a sitemap for google using .net 1.1 and use this sitemap in a treeview into a webpage .aspx? ...

Question on .NET 1.1 C# Events Tutorial From MSDN

I am looking at this event example http://msdn.microsoft.com/en-us/library/aa645739%28VS.71%29.aspx This all makes sense to me except that the following line public event ChangedEventHandler Changed; What does this do?? Is this some sort of list of EVentCallbacks?? Why is new not used here?? EDIT: Why does this not need a NEW keywo...

IronPython and Targetting to MS Framework 1.1

In IronPython Studio -> Properties -> General Tab i see a Property with Name Target Plataform and found Microsoft Framework 1.0, 1.1 and 2.0, selected 1.1 and next opened my Visual Studio 2003 -> Add Reference and for my surprise this not work. Not compatibility. Why? What i do wrong? ...

What are the effects of using VS2005 to migrate from .NET 1.1

Hey guys, I'm working on some legacy code for a client, involving Microsoft Content Management System (MCMS). Currently, everything is local, the code, MCMS, SQLServer, and IIS (5.x). I copied the project folder, and then opened the new copied solution in VS2005, and let it do it's conversion thing. But now nothing works. I've nnotic...