Well I'm having a little issue, which I've never encountered before doing this exact task, so I'm stumped..
I'm trying to fancy up a panel control with some style so I created a class as such..
Notice there are no styles event set yet, that's the part that gets me. Simply doing this I get the error - which only occurs during design time. The control will and does actually work when the application is running.vbnet Code:
Public Class Class1 Inherits System.Windows.Forms.Panel Public Sub New() End Sub End Class
So the error message I recieve is "Failed to create component for 'Class1'... yadda yadda yadda." I'll attach an image of the message just so I don't have to type it all.
To me though this message makes no sense, and I'm hoping someone can translate it so that it's legible in my sense of understanding. Like I said though in the past I've done this exact thing without a problem.. so I'm not sure what could've gone wrong between then and now.





Reply With Quote