Hi ther
I've been searching high and low to find an answer to my problem, bu
no luck
I've got a Windows application that is using an Access Database t
track user data and an XML file to track where the database is located
I'm using VS 2008 on Vista Ultimate created using VB. My Deploymen
Project is creating a subform under C:\ProgramData and I can get m
files installed there no problem (DefaultLocation
[CommonFilesFolder]\[ProductName]). I've set the application UAC settin
to run "asInvoker", uiAccess=\"false\". The application appears t
read/write and update the Access Database tables no problem but if I tr
to Read or Write to my XML file, in the same folder, I get \"Acces
Denied\". I have also set my application security properties to \"Clic
once security settings\" and 'Full trusted application\". Still n
go!!?? I'm using a simple ReadXml and Write XML commands to update th
XML file. I am the Administrator on the computer
The application will be used by any user that logs onto the computer.
really don't want to change the UAC to \\"requireAdministrator\\\\"
I've seen referrences to \\\\"CoCreateInstanceAsAdmin\\\\" but m
managed code to update the XML file is all throughout the application s
I don't really want to create a separate COM for doing this updating
Also I'm not really sure how to use th
\\\\"ConvertStringDescriptorToSecurityDescriptor\\ \\" action in my code
Does anybody have a simple VB solution to this problem? Should I b
storing my Access Database and XML file in C:\USERS\PUBLIC? Sorry,
have tried this but I can't find a way to get my Deployment Project t
referrence this folder
Thanks Dweezi
--
Dweezil38
|