Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

TEMBEDDEDWB how can i change its user agent ?

Posted on 2016-11-16
8
Medium Priority
?
181 Views
Last Modified: 2016-11-18
i am using TEMBEDDEDWB  i want to change its user agent from default to firefix user agent as example any idea how ?
0
Comment
Question by:dolphin King
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 41891016
firefix ?
the fox has left the hen house ?

here is a link on how to do it
https://theroadtodelphi.com/2011/03/11/changing-the-ua-user-agent-of-a-twebbrowser-component/

further down the page is a link for other user agent strings
0
 

Author Comment

by:dolphin King
ID: 41891071
mess typing helpful URL but embeddedwb has property with user agent but it didn't pointed to the user agent that i set .
0
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 41891075
wow ... i got a spot of trouble in understanding that sentence
what language is that ? it's not very good english, not the grammar part anyway

if i read correctly  ... doesn't work ?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:dolphin King
ID: 41891077
TEmbeddedwb
have a property to set User agent , when ever i set custom user agent into that property it does not work .
still have the same Default user agent . english is not my first language i speak German ...
0
 
LVL 28

Expert Comment

by:Sinisa Vuk
ID: 41891432
try to set>
- internal/temporary
EmbeddedWB1.UserAgent:='My agent';
EmbeddedWB1.UserAgentMode:=uaInternal;

Open in new window


- registry mode:
EmbeddedWB1.UserAgent:='My agent';
EmbeddedWB1.UserAgentMode:=uaRegistry;

Open in new window


-return to default
EmbeddedWB1.UserAgentMode:=uaDefault;

Open in new window

0
 

Author Comment

by:dolphin King
ID: 41891662
Thank sinisa what is the different between
useragentmode uaInternal

and
UserAgentMode:=uaRegistry;

Open in new window

0
 
LVL 28

Accepted Solution

by:
Sinisa Vuk earned 2000 total points
ID: 41892518
With uaRegistry - it writes agent into registry - then all instance of IE will reuse this agent too...
uaInternal - will restore registry back and temporary set agent for current instance of EmbeddedWB

(with look into source)
0
 

Author Closing Comment

by:dolphin King
ID: 41892761
thank you very much that was really helpful
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

609 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