Click here to Skip to main content
15,892,965 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Registry search Pin
Ingo14-Dec-05 1:19
Ingo14-Dec-05 1:19 
GeneralRe: Registry search Pin
HakunaMatada16-Dec-05 0:14
HakunaMatada16-Dec-05 0:14 
GeneralRe: Registry search Pin
Ingo16-Dec-05 0:22
Ingo16-Dec-05 0:22 
QuestionMSH For Building Projects Pin
Joshua Nussbaum13-Dec-05 7:21
Joshua Nussbaum13-Dec-05 7:21 
AnswerRe: MSH For Building Projects Pin
Jared Parsons20-Dec-05 5:48
Jared Parsons20-Dec-05 5:48 
QuestionProblem saving XML file through XmlDocument Pin
Ritesh Mehrotra13-Dec-05 1:41
Ritesh Mehrotra13-Dec-05 1:41 
QuestionMD5 checksum test for COM-DLLs Pin
Ingo13-Dec-05 1:04
Ingo13-Dec-05 1:04 
AnswerRe: MD5 checksum test for COM-DLLs Pin
Phillip M. Hoff22-Dec-05 18:46
Phillip M. Hoff22-Dec-05 18:46 
(You've probably found your answer already, but oh well.)

I'm not positive about this (and am too lazy to doublecheck), but I think the wrappers for the COM objecs in the interop assembly will have the CLSID attached to them via attributes. Assuming that, one could then use reflection to grab the CLSID for the COM wrapper being used, then open up the registry key associated with that CLSID and grab the location of the binary.

Example:

For the COM object MyOldCOMObject with CLSID "4C6055D8-84B9-4111-A7D3-6623894EEDB3", the interop assembly should generate something like this class definition:

[Guid("4C6055D8-84B9-4111-A7D3-6623894EEDB3")]
public class MyOldCOMObjectClass : IMyOldCOMObject
{
}

If so, then the registry should have a key like this:

HKEY_CLASSES_ROOT\CLSID\{4C6055D8-84B9-4111-A7D3-6623894EEDB3}\InprocServer32\(Default): C:\MyOldApplication\MyOldCOMServer.exe

-- modified at 0:47 Friday 23rd December, 2005 (CP doesn't seem to like my registry key example, even though preview works.)
GeneralRe: MD5 checksum test for COM-DLLs Pin
Ingo28-Dec-05 22:19
Ingo28-Dec-05 22:19 
QuestionVB.Net Excel Pin
fasttaxi12-Dec-05 23:32
fasttaxi12-Dec-05 23:32 
AnswerRe: VB.Net Excel Pin
Brent Lamborn15-Dec-05 4:47
Brent Lamborn15-Dec-05 4:47 
QuestionAdding a button to a form Pin
patrick king11-Dec-05 11:22
patrick king11-Dec-05 11:22 
AnswerRe: Adding a button to a form Pin
Christian Graus11-Dec-05 12:06
protectorChristian Graus11-Dec-05 12:06 
QuestionRe: Adding a button to a form Pin
patrick king12-Dec-05 2:50
patrick king12-Dec-05 2:50 
AnswerRe: Adding a button to a form Pin
Ray Cassick12-Dec-05 10:21
Ray Cassick12-Dec-05 10:21 
GeneralRe: Adding a button to a form Pin
Ray Cassick12-Dec-05 10:23
Ray Cassick12-Dec-05 10:23 
QuestionShowing an image Pin
Yevgeny Efter11-Dec-05 6:49
Yevgeny Efter11-Dec-05 6:49 
AnswerRe: Showing an image Pin
Dave Kreskowiak11-Dec-05 13:46
mveDave Kreskowiak11-Dec-05 13:46 
AnswerRe: Showing an image Pin
Saksida Bojan11-Dec-05 20:50
Saksida Bojan11-Dec-05 20:50 
QuestionGetting UserControls to show up in the Toolbox? Pin
dxben10-Dec-05 22:02
dxben10-Dec-05 22:02 
AnswerRe: Getting UserControls to show up in the Toolbox? Pin
Yuvi Panda10-Dec-05 23:29
Yuvi Panda10-Dec-05 23:29 
QuestionSize of a Folder Pin
Yuvi Panda10-Dec-05 21:50
Yuvi Panda10-Dec-05 21:50 
AnswerRe: Size of a Folder Pin
rob tillaart10-Dec-05 23:20
rob tillaart10-Dec-05 23:20 
NewsRe: Size of a Folder Pin
Yuvi Panda10-Dec-05 23:28
Yuvi Panda10-Dec-05 23:28 
GeneralRe: Size of a Folder Pin
Yuvi Panda10-Dec-05 23:58
Yuvi Panda10-Dec-05 23:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.