Click to See Complete Forum and Search --> : .DLL concept


carjbga
11-25-2010, 10:12 AM
I'm a "classical" ASP developer (ASP 3.0), part of the web site structures consist of a set of .DLL files that are built this way:

1- I create a DLL Standar Project using Visual Basic 6, and add to it as many as .cls files needed, those will be the "classes" inside it.

2- I compile the project and generate an .DLL file

3- I have to register it in IIS through regsvr32.exe command in order to use it in the asp pages

then I can use it in any page of the site, using

set objStudent = Server.CreateObject("MyDllFile.clsStudent")

the problem is that, the time I make a change in one of the .cls files I have to follow this procedure:

1- Save the changes to the file in VB 6

2- Stop and Restart IIS Services

3- Generate the DLL File again

but generally I have to do this operation at "lunch time" or late at night, because probably some user is using the web site and the DLL gets Locked and I can't update the DLL with the new version.

Now I'm starting to learn ASP .NET and I would like to know if the DLL concept explained before has been keep it in some way and if the "locked" problem is solved


thanks in advance

I would appreciate any collaboration