Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Calendaring / October 2007

Tip: Looking for answers? Try searching our database.

Modify a particular Appointment

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Atul Saxena - 09 Oct 2007 05:11 GMT
I want to modify the details (like subject, description, st. date, end date
etc.) of a particular appointment from SQL Server 2005 on the basis of ID. As
now I am writing this code but this would update first appointment in Outlook
2007.

Code:

 Dim sQuery As String

           oXMLHttp.open("PROPPATCH", stURI, False, Me.UserNameAlias,
Me.Password)

  sQuery = "<?xml version='1.0'?>" & _
                                "<a:propertyupdate xmlns:a='DAV:'
xmlns:m='urn:schemas:mailheader:' xmlns:cal=""urn:schemas:calendar:"" " & _
                         
"xmlns:dt='urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/' " & _
                          "xmlns:mail='urn:schemas:httpmail:'> " & _
                           "<a:set>" & _
                               "<a:prop>" & _
                               "<mail:subject>Appointment with PM regarding
dismissal of Atul </mail:subject>" & _
                                "</a:prop>" & _
                           "</a:set>" & _
                           "</a:propertyupdate>"

oXMLHttp.setRequestHeader("Content-Type", "text/xml")
           oXMLHttp.setRequestHeader("Brief", "t")
           ' Send the query.
           oXMLHttp.send(sQuery)

thanks in advance.

Atul Saxena
Brian Tillman - 09 Oct 2007 13:17 GMT
> I want to modify the details (like subject, description, st. date,
> end date etc.) of a particular appointment from SQL Server 2005 on
> the basis of ID. As now I am writing this code but this would update
> first appointment in Outlook 2007.
>
> Code:

Copde questions are handled in microsoft.public.outlook.program_vba,
microsoft.public.outlook.program_addins, and
microsoft.public.outlook.program_forms
Signature

Brian Tillman [MVP-Outlook]


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.