Hi Jim,
Actually, solving the issue with User Account Control is quite easy, and 
there are ways of doing it so it is backward compatible with 98, ME, XP, 
etc.
The first way is to simply save data to the Application Data folder 
rather than your applications local directory.
Every Windows operating system has a series of environment variables 
which get initialised at login. One of these %APPDATA% is used for 
getting the user's local Appplication Data folder.
On older operating systems like 98 the %APPDATA% environment variable 
returns the
c:\Windows\Application Data  folder.
On newer operating systems like Vista the %APPDATA% environment variable 
returns the user's
c:\Users\User\App Data folder.
Which is on the user's local path.
So if you have your game create a
"%APPDATA%\\Kitchensinc"
directory you can save your settings and saved games to
"%APPDATA%\\Kitchensinc"
which solves User Account Control, and makes your games work with 
multiusers all at the same time.
The alternative method is to store data to the user's
HKEY_Current_User
 hive in the registry. While  good for applications settings etc I don't 
recommend saving games to the registry though.
Anyway, you'd have to figure out how this is done in VB 6, but it was 
not very hard to do in C# .Net, and Visual Basic .Net also has a very 
easy solution to this issue.



Jim Kitchen wrote:
> Hi Thomas,
>
> Yes, the multiple user does not effect me at this time, but there is also 
> another difference.  You are working on beta versions of a game or three, I 
> would have to go back and rewrite that part for 25 games, recompile them, 
> repackage them, up load them to my site, rewrite my web site and finally 
> announce all 25 new versions.  Now I might think about trying it on a new 
> game that I am working on, but I am not sure how that is going to work out 
> for people running Windows 98, ME, 2000, XP or Vista.
>
> BFN
>
>      Jim
>
> He who dies with the most toys is nonetheless dead.
>
> [EMAIL PROTECTED]
> http://www.kitchensinc.net
> (440) 286-6920
> Chardon Ohio USA
> ---
> Gamers mailing list __ [email protected]
> If you want to leave the list, send E-mail to [EMAIL PROTECTED]
> You can make changes or update your subscription via the web, at
> http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
> All messages are archived and can be searched and read at
> http://www.mail-archive.com/[EMAIL PROTECTED]
> If you have any questions or concerns regarding the management of the list,
> please send E-mail to [EMAIL PROTECTED]
>
>   
   

---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [EMAIL PROTECTED]
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[EMAIL PROTECTED]
If you have any questions or concerns regarding the management of the list,
please send E-mail to [EMAIL PROTECTED]

Reply via email to