Solved

Webbrower anchor tag retrieval

Posted on 2002-07-23
3
479 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
[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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 92
URL for downloading Google Chrome for Win XP 2 281
How to debug For loops? 3 74
Using MMsystem To change audio input 1 38
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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