Click here to Skip to main content
15,903,175 members
Home / Discussions / COM
   

COM

 
GeneralRe: ActiveX - COM - for Excel Application control Pin
Steve S4-Aug-03 23:26
Steve S4-Aug-03 23:26 
GeneralRe: ActiveX - COM - for Excel Application control Pin
Stephane Rodriguez.4-Aug-03 23:48
Stephane Rodriguez.4-Aug-03 23:48 
GeneralRe: ActiveX - COM - for Excel Application control Pin
jauss5-Aug-03 1:44
jauss5-Aug-03 1:44 
GeneralRe: ActiveX - COM - for Excel Application control Pin
Stephane Rodriguez.5-Aug-03 1:50
Stephane Rodriguez.5-Aug-03 1:50 
GeneralATL Language support Pin
Ahmed Birry4-Aug-03 12:13
sussAhmed Birry4-Aug-03 12:13 
Questionproperty or method ? Pin
Brian van der Beek3-Aug-03 23:48
Brian van der Beek3-Aug-03 23:48 
QuestionI come from China,Who can help me? Pin
yzq_66663-Aug-03 22:39
yzq_66663-Aug-03 22:39 
QuestionIs it possible to expose a VB 6 Form object type from an C++-made COM Server? Pin
emoscosocam2-Aug-03 12:29
emoscosocam2-Aug-03 12:29 
Confused | :confused:


Hello!

I know that a Visual Basic 6 in-process COM Server can create and give away a reference to a Form (a private type) like this:


' From Class MyComponent.FormCreator
Public Function CreateForm as Object
Set CreateForm = New frmMyForm
End Function

So, a VB client could use an object of type MyComponent.FormCreator to access an instance of frmMyForm:

' Client code
Dim objFormCreator As New MyComponent.FormCreator
Dim objForm as Form

Set objForm = objFormCreator.CreateForm
Set objFormCreator = Nothing ' I do not need this object anymore
objForm.Show ' I use the provided Form

What I would like to know if it is possible to make a C++ COM Server that behaves just like MyComponent.FormCreator. Can I expose my own Form object type that mimics exactly a VB 6 Form?

Thank you very much.
GeneralATL Registration in win98 Pin
zxb888888881-Aug-03 23:54
zxb888888881-Aug-03 23:54 
Generalsharedpropertygroup Pin
Pablo751-Aug-03 3:34
Pablo751-Aug-03 3:34 
QuestionEvery client call COM+ Server,Server create a new process for it? Pin
doisy31-Jul-03 21:02
doisy31-Jul-03 21:02 
Questionwhat is difference at COM and DLL? Pin
yanshiqi31-Jul-03 16:01
yanshiqi31-Jul-03 16:01 
Questionhow to access dll from remote machine Pin
sumeetkoshal30-Jul-03 21:10
sumeetkoshal30-Jul-03 21:10 
AnswerRe: how to access dll from remote machine Pin
valikac31-Jul-03 6:11
valikac31-Jul-03 6:11 
AnswerRe: how to access dll from remote machine Pin
MartinOrtiz31-Jul-03 12:18
MartinOrtiz31-Jul-03 12:18 
GeneralPlug-in for MS Outlook Pin
Atif Bashir30-Jul-03 16:58
Atif Bashir30-Jul-03 16:58 
GeneralAsyncrous Callbacks with Connection Points Pin
Giles30-Jul-03 7:22
Giles30-Jul-03 7:22 
GeneralRe: Asyncrous Callbacks with Connection Points Pin
Giles30-Jul-03 11:51
Giles30-Jul-03 11:51 
GeneralThread Apartment pop quiz Pin
melwyn30-Jul-03 4:06
melwyn30-Jul-03 4:06 
GeneralActiveXControl/COM Component. Please help me! Pin
heju29-Jul-03 21:12
heju29-Jul-03 21:12 
GeneralRe: ActiveXControl/COM Component. Please help me! Pin
MartinOrtiz31-Jul-03 12:16
MartinOrtiz31-Jul-03 12:16 
GeneralBasic doubt about ATL com component distribution Pin
Venkateswar Rao29-Jul-03 3:46
Venkateswar Rao29-Jul-03 3:46 
GeneralMicrosoft Script Control Run-time error Pin
FAADI29-Jul-03 0:16
FAADI29-Jul-03 0:16 
GeneralRe: Microsoft Script Control Run-time error Pin
Vi229-Jul-03 1:31
Vi229-Jul-03 1:31 
GeneralBasic COM automation doubts, Please help. Pin
Venkateswar Rao27-Jul-03 23:20
Venkateswar Rao27-Jul-03 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.