Results 1 to 7 of 7

Thread: [RESOLVED] Failed To Create Component

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member DavesChillaxin's Avatar
    Join Date
    Mar 2011
    Location
    WNY
    Posts
    451

    Resolved [RESOLVED] Failed To Create Component

    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..
    vbnet Code:
    1. Public Class Class1
    2.     Inherits System.Windows.Forms.Panel
    3.  
    4.     Public Sub New()
    5.  
    6.     End Sub
    7.  
    8. End Class
    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.

    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.
    Attached Images Attached Images  
    Last edited by DavesChillaxin; Dec 1st, 2011 at 10:28 AM.
    Please rate if my post was helpful!
    Per favore e grazie!




    Code Bank:
    Advanced Algebra Class *Update | True Gradient Label Control *Dev | A Smarter TextBox *Update | Register Global HotKey *Update
    Media Library Beta *Dev | Mouse Tracker (Available in VB.net and C#.net) *New | On-Screen Numpad (VB.net) *New

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width