Stand alone VB .exe? 
Author Message
 Stand alone VB .exe?

Hi all.
I am having fun going through the interview process for employment now and I
want to put together a CD of the applications I have written.  I want to put
an autorun.inf file on the CD that points to an .exe that will act as a menu
for the installation of the applications.  The .exe file will simply be a
form with three buttons on it and the click events associated with each
button will simply call the shell function to launch the setups for the
three applications.

The question is...  If I build the form in VB I am assuming the using has
the runtime files on their computer right?  Even a simple form with a couple
of buttons requires the runtime files?

I have two options as far as I can tell.  (1) I can write the menu using
VC++ (which I have never used and I don't know how to implement the Shell
function in VC++, anyone, anyone) or (2) I could have the autorun.inf file
point to a batch file that runs a setup program for the menu and then runs
the resulting exe.  Does anyone know how to have a program automatically run
after it is installed?

Thanks so much in advance!

Craig

--

------------------------------------------
Ignorance is only bliss if part of your ignorance is of your ignorance.



Fri, 09 Aug 2002 03:00:00 GMT  
 Stand alone VB .exe?

Quote:
> Hi all.
> I am having fun going through the interview process for employment now and
I
> want to put together a CD of the applications I have written.  I want to
put
> an autorun.inf file on the CD that points to an .exe that will act as a
menu
> for the installation of the applications.  The .exe file will simply be a
> form with three buttons on it and the click events associated with each
> button will simply call the shell function to launch the setups for the
> three applications.

> The question is...  If I build the form in VB I am assuming the using has
> the runtime files on their computer right?  Even a simple form with a
couple
> of buttons requires the runtime files?

Indeed, you are right.

Quote:
> I have two options as far as I can tell.  (1) I can write the menu using
> VC++ (which I have never used and I don't know how to implement the Shell
> function in VC++, anyone, anyone)

There are several options you can use in VC++ to launch your other apps.
For example, you could use the ShellExecute(), CreateProcess(), and other
API calls.  Or, probably the simplest method would be to use the system()
function which is declared in the stdlib.h header file.  Code like this
lanuches Notepad on my computer:

#include <stdlib.h>
#include <windows.h>

int WINAPI WinMain(
  HINSTANCE hInstance,      // handle to current instance
  HINSTANCE hPrevInstance,  // handle to previous instance
  LPSTR lpCmdLine,          // pointer to command line
  int nCmdShow              // window show state
)
{
 system("notepad.exe");
 return 0;

Quote:
};

Howard Henry Schlunder

- Show quoted text -

Quote:
> or (2) I could have the autorun.inf file
> point to a batch file that runs a setup program for the menu and then runs
> the resulting exe.  Does anyone know how to have a program automatically
run
> after it is installed?

> Thanks so much in advance!

> Craig



Sat, 10 Aug 2002 03:00:00 GMT  
 Stand alone VB .exe?

Quote:
> I am having fun going through the interview process for employment now and I
> want to put together a CD of the applications I have written.  

Is this something employers are asking of applicants nowadays?

I have interviewed people at my organization, and we only ask questions
in an interview--we ask the applicant to describe the past applications
he worked on and what he personally developed on them.  We also ask
for a description of the environment--who prepared the program specs,
to what detail, was their direct end user involvement, who wrote
documentation, user guides, etc.  We are not as much interested in
what the person did (though that's important) as how well the person
can _describe_ what he did.  From the descriptions, and a few careful
questions, you can get a pretty good idea if the person is B/Sing or not.

But we never look at past sample work.  For one thing, it may be a violation
of another firm's proprietary products or operations.



Sat, 10 Aug 2002 03:00:00 GMT  
 Stand alone VB .exe?
Or (3) buy a program designed for doing exactly this, such as
Indigo Rose's AutoPlay Menu Studio. We use it, and are very
satisfied with it. You can download a demo version at
http://www.indigorose.com/autoplay/index.html. It won't create a
file that will run on CD (the demo version), but you can see how
it works. Actually, it creates a standard exe file that doesn't
change, along with a configuration file and /data directory that
has all the bitmaps, buttons, text and sounds in it. It costs
about $200, though. I haven't seen any better or cheaper
solutions.

--

~~~~~~~~~~~~~~~~~~~~
"For every action, there is an equal and opposite criticism."


Quote:
> Hi all.
> I am having fun going through the interview process for

employment now and I
Quote:
> want to put together a CD of the applications I have written.  I
want to put
> an autorun.inf file on the CD that points to an .exe that will
act as a menu
> for the installation of the applications.  The .exe file will
simply be a
> form with three buttons on it and the click events associated
with each
> button will simply call the shell function to launch the setups
for the
> three applications.

> The question is...  If I build the form in VB I am assuming the
using has
> the runtime files on their computer right?  Even a simple form
with a couple
> of buttons requires the runtime files?

> I have two options as far as I can tell.  (1) I can write the
menu using
> VC++ (which I have never used and I don't know how to implement
the Shell
> function in VC++, anyone, anyone) or (2) I could have the
autorun.inf file
> point to a batch file that runs a setup program for the menu and
then runs
> the resulting exe.  Does anyone know how to have a program
automatically run
> after it is installed?

> Thanks so much in advance!

> Craig

> --

> ------------------------------------------
> Ignorance is only bliss if part of your ignorance is of your
ignorance.



Sat, 10 Aug 2002 03:00:00 GMT  
 Stand alone VB .exe?
Yes, your 3rd option is the one I ended up going with.  I didn't use the
software you mention though.  I found one on download.com by a group called
peer2peer.  It is shareware and the full version is only like $20.  It
doesn't have many bells and whistles but since I am not using it for
commercial purposes it is free.

Thanks.

Craig


Quote:
> Or (3) buy a program designed for doing exactly this, such as
> Indigo Rose's AutoPlay Menu Studio. We use it, and are very
> satisfied with it. You can download a demo version at
> http://www.indigorose.com/autoplay/index.html. It won't create a
> file that will run on CD (the demo version), but you can see how
> it works. Actually, it creates a standard exe file that doesn't
> change, along with a configuration file and /data directory that
> has all the bitmaps, buttons, text and sounds in it. It costs
> about $200, though. I haven't seen any better or cheaper
> solutions.

> --

> ~~~~~~~~~~~~~~~~~~~~
> "For every action, there is an equal and opposite criticism."



> > Hi all.
> > I am having fun going through the interview process for
> employment now and I
> > want to put together a CD of the applications I have written.  I
> want to put
> > an autorun.inf file on the CD that points to an .exe that will
> act as a menu
> > for the installation of the applications.  The .exe file will
> simply be a
> > form with three buttons on it and the click events associated
> with each
> > button will simply call the shell function to launch the setups
> for the
> > three applications.

> > The question is...  If I build the form in VB I am assuming the
> using has
> > the runtime files on their computer right?  Even a simple form
> with a couple
> > of buttons requires the runtime files?

> > I have two options as far as I can tell.  (1) I can write the
> menu using
> > VC++ (which I have never used and I don't know how to implement
> the Shell
> > function in VC++, anyone, anyone) or (2) I could have the
> autorun.inf file
> > point to a batch file that runs a setup program for the menu and
> then runs
> > the resulting exe.  Does anyone know how to have a program
> automatically run
> > after it is installed?

> > Thanks so much in advance!

> > Craig

> > --

> > ------------------------------------------
> > Ignorance is only bliss if part of your ignorance is of your
> ignorance.



Sat, 10 Aug 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Stand alone *.exe in VB, is it,possible?

2. Stand-alone .exe to convert .doc to .html

3. Stand alone exe.

4. How to get a STAND ALONE EXE FILE ??

5. How to get a STAND ALONE EXE FILE ??

6. Compile Option Achieve Stand Alone EXE?

7. Stand alone Exe's?

8. Running EXE.(QuickBasic4.5) on stand-alone Microcomputer

9. Help: Make an stand alone exe...

10. Stand-Alone .EXE

11. Stand-Alone EXE File

12. Stand Alone EXE ?

 

 
Powered by phpBB® Forum Software