Click to See Complete Forum and Search --> : close msgbox


urs
October 19th, 2001, 05:35 AM
hi gurus
i am firing an error msg through msgbox
now i want to close msgbox automatically if user dosent clicks on "ok" button 4 2 seconds
how can i do this

BYaman
October 19th, 2001, 05:53 AM
make your own msgbox dialog window. Add timer. call in timer , unload me

Iouri
October 19th, 2001, 07:07 AM
'add reference to Windows Scripting host Object model

Dim wshShell As New IWshShell_Class
Dim lngReturn As Long
Dim intSeconds2Wait As Integer
intSeconds2Wait = 2
lngReturn = wshShell.Popup("Place Your Text Here", intSeconds2Wait)



Iouri Boutchkine
iouri@hotsheet.com