Click here to Skip to main content
Rate this: bad
good
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
 
thanks
sanjeev
Posted 18-Dec-12 0:20am
Edited 18-Dec-12 1:41am
v2

1 solution

Rate this: bad
good
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).
 
read more[^]
 
To get the CLSID from GUIDGen.
Open Visual Studio-->Tools-> menu
select GUID select the Registry format as given in the pic[^] press copy.
  Permalink  
v2
Comments
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.
http://www.codeproject.com/Articles/14276/Using-Windows-Application-on-web
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 OriginalGriff 406
1 /\jmot 180
2 Suraj Sahoo | Coding Passion 170
3 Afzaal Ahmad Zeeshan 159
4 BillWoodruff 154
0 OriginalGriff 8,344
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,634
3 Maciej Los 5,024
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2014
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