|
-
Oct 12th, 2001, 08:32 AM
#1
Thread Starter
Member
How to restart the system
Can any one give me the suggestion that, is there any API by whcih i can restart the system.
if yes, then pls send me that code
Bye
-
Oct 12th, 2001, 08:39 AM
#2
PowerPoster
-
Oct 12th, 2001, 08:56 AM
#3
Thread Starter
Member
Hi Amitabh
hi,
Thanks a lot for your code, i need one more favour. can you tell me how can i reeboot my machine aftred my Application is deployed.
Bye
Awaiting for ur reply
-
Oct 12th, 2001, 09:01 AM
#4
PowerPoster
Which Installation Pakage are you using?
-
Oct 13th, 2001, 01:33 AM
#5
Thread Starter
Member
hi, amitab
actually i have developed a application which start as the
system starts, i am using package & delopy wizard, i have created a shortcut in the startup menu now i want when
user will install my package the setup ask to reboot the
machine so that my application will start from startup.
please help me accordingly
Thanks
vbGirl
-
Oct 13th, 2001, 04:48 AM
#6
PowerPoster
Well, with P&D you can modify its source code to reboot at the end of your setup. It doen't give you any other options. The source code is in the same directory where the executable is. If you are comfortable with InstallShield, you can use it with much greater effect for the same purpose.
-
Oct 15th, 2001, 01:15 AM
#7
Thread Starter
Member
hi,
if possible explain me the process,
as i dont know enough about
installshield.....
please help me
vbGirl
-
Oct 15th, 2001, 01:29 AM
#8
PowerPoster
Do you have any installshield versions with you? It comes with VB enterprise Edition as well as MSDN Subscription.
-
Oct 15th, 2001, 03:47 AM
#9
Thread Starter
Member
Hi,
i am having all the softwares, please
just explain how to do.... as i am new
in Visual Basic.
vbGirl
-
Oct 15th, 2001, 04:17 AM
#10
PowerPoster
Installshield has an option to select the project file(.vbp file of your project). The wizard it presents at the startup is quite helpful. Just in few steps you will be able to make a simple setup package. Once you have done that, you will be presented with a list of tasks. Somewhere in the list, you will find "Installshield Extensions". Use this fetaure to run your program at the end of your installation. Or from the "Dialog Box" option in the same list, just force the computer to reboot.
If the process becomes quite complex, just try one step at a time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|