[DUG] TWebBrowser ... Navigation to the webpage was canceled
Alister Christie
alister at salespartner.co.nz
Fri Oct 31 09:20:14 NZDT 2014
You may also need to specify myWB.Navigate('file:///path/filename.xxx')
(with an extra '/'). Not sure if this is relevant though as many browsers
infer the extra '/'. See http://en.wikipedia.org/wiki/File_URI_scheme
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266http://www.salespartner.co.nz
Follow us on Twitter http://twitter.com/salespartner
PO Box 13085
Johnsonville
Wellington
On Thu, Oct 30, 2014 at 9:53 PM, Jeremy Coulter <jscoulter at gmail.com> wrote:
> It may be how you are accessing the file.
> just to check, you can doing myWB.Navigate2('file://path/filename.xxx')
> ? (I think its Navigate2)
>
> I dont use TWebBrowser, I use TEmbeddedWebBrowser rather than TWebBrowser
> which has a few more features.
>
> Jeremy
>
> On Thu, Oct 30, 2014 at 9:42 PM, Graham Marsden <grahamarsden at gmail.com>
> wrote:
>
>> Hi All
>>
>> Does anyone have any experience with TWebBrowser showing a message ...
>> "Navigation to the webpage was canceled" instead of the resource navigated
>> to.?
>>
>> This is happening when the resource is a PDF file on the local machine,
>> not an actual web page. It seems to be related to settings in the installed
>> instance of Internet Explorer on the local machine and not any file
>> attribute of the target file(s)
>>
>> Any assistance very much appreciated.
>>
>> Graham Marsden.
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at listserver.123.net.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> Subject: unsubscribe
>>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20141031/d0a16cfb/attachment.html
More information about the Delphi
mailing list