Jump to content

How to write software for Vista


Recommended Posts

Guest Cartoper
Posted

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?

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Jesper Ravn
Posted

"Cartoper" <cartoper@gmail.com> skrev i meddelelsen

news:5a0a3bd2-2f0d-45f7-80c5-4531392093af@m36g2000vbp.googlegroups.com...<span style="color:blue">

> 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?</span>

 

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...