Click here to Skip to main content
15,867,568 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: .NET , SQLite to SQLServer Entity Framework migration Pin
Eddy Vluggen22-Jul-18 23:47
professionalEddy Vluggen22-Jul-18 23:47 
GeneralRe: .NET , SQLite to SQLServer Entity Framework migration Pin
Mycroft Holmes23-Jul-18 0:03
professionalMycroft Holmes23-Jul-18 0:03 
QuestionOpen source xamarin apps for learning Pin
Nitin S18-Jul-18 1:20
professionalNitin S18-Jul-18 1:20 
AnswerRe: Open source xamarin apps for learning Pin
Pete O'Hanlon18-Jul-18 1:51
subeditorPete O'Hanlon18-Jul-18 1:51 
AnswerRe: Open source xamarin apps for learning Pin
Eddy Vluggen20-Jul-18 4:07
professionalEddy Vluggen20-Jul-18 4:07 
AnswerRe: Open source xamarin apps for learning Pin
Nitin S22-Jul-18 18:16
professionalNitin S22-Jul-18 18:16 
GeneralRe: Open source xamarin apps for learning Pin
Pete O'Hanlon22-Jul-18 20:42
subeditorPete O'Hanlon22-Jul-18 20:42 
QuestionFile delete permission problem Pin
primem0ver13-Jul-18 8:18
primem0ver13-Jul-18 8:18 
I know why I am having the problem but I need a solution/workaround.

I have a c# program that generates excel output and saves it as an html file in the user's document folder. This automatically generates the [excel_file_name]_files subfolderwhich is used to store specific info used by the html file. The program ALSO auto-generates jpg images every time it is run based on historic data that is taken from the spreadsheet each time it is run and saves those images in this sub-folder. The program needs to be able to delete the files it creates within this folder but of course the user's folder makes sure to keep programs from simply deleting arbitrary files within the user's folder so that prevents me from deleting them as I do not have permission to delete a users files.

Is it possible for me to programmatically grant the application OS permissions to delete/change files it creates within a user's subfolder? Or will the user need to run the program with admin rights each time (if they can even get such rights).?
AnswerRe: File delete permission problem Pin
Gerry Schmitz13-Jul-18 8:37
mveGerry Schmitz13-Jul-18 8:37 
GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 9:32
primem0ver13-Jul-18 9:32 
GeneralRe: File delete permission problem Pin
Gerry Schmitz13-Jul-18 10:18
mveGerry Schmitz13-Jul-18 10:18 
GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 13:41
primem0ver13-Jul-18 13:41 
GeneralRe: File delete permission problem Pin
Gerry Schmitz14-Jul-18 4:48
mveGerry Schmitz14-Jul-18 4:48 
AnswerRe: File delete permission problem Pin
Dave Kreskowiak13-Jul-18 9:53
mveDave Kreskowiak13-Jul-18 9:53 
GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 10:35
primem0ver13-Jul-18 10:35 
GeneralRe: File delete permission problem Pin
Dave Kreskowiak13-Jul-18 11:07
mveDave Kreskowiak13-Jul-18 11:07 
GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 14:05
primem0ver13-Jul-18 14:05 
GeneralRe: File delete permission problem Pin
Dave Kreskowiak13-Jul-18 17:23
mveDave Kreskowiak13-Jul-18 17:23 
GeneralRe: File delete permission problem Pin
Gerry Schmitz14-Jul-18 5:01
mveGerry Schmitz14-Jul-18 5:01 
GeneralRe: File delete permission problem Pin
primem0ver16-Jul-18 5:36
primem0ver16-Jul-18 5:36 
GeneralRe: File delete permission problem Pin
Dave Kreskowiak16-Jul-18 5:49
mveDave Kreskowiak16-Jul-18 5:49 
QuestionError in list saved in user settings: strings doesn't save Pin
SebGM20186-Jul-18 20:03
SebGM20186-Jul-18 20:03 
AnswerRe: Error in list saved in user settings: strings doesn't save Pin
Richard MacCutchan6-Jul-18 20:58
mveRichard MacCutchan6-Jul-18 20:58 
AnswerRe: Error in list saved in user settings: strings doesn't save Pin
Dave Kreskowiak7-Jul-18 6:02
mveDave Kreskowiak7-Jul-18 6:02 
QuestionC# Student Programming Pin
Member 1388662825-Jun-18 10:36
Member 1388662825-Jun-18 10:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.