Go Premium for a chance to win a PS4. Enter to Win

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

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??
  • 2
1 Solution
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
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...
Guy Hengel [angelIII / a3]Billing EngineerCommented:
too slow and instable connection...
sorry timcottee

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now