x=CreateObject("Word.Application")
x.Documents.Open(FileName As Variant, ConfirmConversion As Variant,
ReadOnly As Variant, AddToRecentFiles As Variatn, PasswordDocument As
Variant, PasswordTemplate As Variatn, Revert As Variant,
WritePasswordDocument as Variant, WritePasswordTemplate As Variatn,
Format As Variatn, Encoding As Variant, Visible As Variant,
OpenAndRepair As Variant, DocumentDirection As Variant,
NoEncodingDialog As Variant, XMLTransform As Variant)

Just fill whatever you need.

On Fri, May 28, 2010 at 11:30 PM, Rafael Copquin <[email protected]> wrote:
> A colleague of mine, who cannot write well in English, asked me to post
> the following (translated by me):
>
> quote
>
> A VFP9 application opens some Word docs, through automation. These Word
> docs need a password to enable the user to open and read them. The
> problem is that the Word window asking for the password opens behind the
> application window. The only way to see this password window, which is
> very small BTW, is to use the window switching  mechanism in Windows
> (Alt+tab). This happens in XP and Vista.
>
> Is there a way to cause the Password window to open in front of the VFP
> window ?
>
> Rosa
>
> unquote
>
> Please tell..
>
> Rafael Copquin
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to