?
Solved

Command to restart the computer

Posted on 1998-08-11
7
Medium Priority
?
217 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Accepted Solution

by:
waty earned 360 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

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

741 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