Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: opening a .msg file (URGENT)

Geek News

opening a .msg file (URGENT)
"forums[ at ]webgremlins.net" <forums[ at ]webgremlins.net> 2/22/2007 9:41:12 AM
hi there

I have written a vb6 program whcih adds controls to an inspector. so
when new mails, or existing mails are opened from within outlook, the
controls are added. all is good.

But, when we open a .msg file from the desktop or as an attachment,
the custom controls are not added. It seems that the inspector events
or the mailite_open event are not fired. loking at task manager,
outlook is started,

does anyone know how we can program this so that controls are added to
the outlook .msg file?

My first thoughst are that it will be done at the windows level, we
use .net or vb6, whcih ever can achieve this

i hop someone knows how to sort this 8-0

many thanks

Jamie

Re: opening a .msg file (URGENT)
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 2/22/2007 3:04:04 PM
The item should be added to the Inspectors collection even if it does not
fire the NewInspector event in the Inspectors collection. See if running a
timer at intervals to check to make sure all open Inspectors are being
handled lets you work with those items.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


<forums[ at ]webgremlins.net> wrote in message
news:1172137272.399150.286440[ at ]h3g2000cwc.googlegroups.com...
[Quoted Text]
> hi there
>
> I have written a vb6 program whcih adds controls to an inspector. so
> when new mails, or existing mails are opened from within outlook, the
> controls are added. all is good.
>
> But, when we open a .msg file from the desktop or as an attachment,
> the custom controls are not added. It seems that the inspector events
> or the mailite_open event are not fired. loking at task manager,
> outlook is started,
>
> does anyone know how we can program this so that controls are added to
> the outlook .msg file?
>
> My first thoughst are that it will be done at the windows level, we
> use .net or vb6, whcih ever can achieve this
>
> i hop someone knows how to sort this 8-0
>
> many thanks
>
> Jamie
>

Re: opening a .msg file (URGENT)
"forums[ at ]webgremlins.net" <forums[ at ]webgremlins.net> 2/27/2007 2:55:47 PM
On 22 Feb, 15:04, "Ken Slovak - [MVP - Outlook]" <kenslo...[ at ]mvps.org>
wrote:
[Quoted Text]
> The item should be added to the Inspectors collection even if it does not
> fire the NewInspector event in the Inspectors collection. See if running a
> timer at intervals to check to make sure all open Inspectors are being
> handled lets you work with those items.
>
> --
> Ken Slovak
> [MVP - Outlook]http://www.slovaktech.com
> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm
>
> <for...[ at ]webgremlins.net> wrote in message
>
> news:1172137272.399150.286440[ at ]h3g2000cwc.googlegroups.com...
>
>
>
> > hi there
>
> > I have written a vb6 program whcih adds controls to an inspector. so
> > when new mails, or existing mails are opened from within outlook, the
> > controls are added. all is good.
>
> > But, when we open a .msg file from the desktop or as an attachment,
> > the custom controls are not added. It seems that the inspector events
> > or the mailite_open event are not fired. loking at task manager,
> > outlook is started,
>
> > does anyone know how we can program this so that controls are added to
> > the outlook .msg file?
>
> > My first thoughst are that it will be done at the windows level, we
> > use .net or vb6, whcih ever can achieve this
>
> > i hop someone knows how to sort this 8-0
>
> > many thanks
>
> > Jamie- Hide quoted text -
>
> - Show quoted text -

hi ken

this is what we have done, and it works ok

many thanks

jamie

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net