Hi Im using the shell command to run programs within Visual Basic. How to I run pif and lnk files?
Thanks
Printable View
Hi Im using the shell command to run programs within Visual Basic. How to I run pif and lnk files?
Thanks
I believe you can run them with shellexecute api
Code:Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long