Application.StartupPath

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all,

I have a project that has been using Application.StartupPath successfully
for a couple months now. However, when I pulled up the source just recently
the compiler (or code complete) doesn't recognize this method. Am I missing
something here?

thanks,
rodchar
 
rodchar said:
I have a project that has been using Application.StartupPath successfully
for a couple months now. However, when I pulled up the source just
recently
the compiler (or code complete) doesn't recognize this method. Am I
missing
something here?

Make sure the project contains a reference to "System.Windows.Forms.dll" and
the namespace 'System.Windows.Forms' is imported.
 
thanks, this helped.

Herfried K. Wagner said:
Make sure the project contains a reference to "System.Windows.Forms.dll" and
the namespace 'System.Windows.Forms' is imported.
 
Back
Top