|
-
Jan 5th, 2000, 06:30 AM
#1
Thread Starter
New Member
How do you save data into the My Documents folder in NT and 95/8
Any help much appreciated
-
Jan 5th, 2000, 06:47 AM
#2
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
[email protected]
-
Jan 5th, 2000, 02:19 PM
#3
Guru
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
-
Jan 6th, 2000, 05:30 AM
#4
Thread Starter
New Member
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.
-
Jan 6th, 2000, 12:03 PM
#5
Guru
The link to the code that I had posted should still work in that scenario
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|