Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute microsoft word from a visual foxpro program
Message
From
25/07/2007 15:04:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01241684
Message ID:
01243577
Views:
40
Thanks it worked.

Yes I did see Tamar's response to you. I am documenting it so that user know about it.

One last dumb question. I assume that object is released when the close the word file. If not do I have to release it and how?

>Do you mean you want to bring the Word to Foreground? Then this technique (by Vladimir Maximov) works:
>
>#DEFINE wdWindowStateMinimize 2
>  #DEFINE wdWindowStateMaximize 1
>
>  loWord.WindowState = wdWindowStateMaximize && When you set WindowState property of the Word object, it brings it to foreground
>
>But please see Tamar's response to me. Even if you open Word document in read-only mode you still can Save As a different document.
>
>>Thanks it works. My last question is how do I switch to the word file?
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform