A library for executing command line commands in the Visual Basic programming language
- Made in year = February 2016
-----------------------------------------------
- .NET Framework = 4.5.1
- Visual Basic = VB.NET 14.0
- Micrsoft Visual Studio = VS 2012
1 - Commands should be just like command line commands
1 - Add the library to the project by reference (WinForms - WPF - Console Application)
2 - Import CMDExecute namespace
3 - Create an instance of the Executor class
4 - Call the ExecuteAsync function on the created instance
5 - Give the function a string parameter as a command line command (For example = "start notepad") 1 - Import Namespace
Imports CMDExecute
2 - Class Instantiation
Dim ex As Executor = New Executor()
3 - Function Call
ex.ExecuteAsync("start notepad")
Full Code
Imports CMDExecute
Module Program
Sub Main()
Dim ex As Executor = New Executor()
ex.ExecuteAsync("start microsoft.windows.camera:")
Console.ReadKey()
End Sub
End Module