Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word automation model?
Message
 
To
28/02/2005 06:51:31
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Database:
MS SQL Server
Miscellaneous
Thread ID:
00990010
Message ID:
00991136
Views:
20
>I couldn’t find the InfoPath type lib at the COM Libraries so I load it manual as INFOPATH.EXE. I found the Application2 interface but when I try to drag and drop it at a command window I get an Error:"Member DEFAULTINTERFACE does not evaluate to an object" after press an ignore I get the code but with:
>
>I am a little confused about what your problem is here < s >. Are you saying that you are unable to drag and drop the interface from the class browser to your prg? Or are you saying that you get this error first but the skeleton class is created anyway?


Sorry for my poor English,
The drag and drop generate the error as I told you but the skeleton class is created anyway.
My questions are:
1) For the generated error: Is this normal and if you know what is this mean?
2) and the line:
.....
IMPLEMENTS _Application2 IN "InfoPath.Button"
....
is this correct? I am expecting something like Word’s.

IMPLEMENTS ApplicationEvents2 IN "c:\program files\microsoft office\office11\msword.olb"
----------------------------------------
Nikos Kiriakoulakos
Software Engineer
Dep. of Medical Informatics
Apollo Ltd.
Greece
----------------------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform