Stopping folder reorganisation

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.
 
K

Kiran Adimatyam

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.
 
P

Paul Gilbertson

Thanks, thats the sort of thing I'm looking for.

A code snippet would be helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top