.net-1.1

.Net 3.5 WebService can't be called by .Net 1.1 Windows App

I have a weird issue. I had a web service that was compiled under the 2.0 framework that was being consumed by a windows app that was compiled with the 1.1 framework. This worked just fine. Now, after upgrading the web service to the 3.5 framework, the windows app is no longer able to call it. Creating a little windows app in 3.5 as a t...

Upgrading ASP.NET from version 1.1 to 2.0 - Any Gotchas?

I know we are really behind the times here, but we are just about to upgrade from .NET 1.1 to .NET 2.0. Thank you for your sympathy. Anyhow, are there any gotchas we should look out for? Do you have any general advice before we jump in? Please do not post telling me to go straight to 3.5: 2.0 is all we're allowed! We're usi...

Can I write an app in the new version of Visual Studio and make it compatible with .NET Framework 1.1

I am a Web developer who spends 99% of his time in Linux, but I need to develop a super simple application with VB or possibly C# (.Net). The only version of Visual Studio I have is the most current free ones. There MIGHT be a copy of 2001 lying around somewhere. Anyways, the machine I need to develop this for is running Windows NT4. ...

Using Server.CreateObject("ADODB.Stream") in IE7

I have a asp.net 1.1 application that uses the following code to write out a file in the response: Dim objStream As Object objStream = Server.CreateObject("ADODB.Stream") objStream.open() objStream.type = 1 objStream.loadfromfile(localfile) Response.BinaryWrite(objStream.read) This code ...

virtual directories with different .net frameworks

Is it possible to have two virtual directories under the same website in IIS but have the virtual directories be using different versions of the .net framework? For example, under the default website, can I have one virtual directory targeting the 2.0 framework and a second virtual directory targeting the 1.1 framework? This is for IIS...

How to check if DLL is debug-compiled

Simple Question; Is there an easy way to check whether a .NET 1.1 assembly is debug-compiled or not? ...

How do I unit test object serialization/deserialization in VB.NET 1.1?

I am looking for example code that provides a unit test to serialize and deserialize an object from a memory stream. I have found examples using C# 2.0, however my current project uses VB.NET 1.1 (don't ask me why...), so the solution can not use generics. I am also using the NUnit framework for the unit tests. Thanks! ...

Convert a multi page Tiff to jpeg in .Net1.1

Is there a way to convert a multi page Tiff file to a jpeg file in VB.net 1.1. I've tried to convert it with the standard Bitmap.Save() method but it only converts the first page. ...

HttpModule - get HTML content or controls for modifications

Tried something like this: HttpApplication app = s as HttpApplication; //s is sender of the OnBeginRequest event System.Web.UI.Page p = (System.Web.UI.Page)app.Context.Handler; System.Web.UI.WebControls.Label lbl = new System.Web.UI.WebControls.Label(); lbl.Text = "TEST TEST TEST"; p.Controls.Add(lbl); when running this I get "Object ...

How can I create and start a parameterized thread in .NET 1.1?

.NET 1.1 lacks ParameterizedThreadStart (I have to use 1.1 because it's the last one supporting NT 4.0) In .NET 2.0, I would simply write: Thread clientThread = new Thread(new ParameterizedThreadStart(SomeThreadProc)); clientThread.Start(someThreadParams); How can I create equivalent .NET 1.1 code? ...

Help - I need a hidden field in an .NET Repeater control.

The catch is this is a .NET 1.0 project and there is no hidden field control... So this is out of the question: <asp HiddenField Ruant="server" ID="hdn" /> I vaguely remember some type of HtmlHiddenInput class that allowed similar functionality...does anybody know how to do this? Thanks. ...

Picture box goes blank

In VisualBasic.Net When I activate a picture box and then draw something on it, it draws and then immediately goes blank. Works fine when I re-draw it, but almost always messes up the first time I draw on it. This has happenned with several different programs, and the help file is no help. ...

Cross framework performance hit

I have a .NET 3.5 WinForms project that uses several 3rd party controls and a couple of home-grown components that are compiled for the 1.1 framework. Is there a performance hit for using 1.1 components? ...

Set folder permissions with C# - convert CreateObject("Wscript.Shell") from vb to C#

Hello. I'd like to know how to convert this vb script to C# Dim strFolder As String Dim objShell As Object strFolder = "C:\zz" Set objShell = CreateObject("Wscript.Shell") objShell.Run "%COMSPEC% /c Echo Y| cacls " & _ strFolder & _ " /t /c /g everyone:F ", 2, True What I'm trying to do is set per...

Why not upgrade to the latest .net framework

I see a lot of people has .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 frustration working with the older frameworks when you know that you could have done this so much easier with...

Best practice for AJAX calls in .Net 1.1

Well, my latest contract is forcing me into the antique world of .Net 1.1. Since I have been using jQuery and Rails for quite a while AJAX like solutions to problem keep on popping into my head and I can't help writing them. So my fairly straight forward problem is that I have 3 actions I need to perform on a record (insert, update a...

Need an exercise suggestions to help me learn and exercise .NET

Do you have any idea for a complex exercise that touches and covers most important and major concepts of .NET? (so I can learn while coding and implementation) The exercise should NOT be for beginners, but for someone who already familiar with .net, but enough complex to teach new features of .NET 2 for example. Thanks! ...

how did you or do you handle the DataGridCell edit events in WinForm Datagrid .Net 1.1?

Since Winform Datagrid in .net 1.1 lacks of cell edit events like Datagridview in 2.0. i am wondering if there are certain workaounds in order to add validation events when users finishing editing a cell in a datagrid. wishing our customer to let us upgrade his apps to 2.0 at least ...

1.1 solution on a dedicated machine - how best to move it?

We have an old project that requires occasional maintenance that uses VS2003 and Dot Net 1.1. It is on a machine that has become a 'dedicated' machine since no one wants to mess with it. We need to use the machine for other purposes - so I am trying to get it moved to another computer with the least amount of trouble as possible. I h...

OnStart Not Called in .Net 1.1 Windows Service

I have a .Net framework 1.1 Windows service that works on one server, but on another the OnStart method is not being called. I have a Trace statement as the first line in the OnStart override and it's not being executed. No exception are thrown and the Windows Service control manager thinks the service has started correctly. Anyone ha...