 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
mounil Guest
|
Posted: Wed Apr 20, 2005 2:59 am Post subject: 2nd Request.. |
|
|
I want to know how to get the Contacts from the Outlook in chunks. At the
moment I am able to get the Contacts from Outlook quite quickly, but I am
concerned about future possibility that there could be for e.g. 1000
contacts in my address book. How do I get ....say....the
first 100 contacts and load it and then get the next 100 and load it and so
on instead of getting all the data at once?
Any help would be highly appreciated.
---Mounil.
|
|
| Back to top |
|
 |
Chris Trueman Guest
|
Posted: Thu Apr 21, 2005 9:40 pm Post subject: Re: 2nd Request.. |
|
|
Not sure I follow why you would do this ... what if one of the 100 that
you've already loaded gets changed between you getting it and going for
the next 100?
What kind of gap are we talking about you wanting to have between
getting each chunk?
Chris.
| Quote: | I want to know how to get the Contacts from the Outlook in chunks. At
the moment I am able to get the Contacts from Outlook quite quickly,
but I am concerned about future possibility that there could be for
e.g. 1000 contacts in my address book. How do I get ....say....the
first 100 contacts and load it and then get the next 100 and load it
and so on instead of getting all the data at once?
Any help would be highly appreciated.
---Mounil.
|
|
|
| Back to top |
|
 |
mounil Guest
|
Posted: Thu Apr 21, 2005 11:37 pm Post subject: Re: 2nd Request.. |
|
|
hi Chris,
I was thinking of implementing multithreading into the
application. The user can choose to load contacts from various address books
....Outlook/Outlook Express/any other internal address books. At the moment,
when the user selects to load the contacts from the Outlook, the app kinda
hangs up while it retrieves them...hence, i wanted to know if its a good
idea to implement threads....so the user wont have to wait for the contacts
to load....and can choose to load contacts from the other address books
while the one's from Outlook are still loading.
Mounil.
"Chris Trueman" <ctrueman (AT) wavesoftware (DOT) com> wrote
| Quote: | Not sure I follow why you would do this ... what if one of the 100 that
you've already loaded gets changed between you getting it and going for
the next 100?
What kind of gap are we talking about you wanting to have between
getting each chunk?
Chris.
I want to know how to get the Contacts from the Outlook in chunks. At
the moment I am able to get the Contacts from Outlook quite quickly,
but I am concerned about future possibility that there could be for
e.g. 1000 contacts in my address book. How do I get ....say....the
first 100 contacts and load it and then get the next 100 and load it
and so on instead of getting all the data at once?
Any help would be highly appreciated.
---Mounil.
|
|
|
| Back to top |
|
 |
George Birbilis Guest
|
Posted: Fri Apr 22, 2005 11:50 am Post subject: Re: 2nd Request.. |
|
|
if you could call it to return stuff in chunks, you could in between call
Application.ProcessMessages or something to keep the app from looking hang
| Quote: | I was thinking of implementing multithreading into the
application. The user can choose to load contacts from various address
books
...Outlook/Outlook Express/any other internal address books. At the
moment,
when the user selects to load the contacts from the Outlook, the app kinda
hangs up while it retrieves them...hence, i wanted to know if its a good
idea to implement threads....so the user wont have to wait for the
contacts
to load....and can choose to load contacts from the other address books
while the one's from Outlook are still loading.
Mounil.
"Chris Trueman" <ctrueman (AT) wavesoftware (DOT) com> wrote in message
news:42680fb1 (AT) newsgroups (DOT) borland.com...
Not sure I follow why you would do this ... what if one of the 100 that
you've already loaded gets changed between you getting it and going for
the next 100?
What kind of gap are we talking about you wanting to have between
getting each chunk?
Chris.
I want to know how to get the Contacts from the Outlook in chunks. At
the moment I am able to get the Contacts from Outlook quite quickly,
but I am concerned about future possibility that there could be for
e.g. 1000 contacts in my address book. How do I get ....say....the
first 100 contacts and load it and then get the next 100 and load it
and so on instead of getting all the data at once?
Any help would be highly appreciated.
---Mounil.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|