|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
windows mobile pocketoutlookanybody know how to add contacts to pocketmobile using vb.net?
tia, mcnewsxp On May 26, 2:54 pm, "Michael Courter" <mcour***@mindspring.com> wrote: What version of Visual Studio are you using?> anybody know how to add contacts to pocketmobile using vb.net? > tia, > mcnewsxp IMHO inthehand's pocketoutlook wrapper is the easiest way to get this functionality. > anybody know how to add contacts to pocketmobile using vb.net? What version of Visual Studio are you using?> tia, > mcnewsxp 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. 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
System.IO.File.Copy + NTFS Streams + special ACLs
save treeview state and call from another form Bitmap from a file windows.forms.controls Help with Event handler, withevents, raise events VS2010 for database developers System icons in Listview How to catch page redirect disabling MdiParent during load causes incorrect MdiChild to be ac ISAM not found |
|||||||||||||||||||||||