|
|
Subject:
Creating .exe files in Visual Basic
Category: Computers > Programming Asked by: johngl-ga List Price: $15.00 |
Posted:
01 Jun 2004 16:37 PDT
Expires: 01 Jul 2004 16:37 PDT Question ID: 354977 |
I have written a simple viewer in Visual Basic that displays various types of content. I would like to create a new and separate program that would generate self contained (stand alone) .exe versions of that viewer. Each instance would have different content, etc. I would like to give this program to clients so they can create their own versions of my viewer in a wizard driven application. They would use their own content, titles, etc. Where can I go to find information and examples of how to generate self contained (stand alone) .exe files within a Visual Basic application? Thank you for your time. Have a great one. | |
| |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: Creating .exe files in Visual Basic
From: jungleduck-ga on 05 Jun 2004 15:07 PDT |
In VB5/6 I did something very much like this -- built a configuration tool that enabled a user to completely customize an application by simply editing a INI file associated with it. The exe then remains the same, but the user just keeps the appropriately configured setup file in the same directory. Why not try something like this? The end result sounds the same -- a complete customiszed application. In .Net it's easier -- use dynamic properties, which saves initial values to the app.config file. Save everything from file paths, titles, bgcolors, start-up positions -- just about anything you want. |
Subject:
Re: Creating .exe files in Visual Basic
From: jungleduck-ga on 05 Jun 2004 15:11 PDT |
I suppose another option (that I can't really vouch for) would be to store all configuration in strings in the VB app -- maybe buffered strings if regular strings don't work. Then in your new app, copy the original exe, read through the binary file and replace the old configuration strings with the new ones. VB stores strings as plaintext -- this is why it's a always a bad idea to declare usernames/passwords and things like connections strings in a vb app. |
Subject:
Re: Creating .exe files in Visual Basic
From: indraneel-ga on 10 Jun 2004 06:33 PDT |
Alongwith the Visual Studio 6.0 installation there is a tool Package and Deployment wizard. Use that tool to create a distributable installable package. It will create an installable setup file, so that your application can be distributed on computers not having Visual Studio installed. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |