Click here to Skip to main content
15,915,163 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, can anybody help on this, How to create CLSID (Class Id) for dll using regasm.exe

thanks
sanjeev
Posted
Updated 18-Dec-12 0:41am
v2

1 solution

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.

VB
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.
 
Share this answer
 
v2
Comments
Sanjeev Alamuri 18-Dec-12 6:02am    
Thanks for reply, this was already tried. but not solved.
Jibesh 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 18-Dec-12 6:43am    
Okay but how? please let me with brief explanation.
Jibesh 18-Dec-12 15:21pm    
check my updated solution
Sanjeev Alamuri 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900