Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word on top problems

Status
Not open for further replies.

josedeman

Programmer
Jan 20, 2004
23
NL
I've got the following piece of code in VFP 7.0 sp1:

Release All Like oW*
oWord = Createobject('Word.Application')
If Type('oWord.name') = "C"
_Screen.AlwaysOnTop = .T.
_Screen.AlwaysOnTop = .F.
Endif
If Type('oWord.name') = "C"
oWord.Visible = .T.
Endif

This seems to work most of the times. But sometimes Word starts in the background instead of on top.
I'm using Word 2002 sp2.

Can anyone tell me how I get Word to ALWAYS start on top?
 
Take a look at thread1251-816335 in the Automation Forum and the related FAQ.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top