![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
This might help, I did it for someone else asking a very similar question.
It only shows contacts that have a mobile number listed. Modify it to your own needs, PS don't forget to add the Outlook.dll's to the working directory. Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
|
||||
|
Thank you for the code. I loaded it on my device making sure the outlook.dll was in the working directory. When I run it on my device the listbox "Select Name" and "Mobile Number" are blank. No errors, but I would have expected to see a list of my contacts with a mobile number. I realize when running on the desktop they would be blank because of the "dummy" dll, but shouldn't I see something on the device?
![]() |
|
||||
|
I'm sorry to hear that you had problems with the code.
Is it possible that you have a blank entry within your contacts? Because the listbox is set to a height of only one entry, it may be that the box is populated but just showing the blank entry, try scrolling down. As it didn't error I would guess that it is working, you could also try making the listbox larger. Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
|
||||
|
Thank you for the code Erel. This snippet works, yet the example that RandomCoder provided still doesn't seem to show any contacts even after I made the listbox larger. Not a big deal. I appreciate the time both of you spent helping me.
Thanks again!! |
|
||||
|
Sorry for the confusion caused, but I did state that it selects only contacts having a mobile number.
If loading all contacts regardless of the contact details then there is no need to keep track of the index as this will be unaltered. Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with Contacts | willisgt | Questions & Help Needed | 6 | 05-14-2008 03:26 PM |
| Outlook library and contacts list | lancaster | Questions & Help Needed | 2 | 02-08-2008 09:26 AM |
| Contacts and List Boxes | Oran | Questions & Help Needed | 9 | 01-22-2008 07:08 PM |
| Listbox difficulties. | dan kabestan | Questions & Help Needed | 2 | 12-15-2007 06:24 PM |
| Access to Outlook contacts | Big JR | Code Samples & Tips | 3 | 09-26-2007 10:16 AM |