I use below code to activate MS Word but it show in background. I need to activate on top of my program.
- Code: Select all Expand view RUN
- oWord := CreateObject("Word.Application")
oWord:Set("Visible",.t.)
oDoc:Open(cFile)
oWord:Set( "WindowState", 1 )
How do I make on top?
Thanks in advance.