Ok so i have a form called form (4)
I need that to be the first form that appears - how?
used to know how to do this one :)
Printable View
Ok so i have a form called form (4)
I need that to be the first form that appears - how?
used to know how to do this one :)
I take it you load all forms at the same time then wanna make a form at the front?
Will bring it to the front...ORVB Code:
Form4.ZOrder
Do either of those help...VB Code:
Private Declare Function SetForegroundWindow Lib "user32" Alias "SetForegroundWindow" (ByVal hwnd As Long) As Long 'This is used in the following way: SetForegroundWindow Form4.hWnd
Sorry I didnt explain properly.
When the program starts up i want form4 (only) to be the one shown.
:)
Errrrr...Either right click on Project, in the project properties window and change Form4 to be the startup object, or set Sub Main to be the startup object and add:
into a module...VB Code:
Sub Main Load Form4 Form4.Show End Sub
Woka
perfect - cheers woka! xx
No probs :D
Woka