K
Kiran
I ma writing Outlook COM Addin in VB6. The Addin checks if an item is added
or moved to/from a predefined folder (X) from/to any other folder. It
movement happens, it prompts to enter a password. If the password is invalid,
the item is restored to original folder.
-If mail Added to folder 'X' from folder 'A'
-Prompt for password in ItemAdd of 'X'.
-If password is invalid, move it back to 'A'
Similarly for ItemRemove.
As moved Item is not available in ItemRemove, I monitor all the other
folders for ItemAdd and store the moved item and use it in ItemRemove.
Now, If an item is moved to 'X' and invalid passowrd, it is moved back to
say 'A'. And if the same mail is moved again to 'X', and invalid password,
then I get an error 'Can't move items.' If some other item is moved, then it
works fine.
I even tried in C++ COM. I am getting the same error over there. Any help
would be highly appreciated.
Regards,
Kiran
or moved to/from a predefined folder (X) from/to any other folder. It
movement happens, it prompts to enter a password. If the password is invalid,
the item is restored to original folder.
-If mail Added to folder 'X' from folder 'A'
-Prompt for password in ItemAdd of 'X'.
-If password is invalid, move it back to 'A'
Similarly for ItemRemove.
As moved Item is not available in ItemRemove, I monitor all the other
folders for ItemAdd and store the moved item and use it in ItemRemove.
Now, If an item is moved to 'X' and invalid passowrd, it is moved back to
say 'A'. And if the same mail is moved again to 'X', and invalid password,
then I get an error 'Can't move items.' If some other item is moved, then it
works fine.
I even tried in C++ COM. I am getting the same error over there. Any help
would be highly appreciated.
Regards,
Kiran