Hi everybody. Do you know what's equal for code "app.patht" in c#.net 2008 ?
I tried "Application.ExecutablePath" and "Application.StartupPath" but they didn't work. I think they have their own name spaces that I havent added them.
Mortez Maya
0
Newbie Poster
Recommended Answers
Jump to PostI tried :
string p = Application.StartupPath;The string p contains the correct startuppath.
Jump to PostWhat is App.Path? Are you looking for the global and user specific configuration files for your application? If that is the case look at the
ConfigurationManager
class. If not then please explain what you're after in more detail
All 5 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
Mortez Maya
0
Newbie Poster
sknake
1,622
Senior Poster
Featured Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Mortez Maya
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.