Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Word Automation in Office 2010 and W7
Message
From
06/07/2012 07:07:17
 
 
To
05/07/2012 14:44:10
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01547671
Message ID:
01547732
Views:
55
>Thanks for the reply, but that doesn't really help as I can't find a sensible example of bringwindowtotop whereby it can be applied to an already instantiated version of Winword.exe.
try:
oWord = CREATEOBJECT("Word.Application")
...
DECLARE Long BringWindowToTop In Win32API Long
...
BringWindowToTop(oWord.Hwnd)
...
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform