General information
Title:
Visual Foxpro Vs. Word
First, excuse my English.
I have a problem with Visual Foxpro Ver. 5.0, when i work with Microsoft Word Ver 6.0.
I can open word, write, a document in word, but, i when wish save my document from visual foxpro, it display a error.
Objeto_Word = CreateObject("Word.Application")
With Objeto_Word
.Application.Visible=.T.
.Application.WindowState = 1
.Documents.Add
.Selection.Text = "hellow"
.ActiveDocument.SaveAs("E:\Visual5\Mis1\Otro.Doc")
.Quit
EndWith
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only