Stopping folder reorganisation

  • Thread starter Thread starter Paul Gilbertson
  • Start date Start date
P

Paul Gilbertson

We are using Outlook 2000 in IMO mode and need to stop our users from
accidentally dragging and dropping shared contacts folders into
subfolders. We have had users misclicking the folder tree and
accidentally moving a folder into the folder above or below it.

Is there any way to stop them doing this, or to punch up a
verification dialog box so they can abort the move? A plugin or VBA
Macro would do fine.

It screws up shared folders from time to time.
 
Hi Paul,

You can do this by getting the references of the folders that you want
to watch and using MAPI folder object's events like "Folder Remove",
"Folder Add" and "Folder Move".

Once you get the references for the root folders you want to watch,
keep a count of subfodlers under that root folder and whenever a new
folder is added under any root folder, you can show a dialog to the
user and go on from there.

Let me know if you need a code snippet of how to do this.

=================
Kiran Adimatyam
Irving, TX.
 
Thanks, thats the sort of thing I'm looking for.

A code snippet would be helpful.
 
Back
Top