S
SharpCoderMP
hi,
i need a common path for storing some of my apps data. The
Application.UserAppDataPath property seemed like a great idea, but
unfortunately the path it returns consits of the following elements:
Base Path\ CompanyName\ ProductName\ ProductVersion
now i don't need the product version in my path. is there a clean way to
get this Application.UserAppDataPath without the product version part?
can i somehow set manually my Application.UserAppDataPath at the
designtime or app lunch?
or maybe i could somehow retrieve only the "Base Path" part of the
Application.UserAppDataPath property?
i know i can manually mess with the string i get from this property, but
i would like to avoid this so there would be no risk of messing up
something when i forget to strip the UserAppDataPath property in one or
another place inside my code.
i need a common path for storing some of my apps data. The
Application.UserAppDataPath property seemed like a great idea, but
unfortunately the path it returns consits of the following elements:
Base Path\ CompanyName\ ProductName\ ProductVersion
now i don't need the product version in my path. is there a clean way to
get this Application.UserAppDataPath without the product version part?
can i somehow set manually my Application.UserAppDataPath at the
designtime or app lunch?
or maybe i could somehow retrieve only the "Base Path" part of the
Application.UserAppDataPath property?
i know i can manually mess with the string i get from this property, but
i would like to avoid this so there would be no risk of messing up
something when i forget to strip the UserAppDataPath property in one or
another place inside my code.