Jump to content



Recommended Posts

This does pretty much what _IECreate does, but with alot less code, so it's portable...

It just opens a web page in your browser.

Func _IECreateLite($s_url, $s_filename = "temp_htm_file")
    $f = FileOpen ( $s_filename &".htm", 2 )
    FileWrite( $f, '<html><head><meta http-equiv="Refresh"content="0;url='& $s_url &'"></head><body></body></html>')
    Run(@comspec & ' /c start ' & $s_filename &".htm" , '', @SW_HIDE)

; Example of usage

Link to comment
Share on other sites

Well actually this opens windows media player for me O.o

My programs:[topic="40019"]Sudoku[/topic], [topic="41258"]Suitcase game & Random jokes[/topic], [topic="41641"]8 Queens[/topic], [topic="41679"]Puzzle Generator[/topic], [topic="42045"]Snake[/topic]My UDFs:[topic="41309"]Prime functions & Prime game[/topic]Other:Fake emailer
Link to comment
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

  • Recently Browsing   0 members

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