PDA

Click to See Complete Forum and Search --> : running component without registering DLL in Win2K


neil barter
Feb 25th, 2002, 11:47 AM
Hi There!
has anyone come across this one before? I am using VB6 & ASP. I am trying to initialise a component I have written to interact with data from a DB (non ADODB connection, it has a data-engine of it's own, but this is irrelevant I reckon). The component runs fine on it's own without regsvr32 -ing the dll, as long as I run it in VB, but only in Windows 98. I have moved everything across to a win2000 server, and cannot run the component straight from VB - which takes away all debug facilities, and means recompiling the DLL all the time....painful!! Has anyone any suggestions on why this might be happening? When I regsvr32 the dll, it works just fine, but I want to run it from VB for development purposes as you can probably imagine.
The errors I get are 'permission denied' type errors when trying to create

**set objCon = CreateObject("ComponentName.Name")**

please help if you can!!

thanking you in advance

Neil B