Click here to Skip to main content
14,330,121 members

.NET Framework

 
GeneralRe: .NET , SQLite to SQLServer Entity Framework migration Pin
Mycroft Holmes23-Jul-18 0:03
memberMycroft Holmes23-Jul-18 0:03 
AnswerMessage Closed Pin
29-Aug-18 20:56
memberMember 1396687129-Aug-18 20:56 
QuestionOpen source xamarin apps for learning Pin
Nitin Sawant18-Jul-18 1:20
professionalNitin Sawant18-Jul-18 1:20 
AnswerRe: Open source xamarin apps for learning Pin
Pete O'Hanlon18-Jul-18 1:51
protectorPete O'Hanlon18-Jul-18 1:51 
AnswerRe: Open source xamarin apps for learning Pin
Eddy Vluggen20-Jul-18 4:07
mveEddy Vluggen20-Jul-18 4:07 
AnswerRe: Open source xamarin apps for learning Pin
Nitin Sawant22-Jul-18 18:16
professionalNitin Sawant22-Jul-18 18:16 
GeneralRe: Open source xamarin apps for learning Pin
Pete O'Hanlon22-Jul-18 20:42
protectorPete O'Hanlon22-Jul-18 20:42 
QuestionFile delete permission problem Pin
primem0ver13-Jul-18 8:18
memberprimem0ver13-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
memberprimem0ver13-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
memberprimem0ver13-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
memberprimem0ver13-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
memberprimem0ver13-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
memberprimem0ver16-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
memberSebGM20186-Jul-18 20:03 
AnswerRe: Error in list saved in user settings: strings doesn't save Pin
Richard MacCutchan6-Jul-18 20:58
protectorRichard 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
memberMember 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.