Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Have form close automatically after certain time.

Status
Not open for further replies.

cdgeer

IS-IT--Management
Apr 8, 2008
133
US
I have 2 forms open at the same time with a cmd button.I would like to have one of them close after about 5 seconds. (A fade out would be cool too but not necessary).How would I set that up in VB?
 
As Pwise says 'On Timer' event of the form you want to close but to sdd

DoCmd.Close acForm, "frmNameHere", acSaveNo

Then Timer Interval enter 5000 adjust 1000 for every second

HTH << MaZeWorX >> "I have not failed I have only found ten thousand ways that don't work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top