calling the Run command in windows is not really on option in vb.net how ever you can call any exe via System.Diagnostics.Process()
dim proc as new system.diagnostic.process()
dim x as integer
'assign a button so that you can click and a inputbox will prompt and you can try to type:
'notepad,cmd,calc to prove
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
x = inputbox("run exe","run")
proc = process.start(x)
@zinnqu - Why is it not an option? I've seen other VB.NET compiled programs that can call it. They just didn't show the code.
What I have given you is the "run command". What others do is create their own.the task bar is a sealed class. If you read the code you have every ething that you need to create a run command that would run every thing you want, even api commands that windows already uses. (notepad,cmd, whatever)
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...