Article View: borland.public.cppbuilder.internet.web
Article #1392Re: Fully qualified path
From: Ted Tripp
Date: Tue, 01 Feb 2005 22:48
Date: Tue, 01 Feb 2005 22:48
36 lines
2065 bytes
2065 bytes
Thanks, I think the ProcessPath is just what I'm looking for. To answer your question, the asLink would be on whatever the current document page is, asCurrentURL, in other words the address you would find in internet explorer when looking at the link on a page. Thanks Ted "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:41fffeca$1@newsgroups.borland.com... > > "Ted Tripp" <ttripp@rankexec.com> wrote in message > news:41fff6f1$1@newsgroups.borland.com... >> I am looking for a function that would do something like this: >> >> String asURLFullyQualifiedPath = GetFullyQualifiedPath(String asLink, > String >> asCurrentURL); >> >> where the asLink might be a relative path to asCurrentURL. > > You did not say where the values are coming from to begin with. > > The WinInet API has a InternetCombineUrl() function. > > Indy has a ProcessPath() function. > >> Thought it would be easy to put together, but the real-life >> permutations are giving me headaches. > > Such as? > > > Gambit > >
Technical Details
Message-ID:
<4200074a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41fff6f1$1@newsgroups.borland.com> <41fffeca$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,d24617b0cdfc8c3e X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Ted Tripp" <ttripp@rankexec.com> From: "Ted Tripp" <ttripp@rankexec.com> Newsgroups: borland.public.cppbuilder.internet.web References: <41fff6f1$1@newsgroups.borland.com> <41fffeca$1@newsgroups.borland.com> Subject: Re: Fully qualified path Date: Tue, 1 Feb 2005 16:48:42 -0600 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 63.225.151.125 Message-ID: <4200074a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1107298122 63.225.151.125 (1 Feb 2005 14:48:42 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail