Form only show once

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • d927
    New Member
    • May 2009
    • 4

    Form only show once

    How can i make it so a form will only show the very first time the program is run as a whole?
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Look for a known value in the registry. If you don't find it, then show the form and write in the value you look for. The next time it launches you will find that value, so you know you've opened that form at some time in the past.

    Comment

    • d927
      New Member
      • May 2009
      • 4

      #3
      the only problem with that is eventually i intend to virtualize my program so i need to find an alternative rout.





      ps. Thats a good idea though that solved a diffrent problem i had, thanks =)

      Comment

      • d927
        New Member
        • May 2009
        • 4

        #4
        by the way incase someone didnt know virtualize means make portable by putting it in a virtual enviormens, that means no regestry and what not because next time its run it mite be interacting with a different registery.

        any other ideas

        Comment

        Working...