Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Missing Component Posted by Lensmeister on 8 Feb 2005 at 7:48 AM
I have made a small database program using Visual Basic 6 Enterprise edition.

After I have compiled and made a exe out of it. When I try to run it I keep getting the following message:

"Run-time error - 339
Component MSADODC.OCX or one of it's dependents not correctly registered or missing or invalid"


Can anyone explain what's gone wrong ? ? ? PLEASE


thanks a lot.
Report
Re: Missing Component Posted by Genjuro on 8 Feb 2005 at 10:28 AM
: I have made a small database program using Visual Basic 6 Enterprise edition.
:
: After I have compiled and made a exe out of it. When I try to run it I keep getting the following message:
:
: "Run-time error - 339
: Component MSADODC.OCX or one of it's dependents not correctly registered or missing or invalid"
:
:
: Can anyone explain what's gone wrong ? ? ? PLEASE
:
:
: thanks a lot.

Seems like the ADO Data Control (or its version) you're using - which is an external OCX, by the way - isn't included in the setup you made for your app, or isn't present on the computer you deployed your EXE on, or COM registration has failed (perhaps due to other missing components it requires).
Report
Re: Missing Component Posted by Lensmeister on 8 Feb 2005 at 1:49 PM
: : I have made a small database program using Visual Basic 6 Enterprise edition.
: :
: : After I have compiled and made a exe out of it. When I try to run it I keep getting the following message:
: :
: : "Run-time error - 339
: : Component MSADODC.OCX or one of it's dependents not correctly registered or missing or invalid"
: :
: :
: : Can anyone explain what's gone wrong ? ? ? PLEASE
: :
: :
: : thanks a lot.
:
: Seems like the ADO Data Control (or its version) you're using - which is an external OCX, by the way - isn't included in the setup you made for your app, or isn't present on the computer you deployed your EXE on, or COM registration has failed (perhaps due to other missing components it requires).
:
THe exe works ok on my laptop but I coiped it to a disc and tried to run it on a desktop. But that was the message I kept getting.

Is there a way to get it to work on the desktop? .. I was wondering if I had to include it in the exe somehow. If I do how do I do it ? ?

THanks.
Report
Re: Missing Component Posted by Genjuro on 9 Feb 2005 at 2:01 AM
: : : I have made a small database program using Visual Basic 6 Enterprise edition.
: : :
: : : After I have compiled and made a exe out of it. When I try to run it I keep getting the following message:
: : :
: : : "Run-time error - 339
: : : Component MSADODC.OCX or one of it's dependents not correctly registered or missing or invalid"
: : :
: : :
: : : Can anyone explain what's gone wrong ? ? ? PLEASE
: : :
: : :
: : : thanks a lot.
: :
: : Seems like the ADO Data Control (or its version) you're using - which is an external OCX, by the way - isn't included in the setup you made for your app, or isn't present on the computer you deployed your EXE on, or COM registration has failed (perhaps due to other missing components it requires).
: :
: THe exe works ok on my laptop but I coiped it to a disc and tried to run it on a desktop. But that was the message I kept getting.
:
: Is there a way to get it to work on the desktop? .. I was wondering if I had to include it in the exe somehow. If I do how do I do it ? ?
:
: THanks.

You can't include it in the EXE (don't get me started pm that, I am so p***ed off that I can't build standalone EXEs in VB that I'd rant for ages), but you can create a setup package which installs that ocx on the desktop; it should suffice.
The "Package and Deployment Wizard" which comes as a VB6 tool is a handy and easy tool to create a setup package, by the way.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.