Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word 2K, W2K and vfp6sp5 OLE error
Message
From
26/09/2003 16:18:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word 2K, W2K and vfp6sp5 OLE error
Miscellaneous
Thread ID:
00832836
Message ID:
00832836
Views:
48
Hello buddies;

On w98 machines this code works pretty fine.. We just start it on a W2K machines.. And an error comes up:
If  TYPE("thisform.loWordApplication") <> "O"
    Thisform.loWordApplication = CREATEOBJECT("Word.Application")
Endif
Thisform.loWordApplication.Visible = .T.
Thisform.loWordApplication.Documents.Add("mymodel.dot", .F.)  && <-- error
Error: OLE IDispatch exception code 0 from Microsoft Word:
The name of document or path are invalid.

mymodel.dot is there on the same folder..

Is there any modifications on VFP's OLE to work with office 2K ?

TIA

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Next
Reply
Map
View

Click here to load this message in the networking platform