IT Community - Software Programming, Web Development and Technical Support

Converting Windows Application to DLL

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 05-27-2009, 12:08 AM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Converting Windows Application to DLL

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...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-27-2009, 12:09 AM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: Converting Windows Application to DLL

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.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-27-2009, 12:10 AM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: Converting Windows Application to DLL

Hi,

Thanks. Is it possible to convert windows application into a DLL
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-27-2009, 12:22 AM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: Converting Windows Application to DLL

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT -7. The time now is 03:14 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0