|
-
Sep 3rd, 2009, 08:38 AM
#1
Thread Starter
Hyperactive Member
-
Sep 3rd, 2009, 08:45 AM
#2
Re: DLL - Making buttons
I'm not sure about setting the parent etc but the reason why you can just create a new button in a DLL Class library project is because the Button class lives in System.Windows.Forms and by default that reference is not added to a class library project. Add a reference to System.Windows.Forms and then you can do that (but you will have to either import the System.Windows.Forms namespace at the top of your code or fully qualify the Button class - e.g Dim Button1 As New System.Windows.Forms.Button).
Hope that helps
-
Sep 3rd, 2009, 09:04 AM
#3
Thread Starter
Hyperactive Member
-
Sep 3rd, 2009, 09:11 AM
#4
Re: [RESOLVED] DLL - Making buttons
no worries, glad I could help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|