Re: Word 2007 Automation issue on Vista
- From: Steve Rindsberg <abuse@xxxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 17:13:24 EDT
In article <AF6C0109-BBC7-411E-A49E-DAB582819138@xxxxxxxxxxxxx>, Scott McBurney
wrote:
I looked into something like that. However, there seems to be no way to get
the window handle for the MS Word window. If we could get the window handle
from the object model, then it would be fairly easy to bring it to the
foreground.
FindWindow is one approach (though it's possible it doesn't work in Vista)
IIRC, it takes the classname of the form or the form's caption and returns a
handle to the window.
This may help too:
http://vbnet.mvps.org/index.html?code/system/findwindowlikesimple.htm
--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
.
- References:
- Re: Word 2007 Automation issue on Vista
- From: Steve Rindsberg
- Word 2007 Automation issue on Vista
- From: John Creviston
- Re: Word 2007 Automation issue on Vista
- From: Steve Rindsberg
- Re: Word 2007 Automation issue on Vista
- Prev by Date: Re: Powerpoint graphics filters
- Previous by thread: Re: Word 2007 Automation issue on Vista
- Next by thread: Re: Word 2007 Automation issue on Vista
- Index(es):
Relevant Pages
|