![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to write software for Vista Oh, I have an application that violates the Vista security polity. I want to fix it so it complies... I want to have my cake and eat it too. Originally before I started to clean things up for Vista, all the data was written to the Program Files. Now I use the application data directory. I have two issues with this, one is that program needs to run as Admin to write to that folder and the other is that there is only one for the whole system. 1: How do I solve the multiple versions issues? I have seen where in the .Net, the version is appended to the application data directory, the only solution I can think of is to simply store my data there, if the data isn’t there, go up one level and find the next newest version folder and use that to get going. Is there a better way? 2: Needing to run as Admin, I don’t want to use the user data directory because this is more of a server application and I want folks to be able to log in as different users and have access to all the same configuration. Is there a solution to this or do I need to get over it? Does Microsoft have a guild out there that might be useful to me? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to write software for Vista "Cartoper" <cartoper@xxxxxx> skrev i meddelelsen news:5a0a3bd2-2f0d-45f7-80c5-4531392093af@xxxxxx Quote: > Oh, I have an application that violates the Vista security polity. I > want to fix it so it complies... I want to have my cake and eat it > too. > > Originally before I started to clean things up for Vista, all the data > was written to the Program Files. Now I use the application data > directory. I have two issues with this, one is that program needs to > run as Admin to write to that folder and the other is that there is > only one for the whole system. > > 1: How do I solve the multiple versions issues? I have seen where in > the .Net, the version is appended to the application data directory, > the only solution I can think of is to simply store my data there, if > the data isn’t there, go up one level and find the next newest version > folder and use that to get going. Is there a better way? > > 2: Needing to run as Admin, I don’t want to use the user data > directory because this is more of a server application and I want > folks to be able to log in as different users and have access to all > the same configuration. Is there a solution to this or do I need to > get over it? > > Does Microsoft have a guild out there that might be useful to me? Please have look at the link below. There is also refenrece to Microsoft TechNet. Making a Pre-Vista Application Vista Compliant http://www.developer.com/net/net/art...1087_3695651_1 /Jesper |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to write software for Vista See: http://social.msdn.microsoft.com/For...ategory/windev I removed all the message I am replying to because when I replied, the original message did not get the line prefix (such as ">") that indicates the original text. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Directory where my software is installed must permit write access | Vista General | |||
| The disk is write-protected. Remove the write-protection or... | Vista General | |||
| write my own conversion software | Vista music pictures video | |||
| Installing software, getting unable to write to registry errors | Vista security | |||
| Why can my app write successfully to HKLM\Software under Vista? | Vista security | |||