Click here to Skip to main content
15,610,707 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to avoid references Pin
Heath Stewart20-Jan-04 5:26
protectorHeath Stewart20-Jan-04 5:26 
GeneralRe: how to avoid references Pin
Mephisto18720-Jan-04 22:12
Mephisto18720-Jan-04 22:12 
GeneralRe: how to avoid references Pin
Heath Stewart21-Jan-04 3:46
protectorHeath Stewart21-Jan-04 3:46 
GeneralRe: how to avoid references Pin
Mephisto18721-Jan-04 5:08
Mephisto18721-Jan-04 5:08 
AnswerRe: how to avoid references Pin
Jose Fco Bonnin20-Jan-04 5:30
Jose Fco Bonnin20-Jan-04 5:30 
GeneralRe: how to avoid references Pin
Jose Fco Bonnin20-Jan-04 6:01
Jose Fco Bonnin20-Jan-04 6:01 
GeneralRe: how to avoid references Pin
Mephisto18720-Jan-04 22:28
Mephisto18720-Jan-04 22:28 
GeneralRe: how to avoid references Pin
Heath Stewart21-Jan-04 3:24
protectorHeath Stewart21-Jan-04 3:24 
You cast the object that you get from Activator.CreateInstance to whatever class or interface it is. The assembly still has to be resolvable by either being in the application directory, a private path, the Global Assembly Cache, or by an implementation in your handler for the AppDomain.AssemblyResolve event. If the assembly can't be found that contains the Type, you'll get a TypeLoadException. Note that there is a significant performance issue using this over direct instantiation.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
AnswerRe: how to avoid references Pin
Paul Evans20-Jan-04 22:56
Paul Evans20-Jan-04 22:56 
GeneralSTRING MANIPULATION Pin
POKRI20-Jan-04 3:31
POKRI20-Jan-04 3:31 
GeneralRe: STRING MANIPULATION Pin
Larry J. Siddens20-Jan-04 3:46
Larry J. Siddens20-Jan-04 3:46 
GeneralRe: STRING MANIPULATION Pin
Heath Stewart20-Jan-04 4:12
protectorHeath Stewart20-Jan-04 4:12 
GeneralRe: STRING MANIPULATION Pin
Larry J. Siddens20-Jan-04 5:59
Larry J. Siddens20-Jan-04 5:59 
GeneralRe: STRING MANIPULATION Pin
Heath Stewart20-Jan-04 6:05
protectorHeath Stewart20-Jan-04 6:05 
GeneralRe: STRING MANIPULATION Pin
Larry J. Siddens20-Jan-04 6:09
Larry J. Siddens20-Jan-04 6:09 
GeneralRe: STRING MANIPULATION Pin
Jose Fco Bonnin20-Jan-04 5:33
Jose Fco Bonnin20-Jan-04 5:33 
GeneralRe: STRING MANIPULATION Pin
Heath Stewart20-Jan-04 5:42
protectorHeath Stewart20-Jan-04 5:42 
GeneralRe: STRING MANIPULATION Pin
leppie20-Jan-04 6:23
leppie20-Jan-04 6:23 
GeneralRe: STRING MANIPULATION Pin
Jose Fco Bonnin21-Jan-04 4:07
Jose Fco Bonnin21-Jan-04 4:07 
GeneralRe: STRING MANIPULATION Pin
leppie21-Jan-04 6:09
leppie21-Jan-04 6:09 
GeneralRe: STRING MANIPULATION Pin
POKRI21-Jan-04 2:09
POKRI21-Jan-04 2:09 
GeneralOWC components Pin
pankajdaga20-Jan-04 3:13
pankajdaga20-Jan-04 3:13 
GeneralDirectX CaptureBuffer run-time error Pin
Shimi12319-Jan-04 23:42
Shimi12319-Jan-04 23:42 
GeneralRe: DirectX CaptureBuffer run-time error Pin
Shimi12320-Jan-04 3:02
Shimi12320-Jan-04 3:02 
GeneralData type lost when convertingto XML Pin
Yaron K.19-Jan-04 23:23
Yaron K.19-Jan-04 23:23 

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.