Z
zeus
I spent all day trying to figure out what is going on with the folder
options and reached to the point where a bag number under the
HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\ is
inserted the first time a folder is opened (not created). After that
this same folder uses the same Bag number even if you delete the key
from the registry and/or delete the folder. Somehow once a folder is
created it is associated with a steady bag number.
My problem is that I want to automatically (via VB) change the folder
options of a given folder (e.g. the view setting or sort order). The
problem is that I couldn't find a function (not even between API
functions) which would return me the bag number of a folder name. It is
certainly stored somewhere (unfortunatelly not is the Bag key) but
where.
Does anyone know how this thing works?
Thanks
Vassilis Tavoultsidis.
options and reached to the point where a bag number under the
HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\ is
inserted the first time a folder is opened (not created). After that
this same folder uses the same Bag number even if you delete the key
from the registry and/or delete the folder. Somehow once a folder is
created it is associated with a steady bag number.
My problem is that I want to automatically (via VB) change the folder
options of a given folder (e.g. the view setting or sort order). The
problem is that I couldn't find a function (not even between API
functions) which would return me the bag number of a folder name. It is
certainly stored somewhere (unfortunatelly not is the Bag key) but
where.
Does anyone know how this thing works?
Thanks
Vassilis Tavoultsidis.