How to write software for Vista

C

Cartoper

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?
 
J

Jesper Ravn

Cartoper said:
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?

Hi

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/article.php/11087_3695651_1

/Jesper
 

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