Click here to Skip to main content
13,863,642 members

Article Writing

 
PinnedFound plagiarism? Not sure if it is plagiarism? PinPopular
Sean Ewington30-Jul-15 6:25
staffSean Ewington30-Jul-15 6:25 
PinnedNote From Code Project - The Article Writing Forum PinPopular
Sean Ewington17-Jul-09 5:12
staffSean Ewington17-Jul-09 5:12 
QuestionBlog needing help Pin
Nelek17-Feb-19 21:37
protectorNelek17-Feb-19 21:37 
AnswerRe: Blog needing help Pin
OriginalGriff17-Feb-19 21:58
protectorOriginalGriff17-Feb-19 21:58 
AnswerRe: Blog needing help Pin
Arthur V. Ratz23hrs 40mins ago
mvaArthur V. Ratz23hrs 40mins ago 
GeneralRe: Blog needing help Pin
Nelek23hrs 30mins ago
protectorNelek23hrs 30mins ago 
GeneralRe: Blog needing help Pin
Arthur V. Ratz22hrs 54mins ago
mvaArthur V. Ratz22hrs 54mins ago 
GeneralRe: Blog needing help Pin
Nelek22hrs 48mins ago
protectorNelek22hrs 48mins ago 
GeneralRe: Blog needing help Pin
Arthur V. Ratz22hrs 42mins ago
mvaArthur V. Ratz22hrs 42mins ago 
GeneralRe: Blog needing help Pin
Nelek22hrs 30mins ago
protectorNelek22hrs 30mins ago 
GeneralRe: Blog needing help Pin
Arthur V. Ratz22hrs 16mins ago
mvaArthur V. Ratz22hrs 16mins ago 
GeneralRe: Blog needing help Pin
Nelek18hrs 58mins ago
protectorNelek18hrs 58mins ago 
GeneralRe: Blog needing help Pin
Arthur V. Ratz18hrs 52mins ago
mvaArthur V. Ratz18hrs 52mins ago 
QuestionImporting project from GitHub -- reflecting changes. Pin
Arthur V. Ratz17-Feb-19 3:48
mvaArthur V. Ratz17-Feb-19 3:48 
QuestionEmbedding a video Pin
Benktesh Sharma15-Feb-19 19:07
memberBenktesh Sharma15-Feb-19 19:07 
Questionblogs needing help Pin
Nelek12-Feb-19 20:38
protectorNelek12-Feb-19 20:38 
AnswerRe: blogs needing help Pin
Sean Ewington13-Feb-19 9:34
staffSean Ewington13-Feb-19 9:34 
QuestionC#.net windows Application Pin
Member 1414864112-Feb-19 19:50
memberMember 1414864112-Feb-19 19:50 
AnswerRe: C#.net windows Application Pin
Pete O'Hanlon12-Feb-19 21:34
protectorPete O'Hanlon12-Feb-19 21:34 
QuestionAccess to the path is denied Pin
Lucifer Morningstar7-Feb-19 21:29
memberLucifer Morningstar7-Feb-19 21:29 
Hello,

i just develop a antivirus in vb.net, and i'm getting the error below. The application needs to scan files in the given path, and i'm being denied access.

Can you explain what could be causing the error?
could it be code bug?

thanks


System.UnauthorizedAccessException
  HResult=0x80070005
  Message=Access to the path 'C:\Users\admin\AppData\Local\Application Data' is denied.
  Source=mscorlib
  StackTrace:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   at System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
   at New_Design.Custom_Scan.Getfiles(String Path) in C:\Users\admin\source\repos\New Design\New Design\Custom Scan.vb:line 30
   at New_Design.Custom_Scan.Getfiles(String Path) in C:\Users\admin\source\repos\New Design\New Design\Custom Scan.vb:line 34
   at New_Design.Custom_Scan.Getfiles(String Path) in C:\Users\admin\source\repos\New Design\New Design\Custom Scan.vb:line 34
   at New_Design.Custom_Scan.Scan(String Path) in C:\Users\admin\source\repos\New Design\New Design\Custom Scan.vb:line 61
   at New_Design.Custom_Scan.BackgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) in C:\Users\admin\source\repos\New Design\New Design\Custom Scan.vb:line 121
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

AnswerRe: Access to the path is denied Pin
Richard MacCutchan7-Feb-19 23:40
protectorRichard MacCutchan7-Feb-19 23:40 
QuestionAbout some articles in the vote list Pin
Nelek5-Feb-19 20:38
protectorNelek5-Feb-19 20:38 
AnswerRe: About some articles in the vote list Pin
Sean Ewington6-Feb-19 6:58
staffSean Ewington6-Feb-19 6:58 
GeneralRe: About some articles in the vote list Pin
Nelek6-Feb-19 11:18
protectorNelek6-Feb-19 11:18 
GeneralRe: About some articles in the vote list Pin
Nelek6-Feb-19 11:21
protectorNelek6-Feb-19 11:21 

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.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190214.1 | Last Updated 18 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid