| View previous topic :: View next topic |
| Author |
Message |
Pete Fraser Guest
|
Posted: Tue May 02, 2006 7:03 pm Post subject: Using TCppWebBrowser |
|
|
I am trying to use TCppWebBrowser and coming up against all kinds of usage
problems.
Can anyone help with these?
1) How to tell it to display a local html file such as
d:\mydir\dir\myfile.html
I tried all kinds of variants of file://d:\mydir\dir\myfile.html using
forward and
backward slashes, none of which worked but work OK in IE and firefox
2) How to get the events which allow links to be displayed in status bar
etc.
Does anyone know of a web site that helps width this OR of an alternative
browser
that works well?
Thanks Pete |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue May 02, 2006 8:03 pm Post subject: Re: Using TCppWebBrowser |
|
|
"Pete Fraser" <pete.fraser (AT) frasersoft (DOT) nospam.com> wrote in message
news:4457a015$1 (AT) newsgroups (DOT) borland.com...
| Quote: | How to tell it to display a local html file such as
d:\mydir\dir\myfile.html |
Simply specify the local path and filename when calling Navigate(). Works
fine for me.
| Quote: | How to get the events which allow links to be displayed in status bar etc.
|
TCppWebBrowser has an OnStatusTextChange event. The web browser control
manages the link text automatically for you.
Gambit |
|
| Back to top |
|
 |
Jim Dodd Guest
|
Posted: Thu May 04, 2006 6:14 pm Post subject: Re: Using TCppWebBrowser |
|
|
Pete Fraser wrote:
| Quote: | I am trying to use TCppWebBrowser and coming up against all kinds of usage
problems.
Can anyone help with these?
1) How to tell it to display a local html file such as
d:\mydir\dir\myfile.html
I tried all kinds of variants of file://d:\mydir\dir\myfile.html using
forward and
backward slashes, none of which worked but work OK in IE and firefox
2) How to get the events which allow links to be displayed in status bar
etc.
Does anyone know of a web site that helps width this OR of an alternative
browser
that works well?
Thanks Pete
|
Forgive the obvious question but I've made this mistake many times:
If you're entering the path as a quoted string, did you remember to
escape the backslashes?
"d:\\mydir\\dir\\myfile.html"
Regards,
Jim Dodd
Onset Computer Corp. |
|
| Back to top |
|
 |
Pete Fraser Guest
|
Posted: Fri May 05, 2006 9:14 am Post subject: Re: Using TCppWebBrowser |
|
|
It was coming from an edit box so that wasn't the problem.
I'm not sure what the problem was because it works now!
It may have been to do with AnsiString to WideString conversion
- the BCB debugger wasn't showing any symbols so that
didn't help me debug the problem!
Rgds Pete
"Jim Dodd" <bcbuilderboy (AT) yahoo (DOT) com> wrote in message
news:445a3efe (AT) newsgroups (DOT) borland.com...
| Quote: | Pete Fraser wrote:
I am trying to use TCppWebBrowser and coming up against all kinds of
usage problems.
Can anyone help with these?
1) How to tell it to display a local html file such as
d:\mydir\dir\myfile.html
I tried all kinds of variants of file://d:\mydir\dir\myfile.html using
forward and
backward slashes, none of which worked but work OK in IE and firefox
2) How to get the events which allow links to be displayed in status bar
etc.
Does anyone know of a web site that helps width this OR of an alternative
browser
that works well?
Thanks Pete
Forgive the obvious question but I've made this mistake many times:
If you're entering the path as a quoted string, did you remember to
escape the backslashes?
"d:\\mydir\\dir\\myfile.html"
Regards,
Jim Dodd
Onset Computer Corp. |
|
|
| Back to top |
|
 |
|