User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 423,633 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,227 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 3179 | Replies: 9
Reply
Join Date: Oct 2005
Posts: 4
Reputation: robbie_j0 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
robbie_j0 robbie_j0 is offline Offline
Newbie Poster

Help Running a VB app on pc without VB installed

  #1  
Oct 26th, 2005
Hi everyone,

I have written an application to communicate with an Access database. Everything works fine when i compile it. I can run the compiled .exe file on the pc which has VB 6 installed but when i transfer to a pc that does not have a copy of VB on it, the file will not run. It gives an error saying MSADODC.OCX not found or not registered.
I copied this file from my other pc into the \\windows\system32 folder but then another file was missing.
Is there something i can do other than install copy of VB.

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Re: Running a VB app on pc without VB installed

  #2  
Oct 26th, 2005
After you compiled your project with 'Make', did you use the Package and Deployment Wizard? This collects any dependancy files (.DLL, .OCX etc) and includes them in an Install package.

Just copying the .EXE file to another PC isn't going to work.
Reply With Quote  
Join Date: Oct 2005
Location: Charlotte,NC
Posts: 92
Reputation: Kegtapper is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
Kegtapper's Avatar
Kegtapper Kegtapper is offline Offline
Junior Poster in Training

Re: Running a VB app on pc without VB installed

  #3  
Oct 28th, 2005
Check your controls in the app!

You can put all the controls used in the same directory as the program.
That folder is checked first before the Windows or Windows System folder. This also reduces the chance of DLL conflict, and/or overwriting their DLL's. if they choose to uninstall (assuming you have an installer created)
Reply With Quote  
Join Date: Nov 2004
Posts: 638
Reputation: Thong_Ispector is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 18
Thong_Ispector's Avatar
Thong_Ispector Thong_Ispector is offline Offline
Practically a Master Poster

Solution Re: Running a VB app on pc without VB installed

  #4  
Oct 30th, 2005
I just wanted to clarify that you dont have to install VB...
You just need the runtime module...
as in: vbrun50.exe or vbrun60.exe
Reply With Quote  
Join Date: Oct 2005
Location: Charlotte,NC
Posts: 92
Reputation: Kegtapper is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
Kegtapper's Avatar
Kegtapper Kegtapper is offline Offline
Junior Poster in Training

Re: Running a VB app on pc without VB installed

  #5  
Dec 9th, 2005
Did you ever complete that?
Reply With Quote  
Join Date: Mar 2006
Posts: 3
Reputation: achilles8 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
achilles8 achilles8 is offline Offline
Newbie Poster

Re: Running a VB app on pc without VB installed

  #6  
Mar 24th, 2006
you have to register msadodc.ocx on the system without vb
Reply With Quote  
Join Date: Mar 2006
Posts: 1
Reputation: Firstsoft is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Firstsoft Firstsoft is offline Offline
Newbie Poster

Re: Running a VB app on pc without VB installed

  #7  
Mar 26th, 2006
Hello
you must collects any dependancy files (.DLL, .OCX etc) and includes them in an Install package.
use my free tool in Attach ... it's free to use
and you need to register ocx & dll with any setup program
you can use my free setup too
http://www.4shared.com/file/1069078/...Firstsoft.html

good luck
Attached Files
File Type: zip Project1.zip (10.9 KB, 47 views)
Reply With Quote  
Join Date: Mar 2006
Posts: 3
Reputation: achilles8 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
achilles8 achilles8 is offline Offline
Newbie Poster

Re: Running a VB app on pc without VB installed

  #8  
Mar 28th, 2006
thanks !!!
Reply With Quote  
Join Date: Apr 2007
Posts: 1
Reputation: romel_abed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
romel_abed romel_abed is offline Offline
Newbie Poster

Re: Running a VB app on pc without VB installed

  #9  
Jun 18th, 2008
Dear

I am facing the same problem. Did u guyz get d solution of it?

can u tell me the whole procedure, plz?

My program is in VB and database is in MS ACCESS.

Regards

Abed
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 514
Reputation: Jishnu will become famous soon enough Jishnu will become famous soon enough 
Rep Power: 4
Solved Threads: 25
Jishnu's Avatar
Jishnu Jishnu is offline Offline
Posting Pro

Re: Running a VB app on pc without VB installed

  #10  
Jun 21st, 2008
The solution is already given in the previous posts... Wonder why the OP didn't get back.
Last edited by Jishnu : Jun 21st, 2008 at 12:02 pm.
"You know you're a computer geek when you try to shoo a fly away from the monitor screen with your cursor. That just happened to me. It was scary." - Juuso Heimonen.

"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 9:55 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC