Solved

Webbrower anchor tag retrieval

Posted on 2002-07-23
3
472 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 100 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SIM number for APK using Delphi 10 2 363
JSON on ISAPI REST Server using Delphi 2 210
Downloading email attachments 2 55
LAN or WAN ? 11 66
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

13 Experts available now in Live!

Get 1:1 Help Now