Click here to Skip to main content
15,894,907 members
Home / Discussions / C#
   

C#

 
GeneralRe: implementing interface not in same dir as class Pin
shaunAustin9-Jun-03 8:34
shaunAustin9-Jun-03 8:34 
GeneralRe: implementing interface not in same dir as class Pin
zuhx11-Jun-03 4:21
zuhx11-Jun-03 4:21 
GeneralRe: implementing interface not in same dir as class Pin
Kant6-Jun-03 16:34
Kant6-Jun-03 16:34 
GeneralRe: implementing interface not in same dir as class Pin
shaunAustin7-Jun-03 0:49
shaunAustin7-Jun-03 0:49 
GeneralRe: implementing interface not in same dir as class Pin
Kant7-Jun-03 4:42
Kant7-Jun-03 4:42 
GeneralRe: implementing interface not in same dir as class Pin
shaunAustin8-Jun-03 21:50
shaunAustin8-Jun-03 21:50 
GeneralRe: implementing interface not in same dir as class Pin
Kant9-Jun-03 12:13
Kant9-Jun-03 12:13 
GeneralRe: implementing interface not in same dir as class Pin
shaunAustin9-Jun-03 12:53
shaunAustin9-Jun-03 12:53 
Many Many Apologies Kant...

I was getting tied up with the other issues in this thread as there seems to be a double stream to it... now that I've re-read I can answer your quezzie!!

Big Grin | :-D

The exception will be thrown the first time the type in the DLL is requested by the EXE as the runtime will attempt to load the assembly and create the object.

What I would do is either find the point in the execution where the types are first loaded and wrap that in the old try catches

OR

do a quick instantiation of a known class, wrapping it in a try catch for each of the DLLs..

OR

create a simple class in each assembly (maybe with a simple static call) and try to call it...

OR if none of those are suitable...

You could add entries into your App.Config file which lists the dlls you require to exist in your app folder and just do a DirectorySearch...

I Dunno... it's tricky!!

OMG | :OMG: WTF | :WTF: OMG | :OMG: WTF | :WTF:

Shaun

GeneralRe: implementing interface not in same dir as class Pin
Kant9-Jun-03 15:34
Kant9-Jun-03 15:34 
GeneralRe: implementing interface not in same dir as class Pin
Kant7-Jun-03 5:17
Kant7-Jun-03 5:17 
GeneralObject events through the ide Pin
RB@Emphasys5-Jun-03 8:53
RB@Emphasys5-Jun-03 8:53 
GeneralRe: Object events through the ide Pin
Paresh Gheewala5-Jun-03 9:35
Paresh Gheewala5-Jun-03 9:35 
GeneralRe: Object events through the ide Pin
RB@Emphasys5-Jun-03 9:48
RB@Emphasys5-Jun-03 9:48 
GeneralMaster-Detail datagrid Pin
Madhuri Mittal5-Jun-03 6:38
Madhuri Mittal5-Jun-03 6:38 
GeneralRe: Master-Detail datagrid Pin
Paresh Gheewala5-Jun-03 9:19
Paresh Gheewala5-Jun-03 9:19 
GeneralHosting an IE window in a form Pin
eggie55-Jun-03 4:54
eggie55-Jun-03 4:54 
GeneralRe: Hosting an IE window in a form Pin
dynamic5-Jun-03 5:15
dynamic5-Jun-03 5:15 
GeneralRe: Hosting an IE window in a form Pin
eggie55-Jun-03 10:40
eggie55-Jun-03 10:40 
GeneralIncluding Files in Projects and FilePaths Pin
STW5-Jun-03 3:02
STW5-Jun-03 3:02 
GeneralRe: Including Files in Projects and FilePaths Pin
Kant5-Jun-03 8:22
Kant5-Jun-03 8:22 
GeneralToolbars, Toolbars, Toolbars Pin
MrEyes5-Jun-03 1:51
MrEyes5-Jun-03 1:51 
GeneralRe: Toolbars, Toolbars, Toolbars Pin
J. Dunlap5-Jun-03 7:52
J. Dunlap5-Jun-03 7:52 
GeneralRe: Toolbars, Toolbars, Toolbars Pin
xxrl5-Jun-03 15:55
xxrl5-Jun-03 15:55 
GeneralRe: Toolbars, Toolbars, Toolbars Pin
J. Dunlap5-Jun-03 16:00
J. Dunlap5-Jun-03 16:00 
GeneralRe: Toolbars, Toolbars, Toolbars Pin
MrEyes5-Jun-03 23:38
MrEyes5-Jun-03 23:38 

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.