Simple dialog with yes or no if they press yes (should be 1)... then do whatever. else get the heqq out of here. What am I doing wrong?![]()
result = Dialog.Message("Notice", "Java will now be loaded onto your system.", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);
if (result == 1) then
File.Run("AutoPlay\\Docs\\java.exe", "", "", SW_SHOWNORMAL, false);
else
Application.Exit();
end


