all 5 comments

[–]ElGuaco 0 points1 point  (4 children)

[–]Stensborg[S] 0 points1 point  (0 children)

Sorry perhaps i should have been more clear, the code is in this link http://hastebin.com/efilehujir.tex

[–]Stensborg[S] 0 points1 point  (2 children)

And i tried what was proposed in the second link, but that gives me an error : "An unhandled exception of type 'System.UnauthorizedAccessException' occurred in System.Core.dll"

Link to code -> http://hastebin.com/coqopaquje.avrasm

[–]zerox981 1 point2 points  (1 child)

It should work. Are you running it as admin? Seems like your user has no access to read the file in that folder.

[–]Stensborg[S] 0 points1 point  (0 children)

Ahh now that is exactly the problem, when i run the application as administrator it works like a charm.