Opening a web browser from a B3D app?

Blitz3D Forums/Blitz3D Programming/Opening a web browser from a B3D app?

This works. If you call ExecFile too quickly after EndGraphics, then nothing happens.

There may be a better way of doing this via a DLL or something - I don't know, and how you get back from your browser to your app is anyone's guess. Maybe some way of getting the browser's handle and waiting for a close event, but that stuff's beyond me.

Graphics 800,600,16,1
Delay 3000;wait a bit
EndGraphics
Delay 3000;allow time to return to desktop

ExecFile "http://www.blitzbasic.com"

While Not KeyDown(1)
	;do stuff, or call End instead of a loop
Wend