Solved

Static Linking in VB?

Posted on 1997-12-09
1
142 Views
Last Modified: 2008-03-06
I am trying to write a program in VB 5 to run from a floppy, without installing it on the user's computer. It uses several GIF and JPEG files. The program can't run from the diskette, so I need to perform a Static Link on the project. This appears to be impossible in VB, althoug I know C++ can do it. I am looking for a way to turn my project into a standalone EXE file, by finding a product that can do this, or converting it to C++ or Java using a converter product. These products are expensive, so I would like to ask if anyone knows how to do this.
0
Comment
Question by:danfm
1 Comment
 
LVL 4

Accepted Solution

by:
rantanen earned 100 total points
ID: 1444468
With VB you are out of luck...no static linking. If you want to stay with Basic and don't mind somewhat arcaic (like good old C-days)  way of writing Windows programs, you might consider PowerBASIC/DLL. It is great product to turn parts of your VB code to *real* DLL's callable from any programming language, but it can also produce standalone EXE's.

I'm in no way connected to the company, just a happy user.

Current price seems to be $179 for 32-bit vesion and $60 for 16-bit version. Check their site at

http://www.powerbasic.com/
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question