Solved

How to force ACCEPT with sent AppointmentItem?

Posted on 2004-08-18
6
182 Views
Last Modified: 2008-03-10
I developed a VFP 8 automation to send an appointment to an outlook client and "push" the appointment using guidance as presented by Kavar - (many thanks).

Can the appointment object be made (forced?) "ACCEPTED" with automation (like clicking the Outlook Accept Button). Can the "Deny" button be disabled by the automation?

Thanks
Throb
0
Comment
Question by:r6solutions
  • 2
6 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 63 total points
ID: 11837675
I'm pretty sure this isn't possible.  Automation can only control Outlook on the local machine, which in this case would be the sending PC.  It can't control Outlook on the remote machine.  So the only way this could work is if there's an AppointmentItem property that would force an Accept or exclude a Decline.   I went back over the AppointmentItem object to see if I could find anything that'd do that.  The Response method is the programmatic means of accepting/declining an appointment.  But there's no setting or option I see that would preclude certain responses.  It would be possible to implement this functionality if you wrote an Outlook addin and installed it on all client PCs   The addin would watch the inbox for appointment items coming in.  When it sees one it would process the request and accept it without user intervention.  To be practical it'd need a way of discriminating between those appointments it should automatically accept and those that it should leave to the user's descretion.  Naturally, the owners of those PCs the addin would go on would have to agree to all of this.  That might be okay in a corporate environment where PCs are imaged and settings strictly controlled.  In a setting like that the addin could automatically accept appointments from certain staff, say each employee's supervisor.  
0
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 62 total points
ID: 11839596
You could develop a form based on the AppointmentItem, and remove the deny/tentative buttons from it, but still that won't force the user to click on the "Accept"...

You might be able to configure your outlook to connect to the user's mailbox (as additional Mailbox), and then opening and accepting the task after you send it... but of course what BlueDevilFan said is 100% correct: this depends on the environment...


CHeers
0
 
LVL 76

Expert Comment

by:David Lee
ID: 12398507
Recommend a split between BlueDevilFan and AngelIII.  
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question