Re: Word 2007 Automation issue on Vista

Tech-Archive recommends: Speed Up your PC by fixing your registry



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
================================================

.



Relevant Pages

  • Re: After installation of Office 2007 I cant open .docs
    ... I can't give you anything better without knowing your operating system...which is why I asked about it in the first place. ... Echo [MS PPT MVP] http://www.echosvoice.com ... Fixing PowerPoint Annoyances http://tinyurl.com/36grcd ... >> What small window? ...
    (microsoft.public.office.misc)
  • Re: hyperlink
    ... I have highlighted the slide number in the index and under slide show/ ... > correct page in the drop-down window. ... >>Steve Rindsberg, PPT MVP ...
    (microsoft.public.mac.office.powerpoint)
  • Re: get ole objects from powerpoint
    ... What I posted was a code fragment, intended to be included in the other code ... > methode object of object OLE format failed ... > I want before closing the window and do the next.... ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: Invisible Design Templates in PPT 2002
    ... Echo [MS PPT MVP] http://www.echosvoice.com ... When I click in the window the slide ... A suggestion on how to fix this would be welcome. ...
    (microsoft.public.powerpoint)
  • Re: Controlling HTML presentations with another page.
    ... > window or an IFRAME and control it with JavaScripted buttons in the parent of ... It'd generate pages that you could "wrap" in your own frame and control by ... > just fall over with "Object doesn't support this property or method" ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)