Open a Webpage?
BlitzMax Forums/BlitzMax Beginners Area/Open a Webpage?
| ||
Can you open a webpage from inside a BMax program? I think that you could do this with ExecuteFile in B3D, but I never got around to trying it. I've been looking for a command similar to that but I have been unable to find one in either the forums or the wiki. Any help would be greatly appreciated. |
| ||
take a look at _system |
| ||
Try OpenURL(). |
| ||
meh, you could do that too. :) |
| ||
the trouble with the OpenURL() technique is that the application/game needs to access the net, which will be picked up via firewall. Anyone else know another method? |
| ||
Two year old thread, but anyway.... the trouble with the OpenURL() technique is that the application/game needs to access the net, which will be picked up via firewall. Anyone else know another method? Are you sure about this?OpenURL opens any file (not necessarily a web page) in the default program for that file. This is done locally, obviously. If your default browser is Firefox, and that has net access through your firewall, there shouldn't be any problems. |
| ||
I like to put stuff in old threads rather than start new ones when there is back story. :) Yea, I am pretty sure on this, I use that method and when I run it ZoneAlarm pings up asking if i want to give my game permission to access the net (has my games exe in the name). Then allowing it will open the site in firefox (firefox is perminantly allowed). |
| ||
Yea, I am pretty sure on this, I use that method and when I run it ZoneAlarm pings up asking if i want to give my game permission to access the net (has my games exe in the name). Then allowing it will open the site in firefox (firefox is perminantly allowed). Technically that's because you *are* trying to access the net, the firewall is doing its best to protect the user, as the url could be malicious. |
| ||
I want to open a url (purchase game page) from with inside my game, is using "OpenURL" the standard way of doing this? Thanks. |