Hello

I have created an dll for my windows application ...the app contains two buttons which on click displays message box with some message. Now i create another windows application which contains one button, when i click this button my dll has to be executed . i.e the form with two button has to be run. How can i make this work


Thank you

Keep rocking

Recommended Answers

All 3 Replies

In the solution explorer right click on references and select Add Reference. Click the browse tab and browse to your DLL, select it and hit OK.

Now you have access to the public classes of the DLL. Create a form from whatever class is in the DLL that contains your form and call Show on it, just like you would any other form.

Thx a lot...... it jst worked like a gem :) :)

just publish the web site. go to the precompile folder. copy the bin folder as it contains all the dlls and give it to any other system.:)
Mark as complete if you like my answer!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.