Results 1 to 2 of 2

Thread: Two Custom Control Classes in 1 Class Library

  1. #1

    Thread Starter
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681

    Question Two Custom Control Classes in 1 Class Library

    VB.Net does not seem to let me add more than 1 custom control into a dll.

    My first custom control inherits from TabControl and implements a couple basic function. My second custom control is defined simply as:

    Public Class Class1
    Inherits System.Windows.Forms.TabControl
    End Class

    I can add both controls to the tool bar, but when I drag this one, it does nothing - no control is drawn on the form.

    Any ideas?

  2. #2

    Thread Starter
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    I recreated the DLL with the 2 controls and it works fine. Guess I found a bug somewhere.

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