Button event dosen't fired by InvokePattern for UI Automation in Vista x64 RRS feed

  • Question

  • I have found the targeted button and subscribed the automation event by Automation.AddAutomationEventHandler(). But click on the targeted button doesn't fired. BTW, its working nicely in WinXP 32bit machine , the problem is in Windows Vista x64. Moreover, I have checked the targeted application by UISpy and got the ControlPattern as Invoke for the targeted button.

    • Moved by Bob Shen Tuesday, October 23, 2012 5:29 AM (From:Visual C# General)
    Friday, October 19, 2012 12:24 PM


All replies

  • Hi Emdadul,

    Thank you for visiting the MSDN forum. I’m afraid that it is not the correct forum about this issue. I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum. Thanks for your understanding.

    Bob Shen [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, October 23, 2012 5:29 AM
  • Actually it looks like a C# problem...

    The following is my signature:

    Powershell Programmer & Advanced Lua Programmer

    Location: Switzerland

    Beside that, whenever you see a reply, you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the mainquestion of the thread, click "Alternate TextMark As Answer" (if you opened the thread).

    Please contact me, before reporting me, thank you.

    [string](0..21|%{[char][int]([int]("{0:d}" -f 0x28)+('577076797174-87661607769657424-8687168065964').substring(($_*2),2))})-replace' '

    Tuesday, October 23, 2012 6:41 AM
  • Bob, any reason why this was moved out of the C# forum?


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)

    Friday, October 26, 2012 5:16 PM
  • Hi Ed,

    I think this issue is related to UI Automation and here is a more appropriate forum:



    Bob Shen [MSFT]
    MSDN Community Support | Feedback to us

    Monday, October 29, 2012 2:43 AM