Well, I looked over some of that material, and I think that if maybe I worked at it for a long time I might be able to figure it out, but I had another idea. I looked back over the code from my game programming days (heh, those didn't get too far, but I learned some cool shit), and found some DirectX code. This code will automatically set your form to the foreground. The only thing is that the user has to have DirectX installed.

-First you have to reference DirectX 7, to do this go to Project->References->DirectX 7 Visual Basic Library, and select it.

Declarations:

Dim dx As New DirectX7 'This is the root object. DirectDraw is created from this
Dim dd As DirectDraw7 'This is DirectDraw, all things DirectDraw come from here

Code:

Set dd = dx.DirectDrawCreate("") 'the ("") means that we want the default driver

Me.Show 'maximises the form and makes sure it's visible

Call dd.SetCooperativeLevel(Me.hwnd, DDSCL_FULLSCREEN Or DDSCL_ALLOWMODEX Or DDSCL_EXCLUSIVE)

----

Do you guys think it's realistic to use this code, like will most people have DirectX installed? Or you could like install DirectX with the program right?
_________________________
Cha want some w***up?

http://www.dopeskill.com