Build statically

Problem:  When I build a program in VC++, I always build it statically (so that the needed dll's are included in the exe-file).
But I cannot find how to do that in VB!
How do I build a program in VB with statically linked libraries??
LVL 2
ToniVRAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TimCotteeHead of Software ServicesCommented:
You cannot build an executable in VB with the libraries included in the exe file. There are really only a couple of solutions to this.

1) Use the Package & Deployment wizard included with VB to create an installable package; this includes all libraries and ocxs etc into a cab file along with an installer stub executable.
2) Use a third party p&d tool such as installshield to achieve the same result as 1) however these third party tools often have greater functionality.
3) Purchase a third party tool such as Fusion from http://www.bit-arts.com this will take a vb executable and convert it so that it can be distributed as a standalone (Static) executable.

Hope this helps
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Guy Hengel [angelIII / a3]Billing EngineerCommented:
As long as you don't use ANY activex or additional components, you can simple copy the vb5.dll / vb6.dll to the application path. As soons as you want to add treeviews or so, you must install the given ocx.

I know there are commercial products that can modify your project so it can be stand-alone...
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
too slow and instable connection...
sorry timcottee
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.