A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

outlook newmail event for different version causing problems



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 9th 07, 04:47 AM posted to microsoft.public.outlook.program_addins
kedar_vj via OfficeKB.com
external usenet poster
 
Posts: 2
Default outlook newmail event for different version causing problems

I have handled new mail events for OL XP. but while installing in OL2003 its
giving error
"could not load type outlook.applicationevents_11_ newemaileventHandler from
asembly interop.outlook " OBVIOUSLY its version difference
but is there any way out to handle/get such event which can handle new mail
event in all outlook versions?
Any workarounds to capture all versions newemaileventhandler !!!??
please reply, is it possible to do that?

I have tried with addin
outlook 2003(11 object lib (v. 9.2)) works in OL2003 only
outlook 2002(10 object lib (v. 9.1)) works in OL2002(XP) only
and again OL2000 is having annoying different "FEATURES" to work with.
I don't understand how to do that thing work !!

I have seen OutlookSpy "an addin" works with any outlook !! So
there must not be different code for each outlook !
(though not at my scenario of new mail but still it works)
Then my add-in should work too.

the error i am getting is:
"system.runtime.interopservices.comexception(0x800 40200.........
at outlook.applicationevents_11_EventProvider.init(). ..
.................................."


this occurs when i try to get the applicationObject in to a variable.
outapp = ApplicationObject

outapp object is responsible to handle the new-email-events and hence
i must have to declare it
WITHEVENTS outapp as outlook.application

this is where problem lies !!
outlook.application is Ref. to OL2003
applicationObject is of OL-2002(XP)
so is there any way out to get out of this !!

--
Message posted via http://www.officekb.com

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
1. Back Like That [(Remix) Album Version (...4:10Back Like That [(Remix...2. Run [Album Version (Explicit)] [Explici...3:19The Pretty Toney Album...3. Tush [Album Version (Explicit)] [Explic...3:24The Pretty Toney Album...4. One [Album Version]3:45Su omar gubran Outlook Express 1 December 19th 06 03:08 AM
How to fire NewMail&NewMailEx Event? baryon Outlook - General Queries 0 August 17th 06 04:31 PM
Message Rules Causing Problems Blobbies Outlook Express 1 February 9th 06 02:48 PM
Web version only shows 1 event per day at calendar? akm Outlook - Calandaring 2 January 29th 06 03:05 PM
Should I deleat trail version and install real version ? Trail Outlook Outlook - Installation 0 January 27th 06 02:47 PM


All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.