Running a VB app on pc without VB installed

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2005
Posts: 4
Reputation: robbie_j0 is an unknown quantity at this point 
Solved Threads: 0
robbie_j0 robbie_j0 is offline Offline
Newbie Poster

Running a VB app on pc without VB installed

 
0
  #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
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Re: Running a VB app on pc without VB installed

 
0
  #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 Quick reply to this message  
Join Date: Oct 2005
Posts: 113
Reputation: Kegtapper is an unknown quantity at this point 
Solved Threads: 4
Kegtapper's Avatar
Kegtapper Kegtapper is offline Offline
Junior Poster

Re: Running a VB app on pc without VB installed

 
0
  #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 Quick reply to this message  
Join Date: Nov 2004
Posts: 638
Reputation: Thong_Ispector is an unknown quantity at this point 
Solved Threads: 18
Thong_Ispector's Avatar
Thong_Ispector Thong_Ispector is offline Offline
Practically a Master Poster

Re: Running a VB app on pc without VB installed

 
0
  #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 Quick reply to this message  
Join Date: Oct 2005
Posts: 113
Reputation: Kegtapper is an unknown quantity at this point 
Solved Threads: 4
Kegtapper's Avatar
Kegtapper Kegtapper is offline Offline
Junior Poster

Re: Running a VB app on pc without VB installed

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

Re: Running a VB app on pc without VB installed

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

Re: Running a VB app on pc without VB installed

 
0
  #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, 54 views)
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 3
Reputation: achilles8 is an unknown quantity at this point 
Solved Threads: 0
achilles8 achilles8 is offline Offline
Newbie Poster

Re: Running a VB app on pc without VB installed

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

Re: Running a VB app on pc without VB installed

 
0
  #9
Jun 19th, 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 Quick reply to this message  
Join Date: Oct 2006
Posts: 514
Reputation: Jishnu will become famous soon enough Jishnu will become famous soon enough 
Solved Threads: 26
Jishnu's Avatar
Jishnu Jishnu is offline Offline
Posting Pro

Re: Running a VB app on pc without VB installed

 
0
  #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 1: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 Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4566 | Replies: 9
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC