?
Solved

I want to restart the pc automatic when i am opening the application

Posted on 2006-04-15
2
Medium Priority
?
152 Views
Last Modified: 2010-05-01
Hello everybody.. i am newbie here

I want to restart the pc automatic when i am opening the application! please help
0
Comment
Question by:KingSencat
2 Comments
 
LVL 37

Accepted Solution

by:
Harisha M G earned 2000 total points
ID: 16461134
Hi,

Put this statement in the Form_Load event handler:

Shell "shutdown /r"

---
Harish
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month15 days, 19 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question