Solved

Command to restart the computer

Posted on 1998-08-11
7
214 Views
Last Modified: 2010-04-30
I am using Windows 95 and I need to know the command which can restart the computer in Visual Basic 5 when I press the command button. Please pass me the command in detail explaining what each phrase does. Besides that, I also want to know how to create a program such way that when I send the data from my house, it should go to my Hotmail server under my login. If that cannot be done, how about storing the data in other terminal such as my college pc. Thank you very much for your answers.
0
Comment
Question by:Xs21
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 

Author Comment

by:Xs21
ID: 1468523
Edited text of question
0
 

Author Comment

by:Xs21
ID: 1468524
Thanks to whoever able to answer my questions.
0
 

Author Comment

by:Xs21
ID: 1468525
Thanks to whoever able to answer my questions.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 14

Accepted Solution

by:
waty earned 120 total points
ID: 1468526
see the following url :
http://www.mvps.org/vbnet/code/shell/undocshelldlgs.htm

there is a complete sample code
0
 
LVL 14

Expert Comment

by:waty
ID: 1468527
another solution simpler for you :

' *** Exit windows with one of the following results. dwReserved = 0
Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long

Public Sub ShutDownWindows(ByVal uFlags As Long)
   ' *** Exit the Windows
   
   Call ExitWindowsEx(uFlags, 0)

End Sub

0
 

Author Comment

by:Xs21
ID: 1468528
You only answered one question? I am using Ms Access. How do I have a database in my college while I'm at home trying to store my assignment in my college pc? I know that I have to be on line. Besides that, what are the coding?
0
 

Author Comment

by:Xs21
ID: 1468529
I wish that my comments are manually checked by the the experts next time instead of just transferring my points just like that to other experts. If this goes on, I'm sure everybody will stop asking questions and will only be answering them just for the points!!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

724 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