Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word application
Message
From
26/09/2003 11:33:18
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00832681
Message ID:
00832722
Views:
21
RELEASE ALL LIKE o*
PUBLIC oWord
LOCAL oRange, oTable, nRecCount, nTotalOrders
LOCAL nRow
nRow = 0
oWord = CreateObject("Word.Application")
oWord.Documents.Add()

I think tat the error is generated by the CreateObject command
Remember that it gives me no error if I run it from VFP environment


>Can you post a code that generates this error?
>
>>The dot is present i forgot to write it in the message
>>:-)
>>
>>>I don't see a '.' (dot) in 'WORD APPLICATION'. It should be 'WORD.APPLICATION'.
>>>
>>>>No, it is installed and all works fine if I run the application from the VFP programming environment
>>>>
>>>>>You would get this error if there's no MS Word installed on the PC.
>>>>>
>>>>>>How come that I get the error Class definition WORD APPLICATION not defined
>>>>>>when i run an executable ?
>>>>>>This not happens in VFP environment.
>>>>>>Is there something (i'm sure there is) i should do in building my executable ?
>>>>>>Thanks
>>>>>>Alessio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform