[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Webbrower anchor tag retrieval

Posted on 2002-07-23
3
Medium Priority
?
485 Views
Last Modified: 2010-04-04
Hello,

I have a problem when retrieving a anchor 'a' tag with the twebbrowser document object.  

Specifically when the hyperlink contains a space - this gets converted to a '+' sign in the text source file (view source from browser) but when the string is viewed in delphi (and used) the part of the hyperlink which contained the '+' is missing causing the link to fail.
i.e.

&psuburb=mona+vale&

is part of the hyperlink in question yet when viewed from the delphi variable (string) I get

&psuburb=&

I know how to hande the & but not missing data.

I have even tried getting the Inner html from the underlying table row in the document with the same result.

Any ideas????
0
Comment
Question by:Zonman
3 Comments
 
LVL 26

Accepted Solution

by:
EddieShipman earned 400 total points
ID: 7203449
Use the httpdecode function in httpapp.pas to decode
the URL returned and httpencode to send it back encoded.
0
 

Expert Comment

by:CleanupPing
ID: 9343000
Zonman:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 5

Expert Comment

by:Lukasz Lach
ID: 9461532
Zonman,
No comment has been added lately (18 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to EddieShipman http:#7203449

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

anAKiN
EE Cleanup Volunteer
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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 video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month20 days, 14 hours left to enroll

810 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