-
hi~!~!
say i've a form (which is my main program too) which needs to be loaded. after loading it i want some process to be started automatically ONLY after the form has been loaded. is there a way to trigger my process?
what i've been able to do is to load my processes while the form is being loaded but not after it has been loaded though.
hope someone can help :)
regards,
virux
-
This is my workaround:
Code:
Private Sub Form_Activate()
Static Init As Boolean
If Not(Init) Then
'Do your processing stuff here
Init = True
End if
End Sub
Hope it helps,
Me
-
hi thanks for the reply!
where do u call Form_Activate? from within my Form_Load? or just leave it alone, which means it's being called automatically by the system?
regards,
virux
-
You don't need to call Activate (it's an event). Just insert V(ery) Basic's code into your Form and you should be on your way.