Sign in to follow this  
Followers 0
ojef1

Quick Question

5 posts in this topic

New to this, if I wanted to simply open an internet explorer browser window, why won't

Run("iexplore.exe")

work? I've tried different capitalizations, and if I do

Run("Notepad.exe")

it works fine, so I assume it has to do with the filepath maybe? I know this is trivial but it would help get me started with what I'm trying to do. Thanks.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

~

Edited by Mobius

Share this post


Link to post
Share on other sites

Thanks alot that makes sense...it's what i was thinking i just didn't know what to do about it...it's very picky about the little things apparently as well, but i got it working now.

Is there any way to view error messages to help with the debugging process?

Share this post


Link to post
Share on other sites

Is there any way to view error messages to help with the debugging process?

$Run = Run(@ProgramFilesDir & '\Internet Explorer\IEXPLORE.exe')
If @error > 0 Then
    MsgBox(0, '', 'There was an error', 1)
Else
    Sleep(2000)
    MsgBox(0, 'Launched', 'PID of the process is: ' & $Run, 2)
EndIf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0