hi,

do you implement/set any nsIWebProgressListener(2) interface into yours ? If
so, maybe in


(...)
NS_IMETHODIMP ProgressListener::OnProgressChange (nsIWebProgress
*aWebProgress,
                                                   nsIRequest *aRequest,
PRInt32 aCurSelfProgress,
                                                   PRInt32
aMaxSelfProgress, PRInt32 aCurTotalProgress,
                                                   PRInt32
aMaxTotalProgress)
(...)


you can try compareing


(...)
if (aCurSelfProgress == aMaxSelfProgress) { }
(...)

it might work ...

regards

On 8 Nov 2006 02:08:51 -0800, Vin <[EMAIL PROTECTED]> wrote:


Vin wrote:
> Boris Zbarsky wrote:
> > Vin wrote:
> > > how do i create a nsILocalFile for the file path
> > > "/root/Desktop/test.dat"
> >
> > http://www.google.com/search?q=nsILocalFile
> >
> > I suggest the first hit.  You might need to translate the JS code into
C++, of
> > course.
> >
> > -Boris
>
> thanks a lot
> .....i am trying that..........
> i am a newbie in this field.....thats y taking time to grasp.... :)

the downloading section is complete....and i am able to download a
file.
and how do i find out if the download is complete?

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding




--
--Antonio Gomes
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to