NitLions
03-22-2007, 07:47 AM
What I would like to do is to determine if a system is a 64-bit OS and display a message, if so, indicating that our application is not supported on a 64-bit OS at this time.
I have the following in an OnShow script of our Welcome Page...
if System.Is64BitOS() then
Dialog.Message("Our App Support", "Our App is not supported on 64-bit Operating Systems.", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1);
Application.Exit();
end
This seems to work OK in that a 64-bit OS is detected and the message displays immediately after our Welcome Page appears. What I would like to happen, if possible, is to have just the message display without seeing the Welcome Page in the background.
I tried the snippet above in the Preload script, but what happens there is the message is displayed without the Welcome Page appearing. Once the message dialog is closed, the Welcome Page then flashes, but is closed.
Let me know if displaying the message without seeing the Welcome page is possible.
THANKS in advance!
:lol
I have the following in an OnShow script of our Welcome Page...
if System.Is64BitOS() then
Dialog.Message("Our App Support", "Our App is not supported on 64-bit Operating Systems.", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1);
Application.Exit();
end
This seems to work OK in that a 64-bit OS is detected and the message displays immediately after our Welcome Page appears. What I would like to happen, if possible, is to have just the message display without seeing the Welcome Page in the background.
I tried the snippet above in the Preload script, but what happens there is the message is displayed without the Welcome Page appearing. Once the message dialog is closed, the Welcome Page then flashes, but is closed.
Let me know if displaying the message without seeing the Welcome page is possible.
THANKS in advance!
:lol