.net-1.1

Process Class and .NET security?

I am using the Process class in my application, right at the beginning of the static Main method. I am using the Process class to know if another instance of my application is currently running. If my application is already running, I will exit. i am not looking for a way of change this, this has been working for years But recently thi...

Visual Studio 2008 does not show any "obsolete"-warnings

Duplicate: http://stackoverflow.com/questions/577132/why-are-c-collection-properties-not-flagged-as-obsolete-when-calling-properties I just migrated a .NET 1.1 project to .NET 2.0 using Visual Studio 2008. I know that there are references to obsolete methods in the project. But Visual Studio does not show "obsolete"-warnings after buil...

GetProcessesByName() Throws Process performance counter is disabled

we had an application that uses Process.GetProcessesByName() but it is failing only on one user PC with the following error Process performance counter is disabled i seached the registry for the Disable Performance Counters entry but it was not present with the value set to 1, user env is XP with administrative rigths. i know that ...

How can I deploy a VB.Net 1.1 app with no manufacturer set

I need to deploy this app and currently the installer the path goes something like "C:\Program Files\Manufacturer\App". I just want it to be "C:\Program Files\App" by default. I know I can change this manufacturer from the properties for the project, but I want it to go away altogether. The setup project won't build with it gone. An...

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. ...

Upgrading Enterprise Library (1.0) to LINQ or Entity framework

We are working on a C# windows project with enterprise library 1.0 that needs to be updated to either LINQ or Entity framework. (.NET 3.5) The application uses mainly SQL connections as stored procedures and XML files to store settings. What is the pros and cons with LINQ and Entity framework in this case? Are the rumors true that LI...

How can i send an SMS from .NET 1.1 ?

Duplicate C# && SMS Tags I am working in the .net framework 1.1 .. from my application i need to send a SMS to a mobile. Is it possible? ...

.Net 1.1 C# Development on 64bit Vista with IIS 7.0 and Vs2003

Can this be made to work? - been having lots of issues setting it up: HttpHandlers not being seen even though .net 1.1 is installed and regiis -i working, worker processes crashing. Really need this for maintaining many old projects. Is there a specific order that things need to be installed in? ...

Pre-build events for Visual Studio 2003 Deployment projects?

I have multiple Visual Studio 2003 Deployment projects that include the primary output of another project. One of the differences in the Deployment projects is that they use different primary output settings properties. These settings get copied to a PrimaryProjectName.exe.config file when I build the primary project, so currently my bui...

Why is my WebService constructor getting called each time I call a webmethod?

My webservice constructor is getting called each time that I call a webmethod. This is causing some problems with some new functionality that I am adding and I cannot figure out what I am doing wrong to cause this. The only place that I am newing the webservice is in global.asax.cs's Application_Start, but if I remove the code to new the...

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

Hi All, 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 through the XSLT manually while I'm editing them). The code is part of a big ol...

.Net 1.0 and 2.0 hybrid application

I have a .Net app with dll's that some of them were compiled with .Net 1.1 and some with 2.0. How does such an application work - isn't there only one runtime for an application? If so which is it? If not how are objects being passed between the runtimes? ...

Retrieve row order from DataGrid 1.0

I am working a legacy app which is .net 1.1 and I need to retrieve the rows in a datagrid post sort (by clicking on column header). This sounded like an easy task however, the answer seems to elude me. I can retrieve the rows from the dataset just fine but, they are not sorted again when the header is clicked. I appreciate any input. ...

What other improvements in .NET's Dictionary vs. HashTable besides [un]boxing?

Trying to convince someone to switch from .NET 1.1 I saw people saying that one advantage of using the Dictionary class in post .NET 1.1 is performance increases due to not having to unbox/cast objects. Are there another improvements besides that? Or any other general advantages to moving away from .NET 1.1 ? ...

Running 2005/2008 MS ReportViewer in ASP.NET 1.1 website.

Hi all and thanks in advance, I think I know the answer to this but just wanted to confirm with someone here. I'm supporting an old asp.net 1.1 web application which currently uses an old reporting services reportViewer control which loads the reports into an iFrame using URL to access the report on the report server. We've recently s...

How do I change Default Application Pool Setting Properties Programatically in .NET

I have to change some properties in the Default Application Pool of IIS 6.0 using C# and i am constrained to use code using .Net 1.1 Framework. I am restricted to .Net 1.1 coz my code has to be built with a web site that uses .Net 1.1. Thanks ...

Doing a postback after checking an asynchronus result in .Net 1.1/c#

I have code that gets data from a server and places them in a TreeView control (.Net 1.1 version - the one that has Microsoft.Web.Ui.etc.etc as a namespace). The TreeView is displayed in a div area that becomes visible when the user clicks a certain button. The problem is after filling up the first level of the Tree, the div area is al...

Update DataGrid WinForm control in .Net 2003

I've been using VS 2005 and VS 2008, and never asked this question, but now I'm having a hard time using controls in VS 2003. A dataGridView does not exist, and I'm forced to use DataGrid control to show some data. The problem is, that I want to edit some of the values displayed by this control, and to reflect those changes in database, ...

NUnit does not run on Vista x64 in Visual Studio 2003

I am trying to run NUnit in Visual Studio 2003 on 64-bit Vista but with no success. I have set the Debug Mode of the Project to "Program" and the Start Application to "C:\Program Files (x86)\NUnit 2.4.8\bin\nunit.exe". The Test Project is set as the StartUp Project. All the code is in .NET 1.1. Unlike .NET 2.0 the processor architecture...

Mocking framework for .Net fx 1.1?

Anyone have any ideas what I can do? Please reserve commenting about using 1.1 still, it's out of my hands :( ...