Havent used shell before but why isn't this working.
Says App is not declared.VB Code:
Shell (App.Path & "/program.exe")
Printable View
Havent used shell before but why isn't this working.
Says App is not declared.VB Code:
Shell (App.Path & "/program.exe")
App does not exist in VB.NET. My advice to VB6 users making the switch is to assume that everything is different and if something turns out to work the same way then consider it a bonus. Use this:VB Code:
Process.Start(Application.StartupPath & "\program.exe")
you shouldnt use that function, I think it's just there for backwards compatibility
use Process.Start ("programname here")
also, Application.StartUpPath is most likely what you're looking for
Thank you both..