K
kristy
Hi
I have a customer who wants to create, update and maintain Public
folders based on their "file" data structure. For example, if they
file client information under C:\Area Name\Company Name\Client
Name\Project Number then they want to make sure that the public folders
have been created for objNamespace.Folders("Public
Folders").Folders("All Public Folders").Folders("Area
Name").Folders("Company Name").Folders("Client Name").Folders("Project
Number")...
I have been trying to figure out the best/quickest way to do this and I
just can't get my head around it... any advice would be greatly
appreciated.
This is what I've got so far... I use a recursive function to get the
names of all the folders currently under the specified directory, I can
then use PickFolder to get the public folder location that I need to
sync from, using another recursive function I can get a list of all the
current folders under that parent folder but I'm not sure what is the
best way to check/compare these results and then create the folders if
required.
Any suggestions... there could be hundreds of folders so although
they'll probably only run it once a day it needs to be able to handle
lots of folders without having any memory leak, crashing issues???
Thanks
Kristy
I have a customer who wants to create, update and maintain Public
folders based on their "file" data structure. For example, if they
file client information under C:\Area Name\Company Name\Client
Name\Project Number then they want to make sure that the public folders
have been created for objNamespace.Folders("Public
Folders").Folders("All Public Folders").Folders("Area
Name").Folders("Company Name").Folders("Client Name").Folders("Project
Number")...
I have been trying to figure out the best/quickest way to do this and I
just can't get my head around it... any advice would be greatly
appreciated.
This is what I've got so far... I use a recursive function to get the
names of all the folders currently under the specified directory, I can
then use PickFolder to get the public folder location that I need to
sync from, using another recursive function I can get a list of all the
current folders under that parent folder but I'm not sure what is the
best way to check/compare these results and then create the folders if
required.
Any suggestions... there could be hundreds of folders so although
they'll probably only run it once a day it needs to be able to handle
lots of folders without having any memory leak, crashing issues???
Thanks
Kristy