473,756 Members | 2,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Student FYP - Creating Outlook 2003 Addin How do I ?

Hi all,
For my IT final year project I have to access mail items in outlook
2003 and parse them.
I have read and researched on the net and library for about a week
now.
I have to do the project in c# using visualc# 2005 Express Edition.

I know this may limit me to manully coding a little more but I dont
mind that.
So far I think I have to create a COM adddin and communicate via
outlook interpo assemblies to outlook
DO I have to use the COM interface IDTExtensibilit y2?

Is it simple enough to get a button to appear on the outlook toolbar?
I have seen plently examples that use VSTO & vc# 2005 pro but I dont
have access to those.

Any ideas, hints, tips are all welcome.
Kevin.

Oct 28 '07 #1
3 2056
Kevin,

Yes, IDTExtensibilit y2 is the interface that you will have to implement.
You will basically hold on to a reference to the application hosting your
add-in and then use the object model of the application (in this case,
Outlook) to add menu items, hook up to events, etc, etc.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"ITrishGuru " <kf******@gmail .comwrote in message
news:11******** **************@ 57g2000hsv.goog legroups.com...
Hi all,
For my IT final year project I have to access mail items in outlook
2003 and parse them.
I have read and researched on the net and library for about a week
now.
I have to do the project in c# using visualc# 2005 Express Edition.

I know this may limit me to manully coding a little more but I dont
mind that.
So far I think I have to create a COM adddin and communicate via
outlook interpo assemblies to outlook
DO I have to use the COM interface IDTExtensibilit y2?

Is it simple enough to get a button to appear on the outlook toolbar?
I have seen plently examples that use VSTO & vc# 2005 pro but I dont
have access to those.

Any ideas, hints, tips are all welcome.
Kevin.

Oct 29 '07 #2
On Oct 29, 4:32 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guar d.caspershouse. comwrote:
Kevin,

Yes, IDTExtensibilit y2 is the interface that you will have to implement.
You will basically hold on to a reference to the application hosting your
add-in and then use the object model of the application (in this case,
Outlook) to add menu items, hook up to events, etc, etc.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard .caspershouse.c om

"ITrishGuru " <kfrdo...@gmail .comwrote in message

news:11******** **************@ 57g2000hsv.goog legroups.com...
Hi all,
For my IT final year project I have to access mail items in outlook
2003 and parse them.
I have read and researched on the net and library for about a week
now.
I have to do the project in c# using visualc# 2005 Express Edition.
I know this may limit me to manully coding a little more but I dont
mind that.
So far I think I have to create a COM adddin and communicate via
outlook interpo assemblies to outlook
DO I have to use the COM interface IDTExtensibilit y2?
Is it simple enough to get a button to appear on the outlook toolbar?
I have seen plently examples that use VSTO & vc# 2005 pro but I dont
have access to those.
Any ideas, hints, tips are all welcome.
Kevin.- Hide quoted text -

- Show quoted text -
Thanks for that

Oct 29 '07 #3
No, it's pretty painful but doable. There is an outlook newsgroup that you
can post this to or google to get the code.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless Author Plug
OWC Black Book 2nd Edition
Exclusively on www.lulu.com/owc
$19.99
"ITrishGuru " <kf******@gmail .comwrote in message
news:11******** **************@ 57g2000hsv.goog legroups.com...
Hi all,
For my IT final year project I have to access mail items in outlook
2003 and parse them.
I have read and researched on the net and library for about a week
now.
I have to do the project in c# using visualc# 2005 Express Edition.

I know this may limit me to manully coding a little more but I dont
mind that.
So far I think I have to create a COM adddin and communicate via
outlook interpo assemblies to outlook
DO I have to use the COM interface IDTExtensibilit y2?

Is it simple enough to get a button to appear on the outlook toolbar?
I have seen plently examples that use VSTO & vc# 2005 pro but I dont
have access to those.

Any ideas, hints, tips are all welcome.
Kevin.

Oct 31 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
327
by: Samuel Bernard | last post by:
Hi, I created an addin for Outlook 2003. It creates a menu in Outlook in order to allow the user to access severals options of our Web site. I use MsiInstaller of MS to install this addin which has some assemblies, all installed into the folder of my application (C:\Programs\CompanyName\ProductName). On two XP Pro SP2 stations I didn't have problems: the installation ran well and the addin also. But on a third station (part of the...
1
47501
by: Michele | last post by:
Hi, I need to send the same Email to different people. I'm using Outlook XP and VB.Net. I tryed with the following code: Dim oOutL As Outlook.Application Dim oMail As Outlook._MailItem oOutL = CreateObject("outlook.application") For i = 0 To Email.Length - 1
4
6690
by: Pieter | last post by:
Hi, On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server is not available. (Exception from HRESULT: 0x800706BA). The client has all the updates/service packs/ etc isntalled... Does anybody has any idea why this happens? Any help our hints would be really appreciated! what is that RPC server thing?
7
2610
by: Joseph Geretz | last post by:
I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days. Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded. If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with...
6
8776
by: Joseph Geretz | last post by:
I'm porting a C# Outlook Addin originally engineered as a COM Addin over to use VSTO. I've gotten this to the point where my VSTO Addin installs its Menu items and Toolbar buttons when Outlook launches. I've wired up my event handler to each Menu item and toolbar button. (I use the same Event handler and I use the Tag property which is different for every Menu Item and Toolbar buton to determine which menu or button is being clicked and to...
6
1692
by: Pieter | last post by:
Hi, I developed an Outlook Add In (VB.NET 2005, for Outlook 2003) that sometimes suddenly stops loading. I've put everywhere in the code Exception Handlers, but no Exception is catched. it seems that other add ins aren't loaded afterwarths (nod32). Does anybody know a way to find out why an outlook add could do this? and find out after the problem what caused the problem?
1
1197
by: =?Utf-8?B?TmVlbENoYW5kcmE=?= | last post by:
Hi , I am Using Visual Studio 2005 (VB code) to develop a AddIn for Outlook 2003; I need to find out from the AddIn If Of Outlook 2003 is connected to internet , That is, Is Outlook 2003 Online or OffLine, Meaning is outlook 2003 connected to internet Or Not ?
1
2410
by: John | last post by:
Hi I have a simple Outlook 2003 AddIn created using Outlook 2003 AddIn template in vs 2008. The full code is given below at the end. I got warnings on Interop assemblies as I have Office 2007 installed while AddIn is 2003 but as I need to target both 2003 and 2007 I am sticking to lowest common denominator. I installed the AddIn by running the vs 2008 generated setup.
5
2210
by: John | last post by:
Hi I have an Outlook add-in solution which includes a setup project. If I install the Outlook add-in by right clicking on the setup project and sleeting Install then the add-in gets installed fine in Outlook. However if I use the setup generated in the setup project Release folder then even though setup runs and finishes, the Outlook Add-in does not appear in Outlook. What is the problem and how can I fix it? Thanks
0
9456
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5142
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.