File Open Event...

M

Manfred Büttner

Hello NG,

i need a Event if i open a Item (Mailitem) from a Filesystem.

Background:
I open a Mail that is dynamically changed and saved on a Harddisk.
NOW i NEED A EVENT, THAT A ITEM IS OPEND.
I will read the Filename while after changes of it i will save it again on
Harddisk.


Could someone help me???

Thx Manfred Büttner
 
S

Sue Mosher [MVP-Outlook]

The Inspectors.NewInspector event will fire when you open a saved .msg file.
It is not possible, however, to obtain the name of the file.
 
M

Manfred Büttner

Hello,
thanks for your answer, but the Event doesn't Fire.
How can i force it??

Manfred Büttner
 
S

Sue Mosher [MVP-Outlook]

Show your code. Did you read my note on how it won't do what you want
anyway?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
M

Michael Bauer

Hi Manfred,

as Sue said, the Inspector won´t tell you anything about the source of
the Item.

Because I know you from public.de.vb I suppose, you are able to build
standalone applications with vb.

Instead of opening the msg file with OL directly you can drag the file
onto your own app. The Drag & Drop mechanismn tells you the path and
filename. After that you can edit the Item or diplay it in the OL
Inspector etc.
 
Top