Need some help with Visual Basic
So all I need to know is how to call an external program via VB. I am using the code below but it says file not found. The file is there without a doubt. I am thinking I am writing the right path to the file. I am just using the same path format that the registry uses. Thanks
Code:
Shell("\Program Files\Opera Mobile\OperaL.exe") |
Re: Need some help with Visual Basic
if you're trying to call this from the C:\ drive, you need to put (C:\Program Files\Opera Mobile\OperaL.exe")
alternatively you can Code:
Dim OperaPath, WSHShell |
Re: Need some help with Visual Basic
Quote:
My bad. This is for a pocket pc app. I probably should have mentioned that in my original post |
Re: Need some help with Visual Basic
Quote:
try Code:
Run("Program Files\Opera Mobile\OperaL.exe") Code:
Shell("Program Files\Opera Mobile\OperaL.exe") |
All times are GMT -4. The time now is 09:04 PM. |
Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com