higher security settings in Windows 7

S

Scott Baxter

Hello,

My application (visual studio 2008, visual basic) writes out a few files
when it runs.

On Windows 7, it fails at startup, apparently because access is denied to
write these files. It also creates databases while it runs. How do I get
around this security problem. I'm sure many programs need to write files
when they run. The files are under its own application directory.

Thanks.

Scott Baxter
 
A

Armin Zingler

Am 18.05.2010 00:20, schrieb Scott Baxter:
Hello,

My application (visual studio 2008, visual basic) writes out a few files
when it runs.

On Windows 7, it fails at startup, apparently because access is denied to
write these files. It also creates databases while it runs. How do I get
around this security problem.

Use a directory where access is permitted.
I'm sure many programs need to write files
when they run. The files are under its own application directory.

Where is that directory?
 
M

Mr. Arnold

Scott said:
Hello,

My application (visual studio 2008, visual basic) writes out a few
files when it runs.

On Windows 7, it fails at startup, apparently because access is denied
to write these files. It also creates databases while it runs. How do
I get around this security problem. I'm sure many programs need to
write files when they run. The files are under its own application
directory.

Program Folder is a protected folder on Win 7. You can't write program
data or files to that folder. You have ProgramData folder, a hidden
folder, that you can write to for a program's data and files.
 
S

Scott Baxter

Thanks for all the help from everybody

Scott
Mr. Arnold said:
Program Folder is a protected folder on Win 7. You can't write program
data or files to that folder. You have ProgramData folder, a hidden
folder, that you can write to for a program's data and files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top