473,320 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Using Outlook for a C# project??

VMI
I need to develop a scheduler that will integrate Outlook's Calendar
capabilities (individual/recurrent appointments, week and month view, etc...)
with a few additional fields from our program. In our case, an appointment
being made will be seen globally (the Calendar will display the appointment)
but a record will be added to a another table saying that the appointment was
made for a specific user (the additional fields). That way we can build
queries based on these additional fields.
I was thinking of doing it from scratch but I've read that I can use Outlook
itself for this. What would you guys recommend? I personally feel a little
more secure if I build it from scratch, but I also know that I'm not going to
rebuild things that already exist.
Any help is appreciated.
Thanks.
Feb 1 '06 #1
1 2555

I've done alot of Outlook automation... A few notes:

- If you just want to pop outlook up in your app {which probably won't
be enough for your case as you describe it} you can use the "Outlook
View Control"; it will put a real outlook calendar control in your
application. Downside is that you don't have much programmatic control
over it and it can't do drag-n-drop {yet}...

- Infragistics http://www.infragistics.com NetAdvantage is a 3rd party
control library that has an Outlook like calendar control in it.
NetAdvantage is very good quality that is fully programmable.
Disadvantage would be cost of the library {I dunno offhand how much}
and I don't think you can add your own fields to the calendar grid.

As far as programming Outlook is concerned:

- When gathering requirements a) find out EXACTLY which versions of
Outlook you need to support and b) if possible insist on a single
version, hopfully most recent.
- Remember not to use the Outlook message id as a unique identifier of
an Outlook message {mail, contact, schedule, etc.}; the message id
CHANGES when the message is sent...
- Instead you can attach a guid or other identifier to the message via
a string custom property; anything that maps back to the related
database info
- All Outlook collections are 1 based not C# 0 based.
- Outlook will hang in memory if you do not release your interfaces, so
if in .NET 1.x do not count on the garbage collector - use
Marshal.ReleaseComObject {I hear .Net 2.0 is better about this but
don't know from real world use yet}.

Feb 2 '06 #2

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

Similar topics

0
by: Marc | last post by:
I have a Vb 6.0 project The VB 6.0 project with a just a click of the button...exports the calender rows from OUtlook to a MS Access file ( a DB and a table with the calender rows are created)...
6
by: LEBRUN Thomas | last post by:
Hello :) I would like to use Outlook 2003 in my application so for that, i've added the referece to Outlook 11.0 Object Model to my project. Then, I try this simple code : using System;...
4
by: Max | last post by:
Hi, I would like to have a button and a combo box with options to select various versions of Microsoft Outlook: 2002, 2003. The user selects the email client and clicks the button. The only...
2
by: John | last post by:
Hi I would like my vb app to work with outlook 2000 and above. What is the method to get the appropriate reference(s) in my vb app? Thanks Regards
1
by: Fredrik Melin | last post by:
Hi, I have a project that uses Interop.Outlook, works fine on both my computers. When a teammember trying open the project he gets the following message: The referenced component 'Outlook' has...
5
by: Derek Martin | last post by:
I am creating a windows service and have added a reference to a DLL project that I have created. That DLL file is correctly referenced in both a windows app and a web app, all in the same...
4
by: Andy | last post by:
Hi, I have a C# application and I'd like it to use Outlook 2003 to send messages. I don't want to send them programmaticlly though; I just want to open the New Messge window, set the...
1
by: Marc | last post by:
Hello, Am getting acquainted with VSTO and Visual Studio. I have been really successful adding references to the PIAs for Word, Outlook, Excel, etc. to Console applications and VB applications....
0
by: Roman Optio | last post by:
Hi, I am currently working on a tool to transfer addressbook data such as contacts and organizations between Vondle and Outlook. For those of you who are wondering what Vondle is, it is an...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.