943,752 Members | Top Members by Rank

Ad:
Oct 26th, 2005
0

Running a VB app on pc without VB installed

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
robbie_j0 is offline Offline
4 posts
since Oct 2005
Oct 26th, 2005
0

Re: Running a VB app on pc without VB installed

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.
Reputation Points: 11
Solved Threads: 2
Junior Poster in Training
w00dy is offline Offline
70 posts
since Jun 2005
Oct 28th, 2005
0

Re: Running a VB app on pc without VB installed

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)
Reputation Points: 13
Solved Threads: 4
Junior Poster
Kegtapper is offline Offline
115 posts
since Oct 2005
Oct 30th, 2005
0

Re: Running a VB app on pc without VB installed

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
Reputation Points: 16
Solved Threads: 19
Practically a Master Poster
Thong_Ispector is offline Offline
638 posts
since Nov 2004
Dec 9th, 2005
0

Re: Running a VB app on pc without VB installed

Did you ever complete that?
Reputation Points: 13
Solved Threads: 4
Junior Poster
Kegtapper is offline Offline
115 posts
since Oct 2005
Mar 24th, 2006
0

Re: Running a VB app on pc without VB installed

you have to register msadodc.ocx on the system without vb
Reputation Points: 10
Solved Threads: 0
Newbie Poster
achilles8 is offline Offline
3 posts
since Mar 2006
Mar 26th, 2006
0

Re: Running a VB app on pc without VB installed

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, 161 views)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Firstsoft is offline Offline
1 posts
since Mar 2006
Mar 28th, 2006
0

Re: Running a VB app on pc without VB installed

thanks !!!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
achilles8 is offline Offline
3 posts
since Mar 2006
Jun 19th, 2008
0

Re: Running a VB app on pc without VB installed

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
romel_abed is offline Offline
1 posts
since Apr 2007
Jun 21st, 2008
0

Re: Running a VB app on pc without VB installed

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.
Reputation Points: 193
Solved Threads: 25
Posting Pro
Jishnu is offline Offline
518 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Upgradation of an Application Package inVB 6.0
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: VB6 Package and deploy with access 2007





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC