Incorporate one winform in several applications

I have one winform and I want to include that winform in several windows applications develop in VB.net.  I do not want to include .resx and .vb files of that winform in each application.  I like somekind of reference  and I include that reference in teh application and it works.  I also like to have some parameters to be passed.  I do not know how to do it.  Please tell me how to do it.
tgatifAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlexFMCommented:
Create Class Library project and add form to it. In other projects (clients) you need to add reference to this Class Library (see References item in the Project Explorer). Having reference to class library you can create instance of any class from it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
checooCommented:
you can pass parameters to a form by over wirtting the new method of the form with some thing like below

private _strText as string

public sub new (byval strTest as string)
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call
        _strText = strTest
end sub
0
ptakjaCommented:
To add parameters, simply add Public or Friend scoped Properties to the Form Class.


0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.