|
-
June 4th, 2012, 11:21 PM
#1
Excrating a file
Im wanting my program to extract a file from the 'Resources' area in the program and put it in the 'C:\Program Files (x86)\Folder\Folder\Folder\Folder\Folder', im not sure of the code as im a n00b at coding. If anyone could help me out that would be great!
-
June 5th, 2012, 05:24 PM
#2
Re: Excrating a file
Just OPEN the resource file, if it's your program... If it isn't, then we probably can't help.
-
June 5th, 2012, 11:38 PM
#3
Re: Excrating a file
Well first of all the Program Files (x86) folder is not going to exist on some pcs, second those on which it does exist are going to deny write access to it so you are looking at a couple of issues right off the bat.
Always use [code][/code] tags when posting code.
-
June 14th, 2012, 12:00 AM
#4
Re: Excrating a file
 Originally Posted by DataMiser
...second those on which it does exist are going to deny write access to it...
I'm not sure but if the application is running is the security context of an admin account that shouldn't be an issue. I've never explicitly tested this so I'm not certain.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|