i have a problem about creating a word document. who here try it webspeed? i try this simple code in 4gl, its running smoothly..
DEFINE VARIABLE oWord AS COM-HANDLE NO-UNDO.
CREATE "Word.Application" oWord.
oWordocuments:Open("C:\test1.doc").
oWord:Visible = TRUE.
oWord:ActiveDocument:SaveAs("c:\test2.doc").
oWordocuments:close().
NO-RETURN-VALUE oWord:Quit ().
RELEASE OBJECT oWord.
but when i try it webspeed nothing happen?? what do you think is the problem?? please help me.
DEFINE VARIABLE oWord AS COM-HANDLE NO-UNDO.
CREATE "Word.Application" oWord.
oWordocuments:Open("C:\test1.doc").
oWord:Visible = TRUE.
oWord:ActiveDocument:SaveAs("c:\test2.doc").
oWordocuments:close().
NO-RETURN-VALUE oWord:Quit ().
RELEASE OBJECT oWord.
but when i try it webspeed nothing happen?? what do you think is the problem?? please help me.