Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Reflection
Message
De
22/12/2008 19:28:54
 
 
À
22/12/2008 18:12:30
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Application:
Desktop
Divers
Thread ID:
01368964
Message ID:
01369281
Vues:
7
Or maybe you'll start getting private messages from him .... ;)

Kidding around Einar!

>Hopefully Einar won't twit me!
>
>>It's called a Freudian slip. ;)
>>
>>>Sweet, I didn't know that existed.
>>>
>>>Edit: I accidentally said "Sweety" instead of "Sweet". That changed the tone of my message completely!
>>>
>>>>Instead of just concatenaing path strings I reccomend using the Path.Combine function
>>>>
>>>>Path.Combine(Directory.GetCurrentDirectory(), "thedll.dll");
>>>>
>>>>
>>>>
>>>>>This is not the entire answer but will locate the DLL
>>>>>
>>>>>
System.IO.Directory.GetCurrentDirectory()+"\thedll.dll"
>>>>>
>>>>>
>>>>>Glenn
>>>>>
>>>>>>Can anyone point me in the right direction (sample code, etc.) to do the following:
>>>>>>
>>>>>>I need to invoke a class at runtime (most likely via reflection) contained in a DLL that I don't know until runtime its location. It will not be located in the start-in folder or program folder.
>>>>>>
>>>>>>Thanks!!
>>>>>>
>>>>>>Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform