By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,092 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,092 IT Pros & Developers. It's quick & easy.

how to read/write meting notice into a shared calender in outlook from VB

P: 8
hi all,

I am developing a application which would open the shared calender of outlook and read the meeting notices and also modifies the meeting notice from Vb.I am successful in opening the shared calender but now how can i read/write the contents of the shared calender. please provide me the syntax of functions that can acheive the purpose in VB.

I have one more problem when i execute the code.. it gives a popup window saying that " A program is trying to access e-mail address you have stored in outlook .. do u want to allow this this" and it gives me the option to allow access for either 1 or 2 or 5 or 10 min" .. How can i get rid of this pop up message? i have read and write access to this share calender

here is the code i used to open the shared calender

Dim olNs As Outlook.Namespace
Dim objMAPIFolder As Outlook.MAPIFolder
Dim myRecipient As Outlook.Recipient

Dim olApp As Outlook.Application
Set olApp = CreateObject("Outlook.Application")

Set olNs = olApp.GetNamespace("MAPI")

Set myRecipient = olNs.CreateRecipient("Conf 102")
If myRecipient.Resolved Then
Set objMAPIFolder = olNs.GetSharedDefaultFolder _
(myRecipient, olFolderCalendar)
End If

Mar 30 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.