Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Activex Programming Control Webdc > The property ty...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 181 of 279
Post > Topic >>

The property type of a ActiveX control: VARIANT, LPDISPATCH or LPUNKNOWN?

by "Liu" <xnliu@[EMAIL PROTECTED] > Aug 21, 2006 at 08:34 AM

This is a multi-part message in MIME format.

------=_NextPart_000_002E_01C6C4FC.A7E233E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I have written a ActiveX control MyCtrl.ocx using VC++ 6.0 with MFC =
class COleControl. I need to use it in VB. How can I implement an =
interface to pass a dynamic CArray or a dynamic Array to the property =
"MyProperty" in my ocx? What is the type for the property "MyProperty"? =
Is it an VARIANT, LPDISPATCH or LPUNKNOWN?=20

Thanks,=20
Liu
------=_NextPart_000_002E_01C6C4FC.A7E233E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1561" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have written a ActiveX control =
MyCtrl.ocx using=20
VC++ 6.0 with MFC class COleControl. I need to use it in VB. How can I =
implement=20
an interface to pass a dynamic CArray or a dynamic Array to the property =

"MyProperty" in my ocx? What is the type for the property "MyProperty"? =
Is it an=20
VARIANT, LPDISPATCH or LPUNKNOWN? </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, <BR></FONT><FONT face=3DArial=20
size=3D2>Liu</FONT></DIV></BODY></HTML>

------=_NextPart_000_002E_01C6C4FC.A7E233E0--
 




 1 Posts in Topic:
The property type of a ActiveX control: VARIANT, LPDISPATCH or L
"Liu" <xnliu  2006-08-21 08:34:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 18:50:50 CST 2008.