Posted on 2011-10-06
Last Modified: 2012-05-12
Hi All,

I am reusing/rewriting some VB.Net code .... I am concerned about the GUID, do i need to create a new GUID to the application i am rewritting?

What is the purpose if a GUID?
What would happen if two applications had the same GUID?

Question by:MoreThanDoubled
    1 Comment
    LVL 40

    Accepted Solution

    The GUID was used in COM/ActiveX to identify a dll or an ActiveX executable. The GUID was recorded in the Windows registry along with some informations about the dll it was representing.

    .NET uses another method to identify an Assembly (.exe or .dll).

    So, unless you use it yourself for some reason, or unless you are using a third party that insists on a GUID, it is useless if you are using only .NET applications with .NET dlls. For some reason, you need to have one for compilation.

    However, if you are developing a .NET assembly that you think will be used by a COM application or dll, you will need the GUID to be able to register your assembly as is required by COM.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    794 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

    16 Experts available now in Live!

    Get 1:1 Help Now