Solved

Command to restart the computer

Posted on 1998-08-11
7
209 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now