ocx files????

gotenks007
11-25-2001, 10:34 PM
i wrote this program which uses some microsoft ocx files like common dialog and windows common controls and when i compile the exe and send it to people it says that it cannot run because there missing the ocx file.

robot313
11-25-2001, 10:38 PM
Use the Package and Deployment Wizard that comes with VB to make a setup program for your program. It will install all the files that your program needs. You could also use Inno Setup. Link here. (http://www.innosetup.com)

orufet
11-25-2001, 10:40 PM
An ocx file is an ActiveX control. Any ActiveX control you include within your program must be present on the computer running your program. Instead of just sending people the exe file (which I suspect you are doing), create a setup file with the Package and Deployment Wizard, which ships with VB. When you create your setup file, include the required ocx and dll files. This will install the files on the target machine so that they can be used in your program.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum