P
Peter van der Veen
Hi
I have a VB.net apllication (DLL) with a structure and a property get.
public structure tMyCode
dim iCode as integer
dim sText as string
end structure
writeonly property GetCodes as tMycode
get
dim a(0) as tMycode
a(0).icode=10
a(0).sText = "text"
return a
end get
end property
I can see these this in VB6 (using comvisible), but got an error when
assigning it in vb6
dim a as tMycode
This raises an error (Variable uses an automation type not supported.
We can't use types in VB.net, but how can i get those in VB6?
I hope my problem is clear.
Peter
I have a VB.net apllication (DLL) with a structure and a property get.
public structure tMyCode
dim iCode as integer
dim sText as string
end structure
writeonly property GetCodes as tMycode
get
dim a(0) as tMycode
a(0).icode=10
a(0).sText = "text"
return a
end get
end property
I can see these this in VB6 (using comvisible), but got an error when
assigning it in vb6
dim a as tMycode
This raises an error (Variable uses an automation type not supported.
We can't use types in VB.net, but how can i get those in VB6?
I hope my problem is clear.
Peter