c# - save the file into application directory -
this question has answer here:
i want save pdf file client machine programs file there.but shouldn't ask user,where save.that means file save user should install application,in folder the pdf file should save in windows application @ c#.
on windows 7 , later ... access program files/(x86) folders restricted , require admin rights. if application have required permissions save folder, application.executablepath provide location executable running in. can use various methods in system.io.path namespace retrieve folder name out of it.
Comments
Post a Comment