Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Sep : TWebBrowser - navigating to folders on disk...

www.cryer.info
Managed Newsgroup Archive

TWebBrowser - navigating to folders on disk...

Subject:TWebBrowser - navigating to folders on disk...
Posted by:"dk_sz" (dk_..@hotmail.com)
Date:Fri, 1 Sep 2006 13:40:07

If I (e.g. by bad user input) or whatever try
to navigate the embedded browser to e.g.

c:\data\example-directory

I get an exception "interface not supported"...
Problem is, I do not get the exception in the
same code-path as my Navigate2 call, thus I
can not try/except it.

The comes later from some message handling in
response to IE trying to laod the path.

The "funny" thing is IE shows folders just fine...


Is there anyway I can detect such exceptions?
I can try filter such paths myself; however, I
would prefer a cleaner approach.


best regards
Thomas Schulz

Replies:

www.cryer.info
Managed Newsgroup Archive