DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004

    Red face Referencing the callee

    Here I have an application which is being called based on SetWindowsHookEx API, and its required to replace a content of the selected text in the calling application on request. How could I get the reference of the textbox on other application. Any idea on this topic would be useful for me.

    Can anyone knows how to get the running instance of Word or other application from vb.net.. I am using the code as

    Dim eWord as object
    eword = createobject("Word.Application")

    Also i m using
    Dim eWord as Word.application
    eword = CType(GetObject(Nothing, "Word.Application"), Word.Application)
    But i m taking this type of running instances, sometimes i met an error.. But the above code, it is created a new word instance.. How can i do without using GetObject method..
    Last edited by Hariharan; 06-11-2005 at 04:04 AM. Reason: Adding some more details
    Hariharan B

  2. #2
    Join Date
    Nov 2004
    Anyone know how to do the above requirement.
    Hariharan B

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.