Link to home
Start Free TrialLog in
Avatar of jack niekerk
jack niekerkFlag for Netherlands

asked on

IN VB6 MINIMIZE AND MAXIMIZE A FORM

I have a program wich does some checking. I use a timer to do this every 2 minutes
What would be the syntax to get this situation.
Private Sub tmrFaxen_Timer()
'=============================
If FileExist("faxsend.doc") = True Then
' WHAT SYNTAX HERE TO MAXIMIZE ???????  , SO USER SEES IT SEND THE FAX
SendMyFax
'HERE COMMING BACK AFTER SENDING FAX
'WHAT SYNTAX TO PUT BACK MINIMIZED????
End If
tmrFaxen.Interval = 120000  ' restart
End Sub

ASKER CERTIFIED SOLUTION
Avatar of fostejo
fostejo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jack niekerk

ASKER

Ok, this works , only one qst,   this form is at start time set to  height  5000 and with 8600,
if reshows, it goes to full screen,  option to let it pop-up with original  size???

Thanks  ,
Jack
Me dummy, offcourse,  vbNormal  would do it,
Now is just fine