controls in dll or not

Posted on 2007-08-04
Last Modified: 2013-11-05
I made some input controls in VB.NET. Now I had to make a choice: compile it to a dll or put the controls straight forward in the programm. What is the difference in speed and can you get compatability problems when you make a change and compile it to a dll?
Question by:dgb
    LVL 6

    Accepted Solution


    compiled DLL make ur app easy to trace ... and you can share the DLL in many
    app in the same computer ... and make your app smaler and easy to update .

    Author Comment

    oke, but when you find an error, and want to fix it is there no problem with compatibility. With VB6 you had the problem that if you made a change the compatibility was sometimes broken. The result was that program was not running anymore.
    How is speeddifference?
    LVL 44

    Assisted Solution

    There is no such thing as 'compatability' with vb.NET.  In fact, you can have several versions of the same DLL on the same box, and the separate programs that use those different versions are totally happy, using their own version of the DLL.  If you need to have only one version, then you can install that version in the GAC (Global Assembly Cache), and then ALL programs can use that single version.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Article by: Kraeven
    Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now