Trying to pass a UDT to a property I get error
- From: "Dan Rowe" <NoSpam4Me@xxxxxxxx>
- Date: Thu, 28 Jul 2005 12:49:07 -0400
I have been trying to pass a UDT type to a control.
THe type is declared in a library that is refrenced in the control and the
calling application.
I fill values in the parent app and try to pass the UDT to the controls
property and I get the error
"ByRef Argument type Mismatch"
The error occurs on this line in the parent app
ucPmcTypeTest.udt*** = ***
THe property in my control is coded like so
Public Property Let udt***(byRef udtNewValue as smShapeManager)
msgbox "Hey it works"
End property
Any ideas what is wrong I tried with different types to be sure it was not
something in the 1 type
TIA
Dan Rowe
.
- Follow-Ups:
- Re: Trying to pass a UDT to a property I get error
- From: Jeff Johnson [MVP: VB]
- Re: Trying to pass a UDT to a property I get error
- Prev by Date: Re: Masked edit control properties
- Next by Date: Image and ImageList controls
- Previous by thread: how to use timer control in ASP.Net?
- Next by thread: Re: Trying to pass a UDT to a property I get error
- Index(es):