M Michael Courter May 26, 2009 #1 anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp
B Brad May 26, 2009 #2 anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality.
anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality.
B Brad May 26, 2009 #3 anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality.
anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality.
M Michael Courter May 26, 2009 #4 anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality. i'm using 2005. i'd rather not add any 3rd party stuff if i can avaoid it.
anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality. i'm using 2005. i'd rather not add any 3rd party stuff if i can avaoid it.
M Michael Courter May 26, 2009 #5 anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality. i'm using 2005. i'd rather not add any 3rd party stuff if i can avaoid it.
anybody know how to add contacts to pocketmobile using vb.net? tia, mcnewsxp Click to expand... What version of Visual Studio are you using? IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality. i'm using 2005. i'd rather not add any 3rd party stuff if i can avaoid it.
M Michael Courter May 26, 2009 #6 Private Sub AddContact(ByVal PhoneNumber As String) Dim found As Boolean Dim ol As OutlookSession = New OutlookSession() Dim newContact As Contact Dim iter As ContactCollection.ContactCollectionEnumerator = ol.Contacts.Items.GetEnumerator() Do While iter.MoveNext() If (iter.Current.MobileTelephoneNumber.Equals(PhoneNumber)) Then found = True End If Loop If Not (found) Then newContact = ol.Contacts.Items.AddNew() 'iter.Current.MobileTelephoneNumber = PhoneNumber newContact.FirstName = "Joe" newContact.MobileTelephoneNumber = PhoneNumber newContact.Update() End If End Sub
Private Sub AddContact(ByVal PhoneNumber As String) Dim found As Boolean Dim ol As OutlookSession = New OutlookSession() Dim newContact As Contact Dim iter As ContactCollection.ContactCollectionEnumerator = ol.Contacts.Items.GetEnumerator() Do While iter.MoveNext() If (iter.Current.MobileTelephoneNumber.Equals(PhoneNumber)) Then found = True End If Loop If Not (found) Then newContact = ol.Contacts.Items.AddNew() 'iter.Current.MobileTelephoneNumber = PhoneNumber newContact.FirstName = "Joe" newContact.MobileTelephoneNumber = PhoneNumber newContact.Update() End If End Sub
M Michael Courter May 26, 2009 #7 Private Sub AddContact(ByVal PhoneNumber As String) Dim found As Boolean Dim ol As OutlookSession = New OutlookSession() Dim newContact As Contact Dim iter As ContactCollection.ContactCollectionEnumerator = ol.Contacts.Items.GetEnumerator() Do While iter.MoveNext() If (iter.Current.MobileTelephoneNumber.Equals(PhoneNumber)) Then found = True End If Loop If Not (found) Then newContact = ol.Contacts.Items.AddNew() 'iter.Current.MobileTelephoneNumber = PhoneNumber newContact.FirstName = "Joe" newContact.MobileTelephoneNumber = PhoneNumber newContact.Update() End If End Sub
Private Sub AddContact(ByVal PhoneNumber As String) Dim found As Boolean Dim ol As OutlookSession = New OutlookSession() Dim newContact As Contact Dim iter As ContactCollection.ContactCollectionEnumerator = ol.Contacts.Items.GetEnumerator() Do While iter.MoveNext() If (iter.Current.MobileTelephoneNumber.Equals(PhoneNumber)) Then found = True End If Loop If Not (found) Then newContact = ol.Contacts.Items.AddNew() 'iter.Current.MobileTelephoneNumber = PhoneNumber newContact.FirstName = "Joe" newContact.MobileTelephoneNumber = PhoneNumber newContact.Update() End If End Sub