answersLogoWhite

0

The code for shutting down computer in visual basic?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

The code is:

shell ("shutdown -s")

That code should work for you.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: The code for shutting down computer in visual basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a visual basic code?

Visual Basic code is a program or library that has been written using the Microsoft Visual Basic programming language.


What is Visual Basic Editor?

There have been many versions of Visual Basic. It is a program which allows you to write other computer programs. Each version of Visual Basic has come with an editor to allow you to write and edit code. This is called the "IDE", or "Integrated Development Environment".


What is the mening of basic in visual basic?

Basic in Visual Basic stands for Beginner's All-purpose Symbolic Instruction Code.


How do you codify in excel?

Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.


What is the name of the basic computer code?

basic


What is a source code in Visual BASIC?

In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.


Abbreviation for the word 'basic' in visual basic?

Beginner's All-purpose Symbolic Instruction Code


Code for Secant method please in visual basic 2008?

855193


What is the code of cube root in visual basic?

x ^ (1 / 3)


What does BASIC stand for in Visual Basic?

Beginner's All-Purpose Symbollic Instruction Code


Can Visual Basic 6.0 open a Visual Basic 5.0 project?

No, you will need to create a new project and add the code files to the new project. Yes, but you made need to make some changes to the code


How do you use or integrate c plus plus code in visual basic 6?

You can't integrate C++ source code directly into Visual Basic code. In order to make use of code written in another language, including C++, you must compile that source to produce a DLL. You can then link to that DLL via Visual Basic. The only caveat is that you must replace the C++ data types in the function declarations with the equivalent Visual Basic data types, such as 'Byte' for a C++ unsigned char, or 'Single' for a C++ float.