Can't update VB6 DLL-file after it has been used by Visual Interdev 
Author Message
 Can't update VB6 DLL-file after it has been used by Visual Interdev

Jonas,
Copy the DLL to your system folder and register. This will be used any any
app calling it. Remember to unregister the copy in your development folder
with "regsvr32 /u d:\Program\data\testobj.dll"
Now the one in your dev folder can be modified and copied to your dev folder
for testing. In VB6 make sure you set "Binary Compatibility" on.
Regards Mike

Quote:

> Hi
> I hope someone can help me with this problem.
> I have created a Active X DLL in Vsual Basic 6.0 and then used that
> component in an ASP-page in Interdev. I created a reference to the DLL
with
> "Server.CreateObject" in Interdev. After I used it I have destroyed it
with
> "Set testobject = Nothing"
> The problem is that after I have used the DLL in Interdev I can't go back
to
> VB and make any updates to the DLL-file. When trying to do that I get the
> message : "Permission denied d:\Program\data\testobj.dll"

> I dont know if this has something to do with Interdev or perhaps something
> in my webbserver( Internet Information Server) ???

> The only solution (at the moment) is for me to restart windows, after that
> its OK to update the file ONE more time

> Please...HELP ME!
> /Jonas



Sat, 12 Jan 2002 03:00:00 GMT  
 Can't update VB6 DLL-file after it has been used by Visual Interdev
Jonas,

IIS or PWS is holding on to this DLL.
You will have to Stop the Web Server, update your DLL and Start it again.

This is a big pain.

There is another solution to this problem. You could use MTS instead.
Using MTS - you do not have to Stop and restart the web server everytime the
DLL is updated, instead, it is much easier to stop and start the MTS
package.

--KK


Quote:

> Hi
> I hope someone can help me with this problem.
> I have created a Active X DLL in Vsual Basic 6.0 and then used that
> component in an ASP-page in Interdev. I created a reference to the DLL
with
> "Server.CreateObject" in Interdev. After I used it I have destroyed it
with
> "Set testobject = Nothing"
> The problem is that after I have used the DLL in Interdev I can't go back
to
> VB and make any updates to the DLL-file. When trying to do that I get the
> message : "Permission denied d:\Program\data\testobj.dll"

> I dont know if this has something to do with Interdev or perhaps something
> in my webbserver( Internet Information Server) ???

> The only solution (at the moment) is for me to restart windows, after that
> its OK to update the file ONE more time

> Please...HELP ME!
> /Jonas



Sat, 12 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Can't update VB6 DLL-file after it has been used by Visual Interdev

2. Can't update VB6 DLL-file after it has been used by Visual Interdev

3. Can't update VB6 DLL-file after it has been used by Visual Interdev

4. Can't update DLL-file after it has been used by Visual Interdev

5. Can't update DLL-file after it has been used by Visual Interdev

6. I am trying to update a record, i am not using data control

7. I am trying to update a record, i am not using data control

8. Visual Interdev: 'thisPage' is undefined

9. I am using the Compare MS Project COM Program and having issues

10. 'Canned' data in VB program

11. Visual InterDev and VB6 Webclasses and other tool!

12. Oracle / VB6 / Visual Interdev...

 

 
Powered by phpBB® Forum Software