Resolution change

Blitz3D Forums/Blitz3D Programming/Resolution change

Hi,

I am currently writing a resolution settings menu. When a setting is changed, I prefer Blitz to save the settings, exit and reload the application instead of Clearworld() and reloading entities and such. But...

1) I can't exit Blitz first and then reload the app, because...well I closed down the application ofcourse.
2) I can't execute another app (itself) from the script and THEN close down itself because as soon as I exectute another program, the rest (ending it's own program) is not executed anymore.

Does someone has a suggestion on how to do this better? I use Blitz3D.

Thanks.

Clear everything and reload.

I appriciate any help but please read my post.
I clearly said, in the first sentence, that reloading is exactly what I don't want.

A Graphics call will do it:
Graphics3D 800,600
texture=CreateTexture(2048,2048)
Repeat
	If KeyHit(28) Then
		Graphics 200,200,0,2
		ExecFile("testi.exe")
		End
	End If
	If KeyHit(1) Then End
Forever


awesome. Thank you.