Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to install a VB6 OCX with Foxpro Installshield Expre
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00691642
Message ID:
00694629
Views:
13
>I'm fairly new to VB, and I've written an OCX in VB6 that is used on VFP 7 forms, and will be distributed to many users for installation. I used the VB 6 Deployment and Setup Wizard to test-install the OCX on a single machine, then installed the VFP app, and it works fine. It appears to install VB runtimes and support files as needed.
>
>Now, how the heck do I include the OCX in the VFP setup.exe using InstallShield Express, without the user doing a separate install for the VB OCX?
>
>Has anyone done this? Any articles or links anyone can refer me to?
>
>TIA!

Don,
You can include the Visual Basic Virtual Machine merge module in your install package. You can inlcude the OCX in your list of files.

The only thing that leaves is registering the OCX. You can do this programmatically from your application using the DllRegsiterServer function in the OCX. If you do a search here, you can find the syntax on how to do this in VFP. You'll need to know where the OCX was installed so I recommend installing it in the same directory as your VFP app.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform