Click to See Complete Forum and Search --> : Saving files to My Documents Folder
MarkD
Jan 5th, 2000, 05:30 AM
How do you save data into the My Documents folder in NT and 95/8
Any help much appreciated
It's actually a Physical Directory on your hard drive. Just save the file in there. It's on the root of your drive..
C:\My Documents
If you are doing it on a 16-Bit system it's ..
C:\MYDOCU~1
Hope this helps.
------------------
John T. Mieske
Star Trek LCARS programmer
Knight Vision Enterprises
kvision@gate.net
Clunietp
Jan 5th, 2000, 01:19 PM
You are not supposed to hard code the paths to various Windows folders in your apps. That is like assuming that the WINDOWS directory is always C:\WINDOWS....
You can either read it from the registry or use the code from one of my previous posts:
http://www.vb-world.net/ubb/Forum1/HTML/012687.html
Tom
MarkD
Jan 6th, 2000, 04:30 AM
Thanks for the replies.
The real problem is that the app i'm doing is for a local school and the kids get the profile from a server when they log on, this means that for each kid that uses the app the My Documents folder changes ( from what i can see it actually resides on the server), and to keep things simple the app will just save the data into the kids My Documents folder. Hope this helps explain a bit more about the problem.
Clunietp
Jan 6th, 2000, 11:03 AM
The link to the code that I had posted should still work in that scenario
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.