yes I tried it but the problem remains... I don't understand.

thx for your suggestions
raf

Jaime Stuardo a �crit :

>Have you tested by adding: file:// in front of the actual path.
>
>Jaime
>
>-----Mensaje original-----
>De: el Padre [mailto:[EMAIL PROTECTED]
>Enviado el: Mi�rcoles, 27 de Octubre de 2004 11:17
>Para: [EMAIL PROTECTED]
>Asunto: Re: [c-prog] Pblem with WebBrowser control in a MFC application
>
>
>
>url is an absolute path ("c:\....\file.pdf")
>
>thanks for youe answer but do you have a suggestion to make it work ?
>
>rapha�l
>
>Jaime Stuardo a �crit :
>

>
>>Is that "url" variable a relative or absolute path?
>>
>>It sounds like Navigate method tries to navigate to the path below the first url you used.
>>
>>Jaime
>>
>>-----Mensaje original-----
>>De: el Padre [mailto:[EMAIL PROTECTED]
>>Enviado el: Mi�rcoles, 27 de Octubre de 2004 10:35
>>Para: c-prog
>>Asunto: [c-prog] Pblem with WebBrowser control in a MFC application
>>
>>
>>
>>hi,
>>
>>I'm working on a VC++ project using MFC and the microsoft webbrowser
>>control to display pdf documents.
>>
>>I can display a first pdf without any problems but something strange is
>>happening when I want to change the "url" to dislpay another pdf.
>>
>>To load the first pdf:
>>   CString url = ""> >>   m_browser.Navigate((LPCTSTR)url,NULL,NULL,NULL,NULL);
>>this works fine.
>>But when I want to change the pdf I'm reusing the same code and I get an
>>error telling me that the file indicated by the path (in url) does not
>>exist.
>>I get this error even if I use exactly the same path that I used to
>>display the first pdf.
>>
>>does someone have an explanation for this weird behavior?
>>
>>thanks a lot
>>rapha�l
>>
>>
>>
>>To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>   
>>
>
>
>
>
>To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
>To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>

>



To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5529720.6602079.3001176/D=groups/S=:HM/A=2372354/rand=893894109


Yahoo! Groups Links

Reply via email to