Log off/Change user in VB 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bluethunder
    New Member
    • Sep 2007
    • 50

    Log off/Change user in VB 6.0

    Hello guys, I made a system and my professor suggested to put a log-off/change user button where can easily change the user without closing the whole system like the concept of log-off in the computer. How will I do that? Is there any who knows about it?
  • mafaisal
    New Member
    • Sep 2007
    • 142

    #2
    Hello,
    U Add menu File in its Logon logoff exit When logoff u may disable all Menus in MDI form Exclude file also Connection is to close, then Logon call Login form ,Connection open, And Enable All Menus

    Faisal

    Originally posted by bluethunder
    Hello guys, I made a system and my professor suggested to put a log-off/change user button where can easily change the user without closing the whole system like the concept of log-off in the computer. How will I do that? Is there any who knows about it?

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Using menu on MDI from is the best option.

      Comment

      • lotus18
        Contributor
        • Nov 2007
        • 865

        #4
        And also the login form should be shown as modal

        Rey Sean

        Comment

        • Ali Rizwan
          Banned
          Contributor
          • Aug 2007
          • 931

          #5
          This is very simple to do the thing you want.

          If you want a small application in which you can switch to users and can logoff the application.
          You can contact me.


          ANd the logic you need to make is:

          For Switch User:

          You need to open application again.When the user clicks on switch user the forms which are neccery are loaded twice once for the user allready login and secod for the current user.


          For Logoff.
          Simply you need a login screen which appears in case of logoff when you clicks on logoff button all application closes except that login screen.

          And you need databases at back end to save user settings. and i think this is the main job you have to do.


          Regards
          >> ALI <<

          Comment

          Working...