Hi Everyone,
I'm upgrading a usercontrol from VB6 to VB2005. I didn't write the original code so I'm not entirely sure how it works (and this is my first usercontrol!). The usercontrol itself has no errors and I've added it successfully to a form in another project. However, when I try to run that project I get this error:
An error occurred creating the form. See Exception.InnerException for details.
The error is: Get not supported at runtime.
My first guess was that there was something wrong with the properties as they have "Get" statements in them. But they seem to be structured correctly. An example:
Public
Property Belt_Width() As SingleGetEnd Get Set(ByVal Value As Single)Belt_Width = m_Belt_Width
RaiseEvent Belt_WidthChange() Call Calculate() Call Calculate() If Me.Auto_Calculate = True And Me.Redraw_Graphics = True Then g.Clear(Color.White) Call Calculate()m_Belt_Width = Value
End Set
End Property
There's lots of these.
What I'm hoping is that someone has a more specific reason for this error or an idea where I can look for the problem because right now I have no idea.
Thanks for the help!
Jess