C# Application - Outlook 2003 - Public Folders

A

Ames111

Hi

Im quite new to C# but have some experience in programming outlook with
VB6.

i am creating an application in C# that will connect to outlook and
perform some simple tasks.

One of these tasks is to create and open a custom task.

This task is located in a public folder:

Public Folders / All public folders / operations / 4Projects /
3.Support / Ames / Tickets

so tickets is a task folder, that uses a custom task form.

In vb6 it was quite simple to set a folder to the Tickets folder then
perform a

item = folder.items.add
item.display

to show the task, but how do i do this in c#? I mean i cant even get as
far as locating the public folder?

i have added the reference "using microsoft.office.interop"

but im terribley stuck and there doesnt seem to be much around on this
 
S

Sue Mosher [MVP-Outlook]

I'd suggest that you work through the basics of programming Outlook with C# starting with the articles listed at http://www.outlookcode.com/d/index.htm#dotnet. The object model doesn't change just because you're using a different language. You still need to perform basic tasks like walking the folder hierarchy to get a public folder, just as you would in VB6.

Note that you need to add a reference to Outlook, not just Office.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top