Click here to Skip to main content
11,719,185 members (82,213 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET2.0 C#2.0
Hi, can anybody help on this, How to create CLSID (Class Id) for dll using regasm.exe

Posted 17-Dec-12 23:20pm
Edited 18-Dec-12 0:41am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You should use GUIDGEN.exe to create CLSID. found another article to create CLSID using regasm.exe but its not that true i guess. give a try.

By calling
regasm.exe /codebase /tlb whatever.dll
depending on your needs, /codebase or /tlb might not be needed (i.e. you can also try just regasm.exe whatever.dll).


To get the CLSID from GUIDGen.
Open Visual Studio-->Tools-> menu
select GUID select the Registry format as given in the pic[^] press copy.
Sanjeev Alamuri at 18-Dec-12 6:02am
Thanks for reply, this was already tried. but not solved.
jibesh at 18-Dec-12 6:09am
how about GUIDGEN.exe ? it will create a UNIQ ID for you. we used the same when we work with COM.
Sanjeev Alamuri at 18-Dec-12 6:43am
Okay but how? please let me with brief explanation.
jibesh at 18-Dec-12 15:21pm
check my updated solution
Sanjeev Alamuri at 18-Dec-12 23:50pm
Thanks jibesh. Actually im are working on "window in webforms", i mean displaying windows form in webpage. i googled and found the following link.
please have a look at this link, there im facing the problem at 11 point.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 1,734
1 OriginalGriff 690
2 Maciej Los 569
3 Richard MacCutchan 540
4 F-ES Sitecore 510

Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100