Solved

How to force ACCEPT with sent AppointmentItem?

Posted on 2004-08-18
6
180 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 142

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we 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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now