by driessen » Tue Sep 19, 2017 12:51 pm
Hello,
In my application I use an OLE instruction to define the way Word has to be shown
I use :
- Code: Select all Expand view
oWord:WindowState := 0/1/2
0 = normal window
1 = maximized window
2 = minimized window
Normally this instructions also has to work for Excel or Outlook.
So I use :
- Code: Select all Expand view
oExcel:WindowState := 0/1/2
oOutlook:WindowState := 0/1/2
But for Excel or Outlook my application is generating an error, although, to the Microsoft documentation WindowState is available both in Excel and Outlook.
Anyone any idea?
Thanks a lot in advance.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773