Results 1 to 2 of 2
  1. #1
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659

    SendMessage to Access


    Is there an easier solution to firing Access events in an Open Database from outside access than SendMessage API? Im looking currently at BindToMoniker in .net apps as an alternative.

  2. #2
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    Figured this out. I needed to create a new custom URI Registry Entry. Then I had to create a .net console application to handle the request. The .net console application uses
    https://msdn.microsoft.com/en-us/lib...v=vs.100).aspx
    Then its only a matter of finding the "Access.Application" in the Running Objects Table. and running DoCmd's against the object like you would in access. Pretty easy.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 09-02-2015, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums