Hi all
I am trying to use this control from wpcubed.com and am having trouble getting
it to work. I am trying to get the IWPPdfCreator interface and the help says
If You cannot access the interfaces in Visual FoxPro directly, You can use the
method GETINTERFACE:
Example:
ospell=GETINTERFACE(someform.textdynamic.SpellCtrl,
"{8A8763C7-D866-4D33-A6E9-FF17C008D57B}", "WPTDynInt.ocx")
In the init of my form which has the ocx on it I have tried all of the following
oIWPPdfCreator1 = GetInterface(Thisform.oleControl1.Memo,
'{C6B1B485-6EB5-4360-9C19-7BCBA4E43529}', "WPTDynInt.ocx")
oIWPPdfCreator2 = GetInterface(Thisform.oleControl1,
'{C6B1B485-6EB5-4360-9C19-7BCBA4E43529}', "WPTDynInt.ocx")
oIWPPdfCreator3 = GetInterface(Thisform.oleControl1.Memo,
"IWPPdfCreator", "WPTDynInt.ocx")
oIWPPdfCreator4 = GetInterface(Thisform.oleControl1, "IWPPdfCreator",
"WPTDynInt.ocx")
I either get "Function argument value, type or count is invalid" or "No such
interface supported". Does anybody have experience with this control or have
any ideas what I might be messing?
Many thanks
Paul Newton
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.