Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Word Automation in Office 2010 and W7
Message
From
05/07/2012 08:34:09
 
 
To
05/07/2012 05:55:51
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:
01547678
Views:
82
>Hi
>
>I'm converting an old VFP to work with Office 2007/2010, and all of the WordBasic automation works fine with the exception that the code cannot bring the Word window to the forefront, the Word icon activates on the taskbar but the user has to click on it in order for it to take the focus.
>
>Any ideas?

Try the API function BringWindowToTop.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform