Application.StartupPath

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
 
H

Herfried K. Wagner [MVP]

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top