Hi Everyone. I have a VB6 program in which I display errors using MSGBOX's. When I run the program from an Icon or a .EXE (as an application) the messages are displayed to the user, but when I run it as a scheduled task (as a process) the messages are not displayed. I do use the vbSystemModal parameter to bring the message in front of all applications that are running. WHY and is there a way to make this work when running as a process.
MSGBOX displays running as a process
Collapse
X
-
Tags: None
-
Hi,
"vbSystemMo dal" flag is a carry over from 16-bit Visual Basic.
System modal windows are not supported in the Win32 (WinXP Win2000 and all above)
In all such Cases, you first need to Bring Your Application Form on the Top of other Windows, and display the message . To do this, you need "SetWindowP os" API
Regards
VeenaComment
-
Veena,
Thanks for your help! I will give that a try.
Kathy
Originally posted by QVeen72Hi,
"vbSystemMo dal" flag is a carry over from 16-bit Visual Basic.
System modal windows are not supported in the Win32 (WinXP Win2000 and all above)
In all such Cases, you first need to Bring Your Application Form on the Top of other Windows, and display the message . To do this, you need "SetWindowP os" API
Regards
VeenaComment
Comment