Hi guys,
I'm absolutely new at this, and my experience is in PHP and Oracle, and I have never tried any .Net development or similar. Nevertheless I really would like to develop some stuff for my HTC, for WM6.
After reading some of the examples, and successfully finishing the first tutorial, my goal was to build a custom contact list. I was incredibly pleased to see that the following example was available:
'Contact is a Contact object and ContactsCollection is a PimCollection object.
Sub Globals
End Sub
Sub App_Start
Form1.Show
Contact.New1
ContactsCollection.New1("Contacts")
ContactsCollection.SortItems("FirstName",false) 'sorts the contacts using the first name field.
For i = 0 to ContactsCollection.Count - 1
Contact.Value = ContactsCollection.GetItem(i)
ListBox1.Add(Contact.FirstName & " " & Contact.LastName) 'Add the contact's first and last name to ListBox1.
Next
End Sub
The problem is that a simple copy and paste doesn't work. I get loads of errors and it doesn't allow me to run it.
I would like to know what should I do do make it run. It seems a very good start for what I need.
Any help would be great!
Thanks in advance,
Dinis
I'm absolutely new at this, and my experience is in PHP and Oracle, and I have never tried any .Net development or similar. Nevertheless I really would like to develop some stuff for my HTC, for WM6.
After reading some of the examples, and successfully finishing the first tutorial, my goal was to build a custom contact list. I was incredibly pleased to see that the following example was available:
'Contact is a Contact object and ContactsCollection is a PimCollection object.
Sub Globals
End Sub
Sub App_Start
Form1.Show
Contact.New1
ContactsCollection.New1("Contacts")
ContactsCollection.SortItems("FirstName",false) 'sorts the contacts using the first name field.
For i = 0 to ContactsCollection.Count - 1
Contact.Value = ContactsCollection.GetItem(i)
ListBox1.Add(Contact.FirstName & " " & Contact.LastName) 'Add the contact's first and last name to ListBox1.
Next
End Sub
The problem is that a simple copy and paste doesn't work. I get loads of errors and it doesn't allow me to run it.
I would like to know what should I do do make it run. It seems a very good start for what I need.
Any help would be great!
Thanks in advance,
Dinis