Google Answers Logo
View Question
 
Q: Creating .exe files in Visual Basic ( No Answer,   3 Comments )
Question  
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.

Request for Question Clarification by palitoy-ga on 02 Jun 2004 07:22 PDT
Hello Johngl

Are you looking for a program to make an installation file for your
program or something else?  I have some experience with creating .exe
files from VB projects and I can provide an answer detailing the
software I have used for this.

Please let me know if this is acceptable.

Clarification of Question by johngl-ga on 02 Jun 2004 12:42 PDT
I'm not looking to create an installation program.  I looking to
create different instances of the viewer I've create.  For example my
viewer will display document A.  I want a program that will change
that data within the exe file and create a new exe file.  I want to
create another program that will allow users to plug in their
document, title, etc. and then create an whole new exe.

Clarification of Question by johngl-ga on 10 Jun 2004 13:10 PDT
Just for clarification, I am NOT looking for an installation program
in any way.  I'm looking to generate exe files from my VB code.  I
want to create the exe files not have something else create them.  No
install programs please.  Thanks for your time.  Have a great one.
Answer  
There is no answer at this time.

Comments  
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.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy