Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Foxpro Vs. Word
Message
De
24/05/1999 15:55:32
 
 
À
24/05/1999 15:36:27
Claudio Fco. Osorio A.
Banco Santander Colombia
Bogotá, Colombie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00222198
Message ID:
00222212
Vues:
26
Hola Claudio,

Penso que la problema es tu eres usando VBA adonde necesitas usar WordBasic, la lengua por Word antes de Word97. Mira aqui:

http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/worddev/articles/word2vba.htm

Un pagina que traduce WordBasic a VBA.



>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform