having a windows form inside a class library?
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts
Page 1 of 1
how can I have a windows form inside my class library so that I can run the windows form from the dll.
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

You could declare a function in the DLL to create/display the form.
Code: Select all
Public Sub test()
Dim f As Form = New Form()
f.ShowDialog()
End Sub
mandai wrote:You could declare a function in the DLL to create/display the form.Like I made a new form using the IDE, though it doesn't let me set it to show at startup, and It only lets me use usercontrols.Code: Select allPublic Sub test() Dim f As Form = New Form() f.ShowDialog() End Sub
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

You mean, make Form Dll (In simple words) ? That can probably be done, wait for mandai to see my post
I Think he misunderstood you...

I just decided to make a function execute it as he did, so thanks anyways.
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

5 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023