CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    May 2019
    Location
    Michigan
    Posts
    35

    [RESOLVED] Where to create code to limit form opening by password Visual Studio 2012

    I have an Visual Studio 2012 application that has 3 forms:

    Form 1 is the main form
    Form 2 is a settings form
    Form 3 is a password form

    I want the user to enter a password in Form 3 to open Form 1 if a password exists , otherwise just open Form 1
    I also want the user to be able to change the password (using the same Form 3) from the settings Form 2

    I haven't written any code for this - I KNOW HOW TO DO WHAT I WANT! I just need help locating where to put the
    code to prohibit Form 1 from opening unless the correct password is entered (if any).

    Thank you
    Last edited by oldGMtireman; December 17th, 2019 at 01:38 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured