This is a discussion on Converting Windows Application to DLL within the C# Programming forums, part of the Software Development category; Converting Windows Application to DLL I have windows application which has three text boxes and on button. I am adding ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Converting Windows Application to DLL I have windows application which has three text boxes and on button. I am adding the values from textbox1 & textbox2 and showing he result in textbox3 when the button is clicked. Now i want convert this application into a DLL and use the DLL in other applications.
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
|
#2
| |||
| |||
| Hi, Usually, dll's do not contain interfaces. They are used to store general operations, like functions that make mathematical calculations, connections to databases and so on. What you wanna do is to store a interface into a dll. I do not see the need for that. |
|
#3
| |||
| |||
| Hi, Thanks. Is it possible to convert windows application into a DLL
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
|
#4
| |||
| |||
| Hi, I advice you to create a UserControl that contains three TextBox and a Button. Add code in the button's Click event handler to add the values in the first two TextBox and show it in the third TextBox. Build the application, and then you can add the UserControl on any form you'd like to reuse the function. You can create the UserControl in a Windows Application project or a Windows Control Library project. The only difference is that the former project produces a .exe and the latter produces a .dll file. In .NET world, both .exe and .dll are assembly and can be referenced by other .NET application.
__________________ A.Rajesh Khanna |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Mobile application perfomance | ctesias | Mobile Software Development | 2 | 10-03-2009 02:55 AM |
| cannot open pdf files in windows application using vb .net 2008 | arjkhanna | C# Programming | 2 | 05-25-2009 10:28 PM |
| windows application | saravanan | ASP and ASP.NET Programming | 2 | 04-23-2008 11:45 PM |
| Windows application questions | Mramesh | C# Programming | 15 | 02-23-2008 02:40 AM |
| How can i include Google Earth in my C# Windows application? | a.deeban | C# Programming | 12 | 10-22-2007 04:51 AM |
Our Partners |