Paths

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

In a class, is there a way to reference the application class? In stanard
apps, I use the application. methods to get paths, etc. Is there a way to
do this in a dll? When I reference it in a dll class, it says it's
undefined. Is there a particular namespace i need to import?
Thanks.
 
Hello,

Jon said:
In a class, is there a way to reference the application class?
In stanard apps, I use the application. methods to get paths,
etc. Is there a way to do this in a dll?

Have a look at the 'Assembly' class.
When I reference it in a dll class, it says it's undefined. Is
there a particular namespace i need to import?

You will have to set a reference to "System.Windows.Forms.dll".
 
Back
Top