Hi guys!
I am trying to execute a link in my Visual Basic program but I don't know
how I could do that.
If for instance I want to execute a .exe I can do the following and it works
fine:
Dim oProcess As New Process
With oProcess.StartI nfo
.FileName = "C:\MYEXE.E XE"
.Arguments = ""
.WindowStyle = ProcessWindowSt yle.Hidden
End With
With oProceso
.Start()
.WaitForExit()
End With
May anyone please tell my how to execute a .lnk file that it's pointing to
a .exe file
Thanks in advance!
I am trying to execute a link in my Visual Basic program but I don't know
how I could do that.
If for instance I want to execute a .exe I can do the following and it works
fine:
Dim oProcess As New Process
With oProcess.StartI nfo
.FileName = "C:\MYEXE.E XE"
.Arguments = ""
.WindowStyle = ProcessWindowSt yle.Hidden
End With
With oProceso
.Start()
.WaitForExit()
End With
May anyone please tell my how to execute a .lnk file that it's pointing to
a .exe file
Thanks in advance!