Do you have any runtime errors?
Choli:
This is what I do in my C++ programs...not very sure if VB uses this
code:
//(Under MFC)
//Ultimate DoEvents
void __stdcall DoEvents(){
MSG dispatch;
while (::PeekMessage( &dispatch, NULL, 0, 0, PM_NOREMOVE))
{
if (!AfxGetThread()->PumpMessage());
}
}