Can someone please help me to convert this to FIVEWIN code:
ActiveDocument.SaveAs FileName:=strDocName, FileFormat:=wdFormatXMLDocument
Thanks in advance
Otto
FUNCTION TEST
LOCAL oWord := WinWordObj()
LOCAL oDoc
oDoc := oWord:Documents:Add()
#define wdFormatXMLDocument 12
oDoc:saveas( "path where you want to save\FileName", wdFormatXMLDocument )
oWord:Quit()
RETURN NIL
FUNCTION TEST
LOCAL oWord := WinWordObj()
LOCAL oDoc
oWord:Documents:Add()
oDoc := oWord:ActiveDocument
#define wdFormatXMLDocument 12
oDoc:saveas( "path where you want to save\FileName", wdFormatXMLDocument )
oWord:Quit()
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 73 guests