Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 3rd, 2003, 01:47 PM
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default making an .exe work

i got the program to run on my computer that has vb installed but when i try to run it on another machine using the same .exe it is asking for some .ocx files. both computers are running XP professional.
can anyone help as to what i have to do short of copying all the .ocx files to the computer manually?
is there a way to incorporate these files into the .exe so they load when the file is open?
i am using an ADO control with VB6.
thanks
Doug
 
Old June 3rd, 2003, 08:53 PM
Authorized User
 
Join Date: Jun 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Doug,

I assume you've run the Package and Deployment Wizard to make an install for the program? Although not perfect, it usually picks up any dependencies and puts them into the install package. The OCXs are then installed on the target computer, if they aren't already, when the program is installed.
 
Old June 3rd, 2003, 11:31 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to izchan Send a message via Yahoo to izchan
Default

Try using a installation setup program like install shield or wise installer for distribution purposes.

It should solve the missing ocx things.

or do what I sometimes do, mark down all the .ocx that is required and manually copy it into the system32 folder.

hope this helps.

Never insult seven men if you're only carrying a six shooter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Making serial comm work with SerialPort GMan Visual Basic 2008 Essentials 3 March 7th, 2008 05:32 AM
making special characters work Brian Campbell XSLT 4 January 10th, 2007 03:43 PM
making php work? P.Y.sum Beginning PHP 5 November 5th, 2003 10:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.