Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to initalize Word97 from VFP6?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00156542
Message ID:
00157181
Views:
77
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform