473,623 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

8 New Member
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.Namespa ce
Dim objMAPIFolder As Outlook.MAPIFol der
Dim myRecipient As Outlook.Recipie nt

Dim olApp As Outlook.Applica tion
Set olApp = CreateObject("O utlook.Applicat ion")

Set olNs = olApp.GetNamesp ace("MAPI")
olNs.Logon

Set myRecipient = olNs.CreateReci pient("Conf 102")
myRecipient.Res olve
If myRecipient.Res olved Then
Set objMAPIFolder = olNs.GetSharedD efaultFolder _
(myRecipient, olFolderCalenda r)
End If
objMAPIFolder.D isplay

Thanks
Mar 30 '07 #1
0 1399

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

Similar topics

0
1127
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 date is selected....Let me know Thanks in advance
1
1692
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
1012
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 getting 'Type mismatch error message'. Please help me what is the problem in this code. string Appointmentline; string AppointmentInfo; string dateStart = System.DateTime.Now.AddDays(-30).ToString(); string dateEnd =...
1
1355
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
1188
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
1324
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 = diary.Items.Find(" = " & Chr(34) & idCheck & Chr(34)) If obj Is Nothing Then 'Now create a new appointment in the user's diary appt = m_OutlookApp.CreateItem(Outlook.OlItemType.olAppointmentItem) Else
0
1078
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 Software engineer.
1
4578
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 colour and size formatted text but one of them just shows the html code in the body with no formatting. The vba code for the command button is as follows: Private Sub cmdUpdateEmail_Click() Dim HTMLReminderEmail As String Dim Subject As String...
2
1455
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 in this regard :)
0
8165
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8670
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...
1
8326
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,...
1
6106
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
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4164
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1778
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1473
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.