Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX problem

Status
Not open for further replies.

SDS100UK

MIS
Jul 15, 2001
185
GB
Hi,
I have created a form using a Crystal reports ActiveX control. I tried to open the form on another PC and the activeX is not there!"
What is the procedure to make sure anyone who opens the DB can use the ActiveX control??

TIA

Steven
 
1. Locate the file containing the ActiveX control (filename.ocx, I guess).
2. Create a batch file which:
- Copy the ActiveX component to C:\WINDOWS\SYSTEM of the PC
- Register the ActiveX component
(regsvr32 -s c:\windows\system\<file.ext>
this sets the necessary registry settings, the -s means silent so you will so no notification.
3. Start the database



 
Ok,

Now all I need to kow is how to create a batch file in MS Access

Any clues??

Thanks

Steven
 
I didn't mean you should create a batch file in Access, but just a DOS batch file, something like this

example activex.bat
copy filename.ext c:\windows\system\*.*
regsvr32 -s c:\windows\system\<file.ext>
<path>\msaccess.exe <path>\<database filename>

Hope this helps....


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top