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 

load XML file progress bar

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





PostPosted: Sat Dec 16, 2006 12:27 am    Post subject: load XML file progress bar Reply with quote



Hello,

I'm trying to figure out how to attach a progress bar to the xml load
progress. I've explored options such as onreadystatechange but I haven't
been able to get it to work. I'd like to be able to update the progress
bar when the load is 25%, 50% and 75% complete. I'd take anything right
about now though. Anyone have any thoughts? My object is an
IXMLDOMDocument2.

FDOMDoc := GetDOMDocument;
FDOMDoc.setProperty('SelectionLanguage', 'XPath');
FDOMDoc.async := true;
FDOMDoc.validateOnParse := true;
FDOMDoc.resolveExternals := true;
FDOMDoc.preserveWhiteSpace := false;

Thanks!
Back to top
Andrea Raimondi
Guest





PostPosted: Tue Jan 09, 2007 11:29 pm    Post subject: Re: load XML file progress bar Reply with quote



slycaper ha scritto:
Quote:
Hello,

I'm trying to figure out how to attach a progress bar to the xml load
progress. I've explored options such as onreadystatechange but I haven't
been able to get it to work. I'd like to be able to update the progress

IMHO, your best option is to load it progressively using a stream and
update your progress bar accordingly, then feed it to the IXMLDocument
instance.

Quote:
Thanks!

Welcome,

Andrew
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML 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.