473,795 Members | 2,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing outlook object model

Hi,

I'm trying to store appointment data to outlook appointments from a c#
application. So I'm using outlook object model thru COM interop. But in the
applicaton some of the methods like GetNameSpace() are missing.

I want to know while creating wrappers for COM out of process servers are
all methods provided in the wrapper object.

Is there any article on this topic?

Can anybody help me on this?

Thanks,
Girish.
Nov 15 '05 #1
3 4401
Girish,

Are you using the definition of Application from the general object
library, or from the Outlook object library? My guess is that you are doing
the former. Make sure that you are using the classes that deal with Outlook
specificially (by setting a reference to the Outlook object library), and
use that Application definition instead.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Girish NS" <ns******@scape velocity.com> wrote in message
news:uk******** ******@tk2msftn gp13.phx.gbl...
Hi,

I'm trying to store appointment data to outlook appointments from a c#
application. So I'm using outlook object model thru COM interop. But in the applicaton some of the methods like GetNameSpace() are missing.

I want to know while creating wrappers for COM out of process servers are
all methods provided in the wrapper object.

Is there any article on this topic?

Can anybody help me on this?

Thanks,
Girish.

Nov 15 '05 #2
If you are interested in a native .NET scheduling component, please look at
Gravitybox Schedule.NET. It is a most comprehensive .NET component. The
source is even available if need be.
http://www.gravityboxschedule.net

If you have any questions please let me know.

Thank you for your interest,
Christopher Davis

email: ch****@gravityb ox.com
website: http://www.gravitybox.com
phone: 1.866.GRAVBOX

"Girish NS" <ns******@scape velocity.com> wrote in message
news:uk******** ******@tk2msftn gp13.phx.gbl...
Hi,

I'm trying to store appointment data to outlook appointments from a c#
application. So I'm using outlook object model thru COM interop. But in the applicaton some of the methods like GetNameSpace() are missing.

I want to know while creating wrappers for COM out of process servers are
all methods provided in the wrapper object.

Is there any article on this topic?

Can anybody help me on this?

Thanks,
Girish.

Nov 15 '05 #3

I too, cannot see the GetNamespace or other methods. I am using Outlook
2003 and referencing Microsoft Outlook 11.0 Object Library, v9.2,
located at c:\program files\microsoft office\office11 \msoutl.olb.

I have researched:
http://support.microsoft.com/default...id=kb;;Q309336
, but found that the _sinkhelper classes were already public.

Does anyone have any suggestions?

Thank you,
Glenn


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #4

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

Similar topics

1
8494
by: Deepak Bhatia | last post by:
Hello Friends I wrote a simple VB application using Outlook Object Model. This application is used t send mail via MS Outlook. I wrote following code on Send button: Set mailitem = obj.CreateItem(olMailItem) Set objname = obj.GetNamespace("MAPI") mailitem.To = "dbhatia@pscindia.com" mailitem.Body = RichTextBox1.TextRTF
2
3315
by: Kurt Häusler | last post by:
Hi. I have am using c# and the outlook object model to access the outlook address book, but once you have more than a 100 or so contacts in the folder it takes far too long to iterate through them. When theres 3000 contacts in there it takes a whole minute to iterate through them. My Code is at the end of the post. You can see I have commented out the dialog box filling section, to see that thats not causing the slowdown, its the...
1
4594
by: john bailo | last post by:
I am trying to write a c# program to access Outlook internet headers for messages in a public folder. When I look at these messages in Outlook, and select View/Options, there is information in the Internet Headers scrollbox. BUT -- when i run the Visual Basic code ( so far this is the only documented method I have found, so I'm converting it to c# ) found here: http://support.microsoft.com/?kbid=194870
6
5369
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; using Microsoft.Office.Interop.Outlook;
2
5818
by: James | last post by:
Is it possible for me to generate Outlook objects in an ASP.NET application on a web server (like a calander event for example) and then attach that object to an email so that the recipient can open it and add a calander event to THEIR Outlook file? I already know how to send mail using the SmtpMail object. If it is possible, how difficult is it? And are there any good examples, tutorials, or books that could point me in this direction...
9
6747
by: Srinivas | last post by:
hi all how to access the outlook user profiles through VB.net any help.... thanks in advanc Srinivas
1
1614
by: Rohan | last post by:
Hi There, I want o access address book of OUTLOOK EXPRESS on Web Clients PC so that he can select addresses from his address book & copy them to our database. Does Outlook Express support an object model? if yes where do I get help on it. If No ? How do I achieve this task? pls help
2
2451
by: Pieter | last post by:
Hi, I'm using a thight integration with Outlook 2003 (with an Exchange server) in my VB.NET (2005) application. Until now I'm using the Outlook Object Model, but it appears to be very slow, and has some problems: - doing a Move changes the ReceivedTime of the MailItem - I can't use RichText in the MailItem.Body (only allows plain text or HTML) - some other stuff like having to use small 'tricks' to show the default signature in an email
5
2424
by: fniles | last post by:
I am using VB.NET 2005. I created a project using the Microsoft Outlook 8.0 Object Library (Object Model) in my previous machine. Now that I have a new machine, when I try to compile that program in the new machine, it gives me erros like "Type 'Outlook.Application' is not defined", "Type 'Outlook.NameSpace' is not defined". I have MS Outlook in my new machine. In the new machine when I go to "Add Reference", select the COM tab, the only...
0
10448
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10167
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
10003
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...
0
9046
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7544
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
5440
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
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2922
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.