Article View: borland.public.cppbuilder.nativeapi
Article #7322Re: Open The Site
From: Remy Lebeau (TeamB)
Date: Thu, 17 Feb 2005 18:05
Date: Thu, 17 Feb 2005 18:05
32 lines
1719 bytes
1719 bytes
"Ali" <ali_info@hotpop.com> wrote in message
news:421462b4@newsgroups.borland.com...
> I Want To Open (".Com") But Dont Appeare In Arive Site.
>
>
> When We Put A Name Of A Site In A Edit
>
>
> Like This:("Http://www.borland")
>
> So Add (".Com") To The End Of Site Wite Push The ("Enter") Key.
>
> Example: "Http://www.borland.com"
>
> And It Show The Site In The Web Browser.
void __fastcall TForm1::Edit1KeyPress(TObject *Sender, char &Key)
{
if( Key == VK_RETURN )
{
Key = 0;
AnsiString URL = Edit1->Text;
if( URL.SubString(URL.Length()-3, 4) != ".com" )
URL += ".com";
CppWebBrowser1->Navigate(WideString(URL));
}
}
Gambit
Technical Details
Message-ID:
<4214dcdb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4213ab71@newsgroups.borland.com> <4213b1dd$1@newsgroups.borland.com> <421462b4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bfb678bccd3dcba4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4213ab71@newsgroups.borland.com> <4213b1dd$1@newsgroups.borland.com> <421462b4@newsgroups.borland.com> Subject: Re: Open The Site Date: Thu, 17 Feb 2005 10:05:12 -0800 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4214dcdb$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108663515 68.69.17.41 (17 Feb 2005 10:05:15 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail