Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
AnswerRe: Ugly error Pin
nc3b30-Jan-06 22:06
nc3b30-Jan-06 22:06 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:11
nc3b30-Jan-06 22:11 
GeneralRe: Ugly error Pin
Colin Angus Mackay30-Jan-06 22:27
Colin Angus Mackay30-Jan-06 22:27 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:29
nc3b30-Jan-06 22:29 
GeneralRe: Ugly error Pin
Colin Angus Mackay30-Jan-06 22:46
Colin Angus Mackay30-Jan-06 22:46 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:48
nc3b30-Jan-06 22:48 
GeneralRe: Ugly error Pin
Colin Angus Mackay30-Jan-06 22:50
Colin Angus Mackay30-Jan-06 22:50 
AnswerRe: Ugly error Pin
Ingo30-Jan-06 22:46
Ingo30-Jan-06 22:46 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 22:56
nc3b30-Jan-06 22:56 
GeneralRe: Ugly error Pin
Ingo30-Jan-06 23:08
Ingo30-Jan-06 23:08 
GeneralRe: Ugly error Pin
nc3b30-Jan-06 23:11
nc3b30-Jan-06 23:11 
GeneralRe: Ugly error Pin
Ingo30-Jan-06 23:22
Ingo30-Jan-06 23:22 
GeneralRe: Ugly error Pin
nc3b31-Jan-06 6:52
nc3b31-Jan-06 6:52 
GeneralRe: Ugly error Pin
nc3b31-Jan-06 7:07
nc3b31-Jan-06 7:07 
GeneralRe: Ugly error Pin
S. Senthil Kumar31-Jan-06 15:50
S. Senthil Kumar31-Jan-06 15:50 
GeneralRe: Ugly error Pin
nc3b31-Jan-06 21:41
nc3b31-Jan-06 21:41 
QuestionInstantiating a class from a third party DLL and calling methods on it Pin
Vikram A Punathambekar30-Jan-06 20:08
Vikram A Punathambekar30-Jan-06 20:08 
AnswerRe: Instantiating a class from a third party DLL and calling methods on it Pin
Kodanda Pani30-Jan-06 20:42
Kodanda Pani30-Jan-06 20:42 
GeneralRe: Instantiating a class from a third party DLL and calling methods on it Pin
Vikram A Punathambekar30-Jan-06 21:59
Vikram A Punathambekar30-Jan-06 21:59 
AnswerRe: Instantiating a class from a third party DLL and calling methods on it Pin
S. Senthil Kumar31-Jan-06 15:57
S. Senthil Kumar31-Jan-06 15:57 
Reflection is the way to go. You can use Assembly.Load[^] or one of its variations to get an Assembly object, then use the GetExportedTypes[^] method on that Assembly object to retrieve types in that assembly. You can then iterate over the types and use FindInterfaces[^] to check if that type implements the interface you want. Activator.CreateInstance[^] creates instances given the type and you should find it simple from there on.

Remember though, the assembly gets loaded in your AppDomain, so it won't get unloaded till your app (or your AppDomain) shuts down. So if some other process tries to write to that assembly, it will fail.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: Instantiating a class from a third party DLL and calling methods on it Pin
Vikram A Punathambekar31-Jan-06 16:18
Vikram A Punathambekar31-Jan-06 16:18 
QuestionGet html flow when the page is called Pin
porgy30-Jan-06 19:51
porgy30-Jan-06 19:51 
AnswerRe: Get html flow when the page is called Pin
leppie30-Jan-06 20:33
leppie30-Jan-06 20:33 
GeneralRe: Get html flow when the page is called Pin
porgy31-Jan-06 9:21
porgy31-Jan-06 9:21 
QuestionLaunch Mail Recipient programmatically Pin
NewbieDude30-Jan-06 19:37
NewbieDude30-Jan-06 19:37 

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.