Hi, Greetings to every one..
I am a vb6 coder, and facing problem with widows 7 UAC issue.
Limited User:
When I run my installer it ask for admin account password, I enter and it installed it correctly.
My app writes date to common application data folder so that al user can access the file/data.
I windows 7 the path is :
C:\ProgramData\<CompanyName>\<AppName/Title>\Config.ini
as my installer run with admin right it create those subfolder correctly.
but when app run from limited user account. If flailed to write at that location (it actually write to virtual path)
but I want to white the that exact file.
however I have researched enough and every where it is told to write in CommonAppData folder.
But why it still fails.
please some one help me out.
I use SHGetSpecialFolderLocation api call to get the folder location and I use folder id 35.
below is the sample code for the path:
strAPPPath = fGetSpecialfolder(35) & "\" & App.CompanyName & "\" & Trim(App.Title)
thanks in advance...
best regards
I am a vb6 coder, and facing problem with widows 7 UAC issue.
Limited User:
When I run my installer it ask for admin account password, I enter and it installed it correctly.
My app writes date to common application data folder so that al user can access the file/data.
I windows 7 the path is :
C:\ProgramData\<CompanyName>\<AppName/Title>\Config.ini
as my installer run with admin right it create those subfolder correctly.
but when app run from limited user account. If flailed to write at that location (it actually write to virtual path)
but I want to white the that exact file.
however I have researched enough and every where it is told to write in CommonAppData folder.
But why it still fails.
please some one help me out.
I use SHGetSpecialFolderLocation api call to get the folder location and I use folder id 35.
below is the sample code for the path:
strAPPPath = fGetSpecialfolder(35) & "\" & App.CompanyName & "\" & Trim(App.Title)
thanks in advance...
best regards