Hi Rick,
We implemented this program and it worked great on Windows 95 or Windows NT. However, on Windows 98 we have this error message, trapped by our Error Handler:
Error #: 9
Program: MESSAGEBOXX
Message: Data type mismatch.
Line #: 210
Source: lnHand = iswindow(l_cTitleBarText)
Active Form: jobs
Data Session: 5
l_cTitleBarText = 'View Stats' and this is the title of messagebox window (e.g. passed title). I haven't examined the logic of your program, but I noticed, that you don't declare each local variable as local. Could it be a problem?
Thanks in advance.
>I created a similar procedure [MESSAGEBOXX()] for our user group as an exercise, and I understand a number of people are using it successfully. Go to
http://mmfudg.lansing.com/last0106.htm and get "TimedMB.zip - Rick's Timed MessageBox Code (7KB)" - it includes versions for both 5.0 and 6.0.
>
>Rick
>
>>>>Hi everybody,
>>>>
>>>>We're still using VFP6.0 :( Is where a class, which simulates MessageBox functionality but with a timer? I've checked Donwloads section, but didn't find the appropriate class, if it exists.
>>>
>>>What about file #
9897?
>>
>>Missed it in my search for some reason. Thanks, seems like this is the ticket.
If it's not broken, fix it until it is.
My Blog