Jump to content

Recommended Posts

Posted

I'm made a simple program to run internet explorer, but it won't run it, actually, the only thing i can run with the RUN command is notepad, heres my code:

Run("iexplorer", "C:\Program Files\Internet Explorer", @SW_MAXIMIZE)

Is there something wrong with this?

  • 5 months later...
Guest Duc_john
Posted

Here's an other possibility:

; Activte Webpage

$Browser = "rundll32 url.dll,FileProtocolHandler"

$URL = "http://www.mvnoordenveld.nl/"

$Launch = "START /MIN " & $Browser & " " & $URL

Run(@ComSpec & " /c " & Chr(34) & $Launch & Chr(34), "", @SW_MAXIMIZE)

(Not my own invention but found it somewhere)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...