self contained app 
Author Message
 self contained app

I want a VB app that can run off of CD without an install. Is this
possible? Can you make it so the app looks for its .dll's on the CD
without them being installed on the system?

Thanks,
andrew



Fri, 09 Feb 2001 03:00:00 GMT  
 self contained app
I suppose this is possible, but I've never tried it. When VB starts, it
looks for DLLs it needs in the application directory, and if that's on a CD,
so be it. You may want to make provisions for the INI file to exist in the
Windows directory so that users can have personalized settings if necessary.
That part will require you write the code so that if it does not find an INI
file, it will use "default" values and create a new INI file in the
specified directory, as necessary.

Chris Stamey
--------------------
http://www.Farther.com/VBAnswerNetwork

I want a VB app that can run off of CD without an install. Is this
possible? Can you make it so the app looks for its .dll's on the CD
without them being installed on the system?

Thanks,
andrew



Sat, 10 Feb 2001 03:00:00 GMT  
 self contained app
There are only limited circumstances where this can be made to work.  Any
use of an ActiveX control (an OCX), that's not part of Windows, or of a
ActiveX server (such as many but not all DLLs) require that the component be
registered before being run.  This is part of the job of an installation
program.

If you don't use any OCXs or ActiveX servers, such as DAO, then a compiled
program has a good shot at running off the CD.  Otherwise, you either have
to install it or have your code do what the install program was going to do
in the first place.

You can have your install leave the program on the CD.  I don't think the
Setup Wizard does this, so you may have to use another setup program.

Quote:

>I want a VB app that can run off of CD without an install. Is this
>possible? Can you make it so the app looks for its .dll's on the CD
>without them being installed on the system?

>Thanks,
>andrew



Fri, 16 Feb 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VB 4.0 Self Contained Executable

2. VB 4.0 Self Contained Executable

3. Self-updating VB App...is it possible?

4. Self updating VB app...is it possible?

5. fso.delete(self) - how to refer to self?

6. execute module contained in ms access from vb-app

7. Package self extract, self install, and then run the app?

8. Package self extract, self install, and then run the app?

9. Help w/SQL that contains variables that contain a single quote

10. Could you close a window who has done: onload="if (self != top) top.location = self.location

11. DBCOMBO DATABSE HELP...Self Taught Idoit now seeing the Error in "Self-Taught"

12. Self Joins Question

 

 
Powered by phpBB® Forum Software