|
-
Mar 15th, 2000, 04:27 AM
#1
Thread Starter
New Member
How do you register and unregister DLL and OCX files to the system.
-
Mar 15th, 2000, 05:19 AM
#2
Member
When you compile a DLL it is automatically registered in the registry. You can also register it manually by typing this into the RUN box (START -> RUN):
REGSVR32 <full path to DLL>
IE if you have a DLL called 'mydll.dll' in the root drive of your machine it would be:
REGSVR32 C:\mydll.dll
To unregister a DLL, use:
REGSVR32 /U <full path to DLL>
Word of caution: Before you delete or move any ActiveX component you create, make sure to un-register it first. If you delete one without unregistering it, the registry will still contain an entry for it, even though it no longer exists. This also means your VB References will contain a reference to an invalid ActiveX component (can get messy).
-
Mar 16th, 2000, 04:13 AM
#3
Thread Starter
New Member
Thats not what i meant, this is a place for DEVELOPMENT, how do i do it PROGRAMICALLY!!!!!!!! how to i register another dll that i didn't create such as msvbvm.dll WITHOUT using a setup wizard in vb
-
Mar 16th, 2000, 05:54 AM
#4
Addicted Member
Learn some manners if someone tries to help you; if it's not the right answer so what -- wait for someone else to reply. You are very rude!!! Were you intending to sound this way?
-
Mar 16th, 2000, 08:56 AM
#5
Addicted Member
You've never mentioned to have it "programically".
Also please avoid in using upper case for the whole word,
it sounds like you're shouting at someone.
What a non professional.
-
Mar 16th, 2000, 04:27 PM
#6
Lively Member
Just call regserve from the program with the correct params
-
Mar 16th, 2000, 05:38 PM
#7
Hyperactive Member
check out www.codeguru.com/vb there's a sample around how to register compononents in code *without* shelling an app like regsvr32 (thus really in code...)
By the way, you better use a setup since you might need to reboot during setup in order to install that ole dll's stuff, which you can't without booting since windooz is using them.
-
Mar 17th, 2000, 03:35 AM
#8
Thread Starter
New Member
Sorry about that people but i was placing EMPHASIS not hollering
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|