Hi jim. The equivalent folder to c:\users\ on windows 7 is c:\documents and settings on windows xp.
On 9/13/12, Jim Kitchen <j...@kitchensinc.net> wrote: > Hi Thomas, > > I'm sorry, but neither of my Windows XP computers have a c:\Users folder, > and I doubt that VB6 has a way of finding that since as you said VB6 was out > for like Windows 98. The only folder on my computers that seem to know my > name is C:\Documents and Settings\Jim kitchen > > BFN > > ----- Original Message ----- > Hi Jim, > > No. With Windows XP, Vista, and Windows 7 every user gets their own > personal application data folder. This is a special directory where > programs are suppose to save their files to. On XP it would let you > get away with writing files to c:\Program Files\Kitchensinc but as of > Vista and later that isn't really recommended and causes technical > issues with Microsoft User Account Control and other newer security > software. Instead on Windows 7 the files would go in a directory like > c:\Users\Thomas\App Data\Roaming\Kitchens Inc > assuming your user name is Thomas. If it is something like Jim, for > example, and then the files would go in > c:\Users\Jim\App Data\Roaming\Kitchens Inc. > > There are ways to have your programs automatically discover the user's > local App Data directory so its not very complicated. Just an extra > step or two when writing and saving files. > > Unfortunately, its been about 10 years since I touched VB 6 so am not > sure of the correct functions to access the user's local App Data > directory off hand. I do know that in VB .NET 2010 its a fairly > simple and straight forward process, and it works like a charm with > User Account Control. > > Cheers! > > > Jim > > Users: Keep them dry and don't feed them after midnight. > > j...@kitchensinc.net > http://www.kitchensinc.net > (440) 286-6920 > Chardon Ohio USA > --- > Gamers mailing list __ Gamers@audyssey.org > If you want to leave the list, send E-mail to > gamers-unsubscr...@audyssey.org. > You can make changes or update your subscription via the web, at > http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/gamers@audyssey.org. > If you have any questions or concerns regarding the management of the list, > please send E-mail to gamers-ow...@audyssey.org. > --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gamers@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.