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 <[email protected]> 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 <[email protected]>
> 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: [email protected]
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to [email protected] with
>> Subject: unsubscribe
>>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: [email protected]
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [email protected] with
> Subject: unsubscribe
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with
Subject: unsubscribe