HUH ???? !!!
question was : Cannot execute .exe from .NET
So what is wrong with my answer ???
Please explain ?
Because as you were letting me feel stupid with your big NO ! to this hole
comunity i think i deserve an explanation
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim myproc As System.Diagnostics.Process
myproc = New System.Diagnostics.Process
' Do not receive an event when the process exits.
myproc.EnableRaisingEvents = False
' Start Internet Explorer, passing in a Web page.
myproc.Start("notepad.exe")
End Sub
i would not now anny reasson why this code wouldn`t be valid
As this code is in the field known as the replacement for the shellexecute
API
as this code was recomended as a replacement for the shellexecute api by
ALLAPI.net
as this code appears in MSDN as a valid code to execute external programs or
asociations ( like a web adres or mailto command )
' Start Internet Explorer, passing in a Web page.
myproc.Start("IExplore.exe",
http://www.microsoft.com)
your answer
No! 'Start' is a /shared/ method of 'Process' that will /return/ a
So what ??? does this mean i can`t start a external exe from .net with it ??
cause then i and a few thousand other developers in the world have a special
kind of computer cause on mine it does work flawless