Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute microsoft word from a visual foxpro program
Message
 
 
To
25/07/2007 09:18:45
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:
01243465
Views:
45
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?
>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform