Open a webpage...

Blitz3D Forums/Blitz3D Programming/Open a webpage...

I'm making a graphics selection program to put at the start of my games and I want to add a button that takes the user to my website. How can I do this?

Try using ExecFile, ie: ExecFile "www.blitzbasic.com"

i think you may need http:// (not sure)

http://www.blitzbasic.com/Community/posts.php?topic=64543

Thanks for the help. Still can't get it to work tho. Opens a blank internet window...

Site$ = Chr(34)+"http://www.blitzbasic.com"+Chr(34)
Print "Press key to go to " + Site
WaitKey()
ExecFile Site
End


It is working here fine...

That could be more a matter of which browser you are using and how it is set up. I ran the code, and it works.

Thanks for testing it. I guess it's just my browser then. I'm using Internet Explorer 6. Lol guess I need to upgrade ;)

Try it without adding quotes to either side of your URL. They're not needed and some browsers may not like then and others just ignore them.