Showing results 1 to 2 of 2

Thread: UserChange() Event

  1. #1
    Join Date
    26.04.2018
    Posts
    2

    Beitrag UserChange() Event

    Hello , i have a problem with UserChenge() event , when i change user in the runtime this event is not execute i don't know why .

    My code is below :

    Private Sub Project_Active()

    Set obPWD= thisProject.Passwords

    End Sub



    Private Sub obPWD_UserChange()

    MsgBox("it's working")

    End Sub



    Private Sub Project_Inactive()
    Set obPWD= Nothing
    End Sub
    Last edited by Kanov : 9th May 2018 at 05:34

  2. #2
    Join Date
    26.04.2018
    Posts
    2

    Default Re: UserChange() Event

    OK, now is working I miss "Dim WithEvents obPWD As Passwords" 

Similar Threads

  1. Event
    By nollh in forum VSTA
    Replies: 1
    Last Post: 12th October 2015, 12:38
  2. Alarm and Event
    By navaneet in forum zenon Supervisor
    Replies: 0
    Last Post: 14th November 2014, 13:13
  3. Event list
    By xeren in forum Drivers
    Replies: 4
    Last Post: 24th October 2013, 07:18
  4. mouse event
    By armins in forum VSTA
    Replies: 5
    Last Post: 11th June 2013, 08:02
  5. UserChange
    By matthias.zoellner in forum VBA
    Replies: 4
    Last Post: 26th March 2009, 14:50

Posting Rules

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