Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 3rd, 2003, 01:47 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old June 3rd, 2003, 08:53 PM
Authorized User
 
Join Date: Jun 2003
Location: , , Japan.
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.
Reply With Quote
  #3 (permalink)  
Old June 3rd, 2003, 11:31 PM
Registered User
 
Join Date: Jun 2003
Location: Seremban, Negeri Sembilan, Malaysia.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:33 PM.


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