Solved

TWebBrowser again

Posted on 2000-03-06
4
470 Views
Last Modified: 2007-10-18
well, this may be i'll not describe correctly, but, i'll check it.

If my informations are correct, when the browser wievs the asp page, that page can determine, if the browser is the MS-IE, or Netscape or any else browswer.
I have created my own browser on the component TWebBrowser, wich is composed on the MS-IE.
The question is: what for a browser will it appear in the asp?
a) as MyApp.exe? BINGO
b) as MS-IE? :-((

Btw: is that not soluted by the property "RegisterAsBrowser?". What this property does?
0
Comment
Question by:pistacer
  • 3
4 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 150 total points
Comment Utility
Hi
i have tested this on my website using the tewebbrowser and a program called website reporter to check what browsers have visited my site.
the twebbrowser is recorded as:

MS Explorer 5.xxx

Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
oh and about the RegisterAsBrowser it does just that:  Registers your browser app as the default browser for 95/NT.
see here  :
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/Properties/RegisterAsBrowser.asp

though some of these properties dont always work in delphi's twebbrowser ..
0
 

Author Comment

by:pistacer
Comment Utility
inthe, could you send me the asp page, on wich you have tested it?

i will do some experiments more and it would be helpfull.

scernak@pss.sk

thanks, thanks

(or insert the code directly here)
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
hi,
? asp ..i dont know asp im was just saying that twebbrowser is showsed on servers as internet explorer.this doesnt matter if the script is asp/cgi/javascript..they will all show as internet explorer.
the program i tested it on was cgi
( http://www.websitereporter.com/ )
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now