|
-
Jan 21st, 2008, 10:24 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Missing ocx
When i send the .exe made by vb, and my friends try to run it throws error, of missing ocx component. Why is that? The problem started just after i added a common dialog box...is that the problem??
Thank You
-
Jan 21st, 2008, 10:44 PM
#2
Re: Missing ocx
Yes that's the problem. You should create an installer and send it to your friends (which will include all required OCX, DLL's etc....) whenever you create a new EXE.
-
Jan 22nd, 2008, 05:03 PM
#3
Thread Starter
Addicted Member
Re: Missing ocx
So if i take the commom dialog box, the error will disappear?
-
Jan 22nd, 2008, 05:31 PM
#4
Re: Missing ocx
Not just the common dialog - all of the components/references that your program needs (which includes some standard ones that all VB programs need).
The best way to do that is to create an installation package, using a tool like Package & Deployment Wizard that comes with VB, or one of the many others that are available (several of which are listed in our Application Deployment FAQ, along with several articles that may help you).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|