|
-
Aug 23rd, 2000, 11:32 AM
#1
Thread Starter
New Member
This may be a commonly known answer, but I am stuck with
the following problem.
How can I automate the registration of a DLL used by a VB program ? Otherwise the user sees an error which says something like - "can't create an ActiveX object".
Thanks.
-
Aug 23rd, 2000, 11:47 AM
#2
Make a copy of RegSvr32.exe
include it in your zip/setup file, then use Shell and the proper command line parameters(the path of the dll) to register it,
you can also use a Batch(*.Bat) and RegSvr32 to register it.
-
Aug 23rd, 2000, 12:19 PM
#3
Thread Starter
New Member
Thanks for your suggestion.
I was initially thinking of using the 'shell' option. But I am not seeing this problem on all the PCs. So instead
I have included the 'COMContextMenuRegister.reg' file along
with the DLLs so that the user can run this program to get
the 'self register' in their RMB menu.
Do you have any experience using 'COMContextMenuRegister.reg' file ?
-
Aug 23rd, 2000, 01:06 PM
#4
Take a look at this thread which I showed how to do it through VB or using Shell.
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
|