🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #275

TCPPWebBrowser Relative Form URLs

#275
From: Tom
Date: Sat, 10 Feb 2007 02:17
23 lines
1563 bytes
I'm having a problem with TCPPWebBrowser and submitting
forms that use relative URLS for the action= portion.

<form action="Captcha" method="get">

As soon as the form is submitted I get a Page Cannot Be
Displayed.

How can I correct this issue? I thought I could use the
OnBeforeNavigate2 method and update the URL so that
it contains the full URL, but as I read elsewhere, in the
archives, the URL cannot be changed on the fly. However, I
can't just re-navigate without having the form fields
re-populated.

The only other thing I could think of is to change the source
of the browser after the document loads.

Ideas?

Thanks,

Tom 
Technical Details
Message-ID: <45cd2b29@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f55b5377ef14c1b6,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tom" <tom@nospam.net>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: TCPPWebBrowser Relative Form URLs
Date: Fri, 9 Feb 2007 20:17:23 -0600
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 68.1.78.156
Message-ID: <45cd2b29@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171073833 68.1.78.156 (9 Feb 2007 18:17:13 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail