Visual Patch 3.9

Screen.SetStartScreen

Screen.SetStartScreen

This is the first topic This is the last topic  

Screen.SetStartScreen

This is the first topic This is the last topic  

OverviewExamples

Screen.SetStartScreen (

string ScreenName )

Example 1

-- Decide which "Before Patching" screen to show.

if g_InstalledVersion then

   if g_InstalledVersion == VisualPatch.GetTargetVersion() then

       -- The target version was found

       Screen.SetStartScreen("Software is Current");

   else

       -- An out-of-date version was found

       Screen.SetStartScreen("Ready to Patch");

   end

else

   -- No version was found

   Screen.SetStartScreen("Cannot Locate Software");

end

Determines if the user already has the current version of the software on their system or whether it needs to be patched. This information is gathered in order to show the appropriate first screen to the user.

See also: Related Actions


Learn More: Indigo Rose Software - Visual Patch - Buy Now - Contact Us