When i run my exe program. The windows display MSINET.OCX is missing. I only copy the exe to the user. Do i need to copy the MSINET.OCX to the user too? Or any good method?
Use an Installer package to make sure that all dependency files are included. The simple and obvious choice is the VB Packaging and Distribution Wizard (Add-Ins|P & D W) or MSInstaller. It's a free download from MS here:
I can't help noticing that although you've asked 11 questions to date, you've only acknowledged 4 answers, and you haven't marked any of the answers as helpful/expert. If the answers work for you, let us know in an appropriate manner. If they don't, also let us know so we can maybe refine our answers.
Read faq222-2244 either way - it may help you ask better questions, and get better answers
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
Not only to you need to copy the file to the user's machine, you need to register it as well (using regsvr32).
(And not only that control, either, if the user hasn't got the VB Runtimes installed!)
This is basically so that Windows knows of the files wherabouts and how to use it. The reason to use an installer like the Install and Package Wizard is that it'll analyse your Project and bundle up the files/dll's/control that you use and automatically register them when running setup.
When you run your exe, it calls for functions in the various depenency files. If it can't find them, it'll crash an' burn!
If you don't want to use an installer you can try copying the necessary files to the program's install directory and hope that the system picks them up, but I wouldn't advise it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.