Help for a novice

S

Sue Mosher [MVP-Outlook]

Because the method that I provided *is* exactly what Outlook does when you open an attachment in the UI.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

SuperSlueth

Thanks works really well.


I would like to delete the saved attachments files when the user
closes the email

Is there anyay to sence when the user closes the email window so I can
delete the files.

I also need to close an application at the same time
(Windows picture & fax veiwer)
 
S

SuperSlueth

I've just seen te the picture & fax viwere is loaded by

rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1

is there an easy way to close this event by VBA code
 
S

Sue Mosher [MVP-Outlook]

If you want to use VBA code to track when the user closes an open item, you will need to use an Inspector wrapper class to track the Close event of ***all*** open messages. Ken Slovak has a good sample. See http://www.outlookcode.com/d/vb.htm#wrapper

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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