A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Exchange 2003 and Outlook 2003: Conflicts on taskitem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 17th 07, 03:57 PM posted to microsoft.public.outlook.program_forms
Oskar Vaia
external usenet poster
 
Posts: 29
Default Exchange 2003 and Outlook 2003: Conflicts on taskitem

Hi,

i have develop a webservice which write date in a taskitem. the webservice
run on a windows 2003 R2 server and works fine.
when i launch the webservice (with a button) from a personalized
taskitemform and immediately after i save the taskitem, i receive a
conflict-message.
I think this, because my webservice save the taskitem and immediately after
on the client i save the taskitem in outlook, too.

Here the code of the webservice:

---
Private Function AktualisierungMahnbriefstufe(ByVal Source_OL_URL As String,
ByVal aktMahnstufe As Char) As String
Dim RetMessage As String = ""
Dim sExchangeServer As String = "EXCH2003"
Dim sEmailAddress As String = "
Dim text5 As String = Me.SMTPToMailboxURL(sExchangeServer,
sEmailAddress, False)
Dim message As Message = New MessageClass
Dim sourceURL As String = (text5 & "Aufgaben/Inkassi/" &
Source_OL_URL)
Try
message.DataSource.Open(sourceURL, Nothing,
ConnectModeEnum.adModeReadWrite, RecordCreateOptionsEnum.adFailIfNotExists,
Not RecordOpenOptionsEnum.adOpenRecordUnspecified, userName, userPwd)
Dim message3 As Message = Message
message3.Fields.Item("DAV:contentclass").Value =
"urn:content-classes:message"
message3.Fields.Item("http://schemas.microsoft.com/exchange/outlookmessageclass").Value
= "IPM.Task.(p) Aufgabe"
If aktMahnstufe = "1" Then
message3.Fields.Item("http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/MB1").Value
= DateTime.UtcNow
ElseIf aktMahnstufe = "2" Then
message3.Fields.Item("http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/MB2").Value
= DateTime.UtcNow
End If
message3.Fields.Update()
message3.DataSource.Save()
message3 = Nothing
RetMessage = "OK"
Catch exception1 As Exception
ProjectData.SetProjectError(exception1)
Dim exception As Exception = exception1
RetMessage = exception.Message
ProjectData.ClearProjectError()
End Try
Return RetMessage
End Function
---

how can i avoid the conflict?

thx & bye

Oskar

Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
outlook 2003 disconnected from Exchange 2003 after Exchange reboo mrTibbs Outlook - Installation 0 June 29th 07 01:34 PM
Conflicts with Norton Systemworks, Outlook 2003 ? derider Outlook - Using Contacts 2 April 26th 07 01:12 AM
Outlook 2003 at home to view work email from Exchange server 2003 mnudel Outlook - General Queries 1 April 22nd 07 05:13 AM
Outlook 2003 VSTO framework conflicts with other apps using MAPI Sanjay Add-ins for Outlook 5 January 26th 07 09:50 PM
Outlook 2003: No alert for conflicts with recurring meetings James.Brown Outlook - Calandaring 0 May 23rd 06 07:11 PM


All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.