Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to initalize Word97 from VFP6?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00156542
Message ID:
00157181
Vues:
82
Here is the lastest:

Reinstalled Office 97 and re-applied SM1. Applied SP4 to my NT 4.0 OS.

Tried the 5 lines of code you specified:

oWord = createobject( "word.application" )
oWord.Visible = .t.
oDoc = oWord.Documents.Add()
oDoc.PageSetup.LineNumbering.Active = .f.
oWord.Selection.InsertAfter( "Test" )

Same error occured! I tried the same code in VFP5 and it worked beautifully!

You had previously mentioned that this code ran perfectly in your copy of VFP6.

I understand that MS was coming out with a service pack for Visual Studio 6. Do you know if that SP is out yet? If so, have you applied it?
Juan L. Romero
gcandela@javanet.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform