Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Reflection
Message
 
To
22/12/2008 09:42:23
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Vista
Application:
Desktop
Miscellaneous
Thread ID:
01368964
Message ID:
01369131
Views:
10
LMAO. Yes it is a very nice function to use. I usually made a function like this in all the programming languages I have been writing in but it is nice that it is built in. That darn '/' in the path (or lack thereof) has been to cause of a lot of issues.


>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
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform