Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Foxpro Vs. Word
Message
 
To
24/05/1999 15:36:27
Claudio Fco. Osorio A.
Banco Santander Colombia
Bogotá, Colombia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00222198
Message ID:
00222363
Views:
40
>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

Claudio,

Estas hablando de Word 97, no del 6, verdad? He probado to código con el Word 97 y no me dio errores. O será que el path no existe?

José
Previous
Reply
Map
View

Click here to load this message in the networking platform