Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: PASS combobox to DLL


Message #1 by Manish Jain <memanishjain@y...> on Thu, 15 Aug 2002 01:55:05 -0700 (PDT)
Try this...

Public Sub Initialize(cmb As Variant)
    Dim cc As ComboBox
    Set cc = cmb


> I created a new ActiveX dll project
added a class
and aded a public sub FillCombo ( c as combo)
but when i compiled it I got the error message
private object modules cannaot be used in public object modules as
parameters or return types for public procedures, as public data members, 
or
as fields of public user defined types.
what can I do  .........
I know how to use the Dll Function in my Apps but how can I create Such Dll

Regards...

  Return to Index