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 Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
