|
-
Feb 8th, 2008, 09:17 AM
#1
Thread Starter
Lively Member
Check if a OCX or DLL is registered.
I've build a addin that needs two references in order to run:
MSOWC.dll & Msflxgrd.ocx
These files sometimes aren't present on some of the PC's that will use my addin, so how do I check that they are registered?
Something like:
VB Code:
If ReferenceExists("MSOWC.dll") = False Then
msgbox "False"
Call RegisterRef("MSOWC.dll") ' Register reference
Else
msgbox "True"
End If
Is there a way of using Regsvr32.exe in V6B code?
-
Feb 8th, 2008, 09:47 AM
#2
Re: Check if a OCX or DLL is registered.
Package your addin in an installation and setup package that includes both of these files.
That will both load and register them for you.
-
Feb 8th, 2008, 10:47 AM
#3
Thread Starter
Lively Member
Re: Check if a OCX or DLL is registered.
I've built my comm addin in VB6, after compiling it the end result is a DLL file.
(Made for Outlook 2003).
How do I create a "installation and setup package" for a DLL COMM add-in?
-
Feb 8th, 2008, 11:46 AM
#4
Re: Check if a OCX or DLL is registered.
It doesn't really matter what the product is, you can use an installer to install anything.
Use either the Package and Deployment Wizard or Inno.
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
|