Solved

Command to restart the computer

Posted on 1998-08-11
7
208 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

759 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