locked
Picking up Excel events from VB.Net RRS feed

  • Question

  • Hi Friends

    Is it possible to reference events happening in a Microsoft application from VB 2010 Express?

    For example if a user moves his Excel window on the desktop is it possible to make a VB 2010 Express solution to pick it up and bring it back to its original position? If yes could one of you show me how to do it with codes?

    Thank You.

     


    ss
    Monday, July 11, 2011 6:30 PM

Answers

All replies

  • Refer following link

    http://support.microsoft.com/kb/823981


    Gaurav Khanna | http://gauravkhanna.blog.co.in
    • Proposed as answer by Neddy Ren Thursday, July 14, 2011 9:33 AM
    • Marked as answer by Neddy Ren Thursday, July 28, 2011 6:02 AM
    Monday, July 11, 2011 6:50 PM
  • Spot On Gaurav. Thanks. Thank You.
    ss
    Monday, July 11, 2011 10:43 PM
  • Hi,

    What I got from the site Khanna Gaurav introduced was very helpful. Could one of you show me where I can pick up code to catch MS Access events from VB .Net?

    Thanks.


    ss
    Monday, July 18, 2011 11:07 AM
  • Hi Sidaan,

    Welcome to the MSDN Forum.

    There is another KB article which show how to handle the Excel Events by using the VB.Net and there is sample code here:

    HOW TO: Handle Events for Excel by Using Visual Basic .NET:
    http://support.microsoft.com/kb/302814/en-us

    If you have any questions, please feel free to tell us.

    Best Regards

     

     


    Neddy Ren [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Neddy Ren Thursday, July 28, 2011 6:02 AM
    Tuesday, July 19, 2011 5:30 AM