Solved

How to force ACCEPT with sent AppointmentItem?

Posted on 2004-08-18
6
181 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Basic Excel Formatting error 4 105
MsgBox 2 54
Adding to a VBA? 6 70
Microsoft Access combo box help 2 46
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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

770 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