Home All Groups Group Topic Archive Search About

Automatic running of exe while system restarts

Author
23 Mar 2006 7:26 AM
rohini.pillai
Hi all,
  Iam now facing a problem.i want to make an exe to run automatically
if the system restarts.
It is a visual basic exe.It has got many forms in it. i need to do
programatically  the automatic running of exe.
I was planning to put the exe in startup folder so that the exe will
run, while system restarts.
But i dont know how to do the coding for that.
Please provide me with some code samples to do the automatic running of
exe in visual basic
Expecting anyones reply soon.
Thanks alot  for ur attention
Rohini.Pillai

Author
23 Mar 2006 10:29 AM
Dave
Put a shortcut (never the executable) into the StartUp group or place an
entry in the Run section in the registry.
This is a function of the installer not the application. Look at you
installation set up configuration, if there is no way to get it to put a
shortcut into StartUp or to modify the registry, look at a different
installer, there are several to choose from.

Dave O.

<rohini.pil***@gmail.com> wrote in message
Show quoteHide quote
news:1143098766.429633.312210@g10g2000cwb.googlegroups.com...
> Hi all,
>  Iam now facing a problem.i want to make an exe to run automatically
> if the system restarts.
> It is a visual basic exe.It has got many forms in it. i need to do
> programatically  the automatic running of exe.
> I was planning to put the exe in startup folder so that the exe will
> run, while system restarts.
> But i dont know how to do the coding for that.
> Please provide me with some code samples to do the automatic running of
> exe in visual basic
> Expecting anyones reply soon.
> Thanks alot  for ur attention
> Rohini.Pillai
>