New
#11
but why cant I still write there.
but why cant I still write there.
Hello Surfexplorer,
In Windows 7, since Vista, anything from an external source (ex: internet, USB, etc...) must be saved and/or extracted to any user folder (ex: Desktop, Downloads, etc...) in the C:\Users\(user-name) folder first. Afterwards, if you are an administrator, you will be able to move it to a system location.
System locations, anything other than C:\Users\(user-name) folders, are protected and will not let any outside source save to them directly. It's a security feature to protect your system.
Hope this helps,
Shawn
Hi Brink, thanks for replying.
I am trying to make a program that will automatically create a directory. I have attached picture for reference.
But I cant make a directory because it cannot create a directory.
Anyway, I can see on my c:\Users\User folder where User is the name of the folder, it has a Shield picture on the folder.
Kindly help. I dont understand 7.
See if using the location below will work. Both are the same location, but different way.
C:\Users\(User-Name)\Documents
or
%userprofile%\My Documents
I agree with logicearth, the user directory is where you are going to want to store information regarding that perticular user. If you are wanting to hide information from the user so they cannot just open the file and read it, then may i recommend storing your information to a file in binary mode?
ok. I guess I found the problem.
if this is the local app data path (c:\users\user) and I want to create directory c:\users\user\test\password
then I need to create c:\users\user\test before I can create c:\users\user\test\password directory.
the question now, why is the behavior of windows7 and vista unlike in xp?
VB6 mkdir does not make paths, can only make one subdirectory at a time. Nothing to do with Win7 or Vista. Maybe there is someone on this board that still uses VB6 to program but I doubt it. So I don't think you will find much help concerning that.
http://www.devx.com/vb2themax/Tip/18706
thanks for the info logicearth. actually using mkdir is an advice from me from vbforums. previously i was using fso.createfolder.