473,320 Members | 1,766 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.

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

hi all,

hi,
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")
olNs.Logon

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

Thanks
Mar 30 '07 #1
0 1383

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

Similar topics

0
by: Vishnu | last post by:
In a Windows Application How to display a monthly , weekly calender ( Just like the calender in Outlook or the calender display airline websites) .....Also how will the code know if some month and...
1
by: jm | last post by:
Hello, Anyone who knows how to create a calender in access like microsoft outlook, a calender where I can see the days bold if there's an item on that day. Thanx for answering, jean-marc
0
by: Kannan | last post by:
Hi, I am trying to find the number of meetings request in the outlook calendar using below code. But I am getting error message. The strFilter value I have tried both "&&" and "AND" but still i am...
1
by: kalichakradhar | last post by:
hi , I am new to VB programming.. i wnat to know how can i access a shared calender present in the Outlook from VB. Please help me in finding the solution Thanks
1
by: raghurajani | last post by:
I Want Ms Outlook Calender Control In My Windows Form.how To Get It.suggest Any Answer.its Urgent
0
by: Ben Grimwade | last post by:
Hi, im developing an Application that integrates with Outlook by creating an appointment in there calender. The code in question is below Dim appt As Outlook.AppointmentItem obj =...
0
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi, I wrote a .net windows app that sends out emails but was wondering is there a way to have the application write to the outlook calender, for example to set a reminder? Thanks. -- Paul G...
1
by: robnoper | last post by:
XP SP2, access and outlook 2003 I have a form with 3 command buttons on that when one is pressed it opens up a html email for the user to send. Two of the emails work fine and open with the full...
2
by: =?Utf-8?B?RkZD?= | last post by:
Does microsoft outlook 6 have a calender, I cannot find a calender in microsoft outlook 6, is there one? and how do i find it if there is? I there isn't how do I get one? thankyou for your time...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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.