rodchar,
The "best" way to resolve this is to stop creating files in the root folder!
:-|
I would recommend you create the file's in the user's profile, You can use
Environment.GetFolderPath to find the path to any number well known folders.
Normally I use SpecialFolder.Personal, which is the "My Documents" folder.
However! If the data needs to be shared among users within the application I
would recommend one of the SpecialFolder ApplicationData folders instead...
Be certain to read the online help on Environment.GetFolderPath & the
Environment.SpecialFolder enumeration.
Other ways to resolve this include, but are not limited to, giving users
authority to create files in the root folder... Of course giving users this
authority, *gives* users this authority to do it outside your program also!
Hope this helps
Jay
"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
hey all,
my vb.net program creates a file a the c:\root but when the users run it
they get denied. what are some different ways to resolve this authority
issue?
what's the best way to do this?
thanks,
rodchar