Open a webpage...

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

JA2(Posted 2007) [#1]
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?


b32(Posted 2007) [#2]
Try using ExecFile, ie: ExecFile "www.blitzbasic.com"


D4NM4N(Posted 2007) [#3]
i think you may need http:// (not sure)


Yan(Posted 2007) [#4]
http://www.blitzbasic.com/Community/posts.php?topic=64543


JA2(Posted 2007) [#5]
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



mindstorms(Posted 2007) [#6]
It is working here fine...


b32(Posted 2007) [#7]
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.


JA2(Posted 2007) [#8]
Thanks for testing it. I guess it's just my browser then. I'm using Internet Explorer 6. Lol guess I need to upgrade ;)


JazzieB(Posted 2007) [#9]
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.