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?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jacques Bourgeois (James Burger)PresidentCommented:
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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.