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
Printable View
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
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.
So if i take the commom dialog box, the error will disappear?
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).