473,549 Members | 2,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Outlook Integration ( Creating Appointments )

1 New Member
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.Appoint mentItem
obj = diary.Items.Fin d("[Categories] = " & Chr(34) & idCheck & Chr(34))

If obj Is Nothing Then
'Now create a new appointment in the user's diary
appt = m_OutlookApp.Cr eateItem(Outloo k.OlItemType.ol AppointmentItem )
Else
appt = obj
End If

This works fine on most peoples PC's, but on some the code errors with an "Operation Aborted" error message. I have tracked down where the error occurs and it appears to be on the line
"appt = m_OutlookApp.Cr eateItem(Outloo k.OlItemType.ol AppointmentItem )"
which confuses me as this is before you actually attempt to send any information to Outlook (2003).
I have searched on the internet and the only explanation i have been able to come up with is that there is something corrupt within a users profile (possibly specifically the Outlook profile), rebooting has seemed to fix the error on some machines but then it re-occurs again later leading me to believe that it is something that happens in everyday use of outlook that causes my application to error.
Could anyone tell me another way to create appointments and possibly explain why this error occurs \ how to fix it.

Thanks in advance Ben
Jan 22 '08 #1
0 1319

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

Similar topics

0
357
by: Pramod | last post by:
Experts I am also trying to create appointments for Outlook users on a specific Day and time. I was told you can't create appointments for others (but only for the user who is logged on). Is there a way to Create Appointments for everyone i.e. managers, other users through .NET application.
2
5801
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...
1
1717
by: srinivas | last post by:
Hi, i'm trying to retreive the appointments from different profiles of outlook. My outlook has 3 profiles created.('Sample1','Sample2','Sample3') my form contains 3 buttons.each one for each profile. so when user clicks on a button my code has to show the appointments for that particular profile that was given there. i wrote a small...
3
8268
by: wizzbangca | last post by:
Hi everyone. Having problems with a utility I am writing for work. The previous IT Director thoughtfully allowed 3 (2000, xp, 2003) versions of outlook to be installed rather than 1. Now I need the utility to work for all 3 versions. A previous post suggested creating objects to detect the version of outlook, which I tried with success. ...
2
10511
by: mik.sjoblom | last post by:
Hello, I have developed a Access application that needs to read mail from Outlook, versions on Access and outlook are 2003. In the code i use mapi to connect to outlook. When i tries to read the subject of a message outlook displays "A program is trying to access e-mail adresses you have stored in Outlook. Do you want to allow this." And...
5
3309
by: Arno R | last post by:
Hi all, I need to get at specific (shared) agenda-data from MS outlook 2003. I need every day to get the scheduled 'appointments' for some rooms to Access. In Access I will show the time-periods that the rooms are booked for that day. I know how to code all this in Access. I can show some testdata for 5 rooms quite nicely on a form. I...
16
6182
by: Kosmos | last post by:
Good afternoon everyone, just wondering if anyone knew if it's possible to send meetings or appointments through email when you run VBA or SQL code in Access 2003? The following is the code I've been using which sends If you want to see the above code in its full context you can see it here: ...
1
7944
by: keri | last post by:
Hi everyone, After numerous failed attempts at this I am now trying again to solve this problem. I really would appreciate ANY help as I have been stumped with this for weeks and weeks! I have a form (frmappointments) through which I create an appointment item in my outlook calendar, (and save the appointment to tblappointments in my...
0
1522
by: Stephen B. Burris Jr. | last post by:
In my database I need to keep the offices calendar up to date with the current information that my database is tracking. To do this I am entering events as appointments. Entering them into outlook is not a problem. The problem comes from when I want to mass delete appointments. When I try to mass delete all the appointments from a...
0
7715
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. ...
1
7469
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...
0
7808
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...
0
6040
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...
0
3498
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...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1935
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
1057
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
757
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...

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.