XP + Systeem.CopyFolder problem

  • Thread starter Thread starter De Pessemier An
  • Start date Start date
D

De Pessemier An

Hi,

When I use the VB command "Systeem.CopyFolder BronMap, DoelMap, True" in
XPe, and the BronMap folder contains an extra file, it went wrong.
Xp does not copy the extra file in the folder.
I saw XPe gives all folders "Read only" permission so i've tried to set out
the "read only" permission but no succes.
Visual basic doesn't even notice there is a "read only" permission on that
folder and just contains like it is a normal folder.

Does someone know what went wrong here?

Thanks,
An
 
If you see full square at read only check box. This does not mean that
folder is read only. This means that state of this field is unknown.
You can't set read only access to folder. You must use security settings for
each user or group and set appropriate access rights for them.

Search on google for more info, this was already discussed over a month ago.

Regards,
Slobodan
 
I'm logged in as Administrator, should i also set the security settings for
Administrators?

Thanks
An
 
An,

If you are logged as administrator, and assuming that this code works on
Windows XP.
Then even Administrators need to have permissions set, they are same as
ordinary users when come to access rights.
Only thing that they can do is to take ownership of any object and to change
its access rights.

BTW:
Systeem? or System?

Also if you don't find error please post more info about what you are trying
to do. Does it work on Windows XP?


Regards,
Slobodan
 
Hi Ann,
Maybe it is off-topic, but you can read and write folder
attributes with VB. If needed you can e-mail me (since
this is not a vb forum).

groetjes,
Maarten
 
Back
Top