BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2nd Request..

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
mounil
Guest





PostPosted: Wed Apr 20, 2005 2:59 am    Post subject: 2nd Request.. Reply with 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
Chris Trueman
Guest





PostPosted: Thu Apr 21, 2005 9:40 pm    Post subject: Re: 2nd Request.. Reply with 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.



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





PostPosted: Thu Apr 21, 2005 11:37 pm    Post subject: Re: 2nd Request.. Reply with quote



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





PostPosted: Fri Apr 22, 2005 11:50 am    Post subject: Re: 2nd Request.. Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.