FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Word VBA instructions in FW
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Word VBA instructions in FW
Posted: Thu Mar 08, 2007 11:46 AM
Hello,

How do I put the next lines in a OLE-instruction in FW ?

    Application.WindowState = wdWindowStateNormal
    Application.Move Left:=0, Top:=43
    Application.Resize Width:=768, Height:=553


Thank you.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
Word VBA instructions in FW
Posted: Thu Mar 08, 2007 01:32 PM
          oWord:=TOleAuto():New( "Word.Application" )
          oWord:Documents:Open( "C:\AUTOEXEC.BAT" )
          oWord:Top              := 0
          oWord:Left              := 43
          oWord:Width           :=768 
          oWord:Height          :=553
          oWord:Visible          := .t.
          oWord:Visible          := .t.
          oWord:Visible          := .t.
          oWord:WindowState := 1
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Word VBA instructions in FW
Posted: Thu Mar 08, 2007 04:41 PM

Rochinha,

Thanks a lot.

I'll try it out.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion