none
RichTextBox的DetectURL无法检测网页的超链接? RRS feed

  • 问题




  • RichTextBox的DetectURL,如果直接在上面写超链接,它能检测,并把它变成下划线,蓝色的样子。


    但是,它为什么无法检测网页的网页源代码超链接?好像遇到 <>就不行了。


    这有什么办法解决?


    本人现在使用Windows Server 2003, CentOS Linux 5.2, Windows XP, VirtualBox 2.2.4, Visual Studio 2005, Eclipse 3.4, Microsoft.NET Framework 2.0 SP2, C# 2.0, IIS 6.0, Apache 1.3.41, Nginx-0.7.59, SQL Server 2000, MySQL 5.0, FireBird 2.1.2, PHP 5.2.4, Office 2007, OpenOffice 3.1和永中Office2009.
    2009年6月3日 3:04

答案

全部回复

  • 你好!
         我测试了这个:
    <title>hao123网址之家--实用网址,搜索大全,尽在www.hao123.com</title>
    

         这个是可以检测出来的,你说的是什么样的检测不出来呢?
    周雪峰
    2009年6月3日 4:50
    版主
  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
    <!-- saved from url=(0042)http://en.wikipedia.org/wiki/Business_card -->
    <HTML lang=en dir=ltr xml:lang="en"
    xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Business card - Wikipedia, the free encyclopedia</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
    <META http-equiv=Content-Style-Type content=text/css>
    <META content="MSHTML 6.00.2900.2912" name=GENERATOR>
    <META
    content="Business card,Articles lacking sources from July 2007,Articles with unsourced statements from August 2008,Articles with unsourced statements from April 2009,Special:Search/Business card,Address (geography),Aspect ratio,Australia,Bank account,Bleed (printing),Bluetooth"
    name=keywords><LINK title="Edit this page"
    href="/w/index.php?title=Business_card&amp;action=edit" type=application/x-wiki
    rel=alternate><LINK title="Edit this page"
    href="/w/index.php?title=Business_card&amp;action=edit" rel=edit><LINK
    href="http://en.wikipedia.org/apple-touch-icon.png" rel=apple-touch-icon><LINK
    href="/favicon.ico" rel="shortcut icon"><LINK title="Wikipedia (en)"
    href="/w/opensearch_desc.php" type=application/opensearchdescription+xml
    rel=search><LINK href="http://www.gnu.org/copyleft/fdl.html" rel=copyright><LINK
    title="Wikipedia RSS Feed"
    href="/w/index.php?title=Special:RecentChanges&amp;feed=rss"
    type=application/rss+xml rel=alternate><LINK title="Wikipedia Atom Feed"
    href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"
    type=application/atom+xml rel=alternate><LINK media=screen
    href="Business card - Wikipedia, the free encyclopedia.files/shared.css"
    type=text/css rel=stylesheet><LINK media=print
    href="Business card - Wikipedia, the free encyclopedia.files/commonPrint.css"
    type=text/css rel=stylesheet><LINK media=screen
    href="Business card - Wikipedia, the free encyclopedia.files/main.css"
    type=text/css rel=stylesheet><LINK media=handheld
    href="G:\Desktop\Business card - Wikipedia, the free encyclopedia.files\main(1).css"
    type=text/css rel=stylesheet><!--[if lt IE 5.5000]><link rel="stylesheet" href="/skins-1.5/monobook/IE50Fixes.css?207" type="text/css" media="screen" /><![endif]--><!--[if IE 5.5000]><link rel="stylesheet" href="/skins-1.5/monobook/IE55Fixes.css?207" type="text/css" media="screen" /><![endif]--><!--[if IE 6]><LINK
    media=screen
    href="Business card - Wikipedia, the free encyclopedia.files/IE60Fixes.css"
    type=text/css rel=stylesheet><![endif]--><!--[if IE 7]><link rel="stylesheet" href="/skins-1.5/monobook/IE70Fixes.css?207" type="text/css" media="screen" /><![endif]--><LINK
    href="Business card - Wikipedia, the free encyclopedia.files/index.css"
    type=text/css rel=stylesheet><LINK media=print
    href="G:\Desktop\Business card - Wikipedia, the free encyclopedia.files\index(1).css"
    type=text/css rel=stylesheet><LINK media=handheld
    href="G:\Desktop\Business card - Wikipedia, the free encyclopedia.files\index(2).css"
    type=text/css rel=stylesheet><LINK
    href="G:\Desktop\Business card - Wikipedia, the free encyclopedia.files\index(3).css"
    type=text/css rel=stylesheet><LINK
    href="G:\Desktop\Business card - Wikipedia, the free encyclopedia.files\index(4).css"
    type=text/css rel=stylesheet><!--[if lt IE 7]>
    <SCRIPT src="Business card - Wikipedia, the free encyclopedia.files/IEFixes.js"
    type=text/javascript></SCRIPT>

    <META http-equiv=imagetoolbar content=no><![endif]-->
    <SCRIPT type=text/javascript>/*<![CDATA[*/
      var skin = "monobook";
      var stylepath = "/skins-1.5";
      var wgArticlePath = "/wiki/$1";
      var wgScriptPath = "/w";
      var wgScript = "/w/index.php";
      var wgVariantArticlePath = false;
      var wgActionPaths = {};
      var wgServer = "http://en.wikipedia.org";
      var wgCanonicalNamespace = "";
      var wgCanonicalSpecialPageName = false;
      var wgNamespaceNumber = 0;
      var wgPageName = "Business_card";
      var wgTitle = "Business card";
      var wgAction = "view";
      var wgArticleId = "305074";
      var wgIsArticle = true;
      var wgUserName = null;
      var wgUserGroups = null;
      var wgUserLanguage = "en";
      var wgContentLanguage = "en";
      var wgBreakFrames = false;
      var wgCurRevisionId = 292673333;
      var wgVersion = "1.15alpha";
      var wgEnableAPI = true;
      var wgEnableWriteAPI = true;
      var wgSeparatorTransformTable = ["", ""];
      var wgDigitTransformTable = ["", ""];
      var wgMWSuggestTemplate = "http://en.wikipedia.org/w/api.php?action=opensearch\x26search={searchTerms}\x26namespace={namespaces}\x26suggest";
      var wgDBname = "enwiki";
      var wgSearchNamespaces = [0];
      var wgMWSuggestMessages = ["with suggestions", "no suggestions"];
      var wgRestrictionEdit = [];
      var wgRestrictionMove = [];
      /*]]>*/</SCRIPT>

    <SCRIPT src="Business card - Wikipedia, the free encyclopedia.files/wikibits.js"
    type=text/javascript><!-- wikibits js --></SCRIPT>
    <!-- Head Scripts -->
    <SCRIPT src="Business card - Wikipedia, the free encyclopedia.files/ajax.js"
    type=text/javascript></SCRIPT>

    <SCRIPT
    src="Business card - Wikipedia, the free encyclopedia.files/mwsuggest.js"
    type=text/javascript></SCRIPT>

    <SCRIPT type=text/javascript>/*<![CDATA[*/
    var wgNotice='';var wgNoticeLocal='';
    /*]]>*/</SCRIPT>

    <SCRIPT
    src="Business card - Wikipedia, the free encyclopedia.files/centralnotice.js"
    type=text/javascript></SCRIPT>

    <SCRIPT src="Business card - Wikipedia, the free encyclopedia.files/index.php"
    type=text/javascript><!-- site js --></SCRIPT>
    </HEAD>
    <BODY class="mediawiki ltr ns-0 ns-subject page-Business_card skin-monobook">
    <DIV id=globalWrapper>
    <DIV id=column-content>
    <DIV id=content><A id=top name=top></A>
    <DIV id=siteNotice>
    <SCRIPT
    type=text/javascript>if (wgNotice != '') document.writeln(wgNotice);</SCRIPT>
    </DIV>
    <H1 class=firstHeading id=firstHeading>Business card</H1>
    <DIV id=bodyContent>
    <H3 id=siteSub>From Wikipedia, the free encyclopedia</H3>
    <DIV id=contentSub></DIV>
    <DIV id=jump-to-nav>Jump to: <A
    href="http://en.wikipedia.org/wiki/Business_card#column-one">navigation</A>, <A
    href="http://en.wikipedia.org/wiki/Business_card#searchInput">search</A></DIV><!-- start content -->
    <TABLE class="metadata plainlinks ambox ambox-content">
      <TBODY>
      <TR>
        <TD class=mbox-image>
          <DIV style="WIDTH: 52px"><A class=image title="Question book-new.svg"
          href="http://en.wikipedia.org/wiki/File:Question_book-new.svg"><IMG
          height=39 alt=""
          src="Business card - Wikipedia, the free encyclopedia.files/50px-Question_book-new.svg.png"
          width=50 border=0></A></DIV></TD>
        <TD class=mbox-text>This article <B>does not <A
          title="Wikipedia:Citing sources"
          href="http://en.wikipedia.org/wiki/Wikipedia:Citing_sources">cite</A> any
          <A title=Wikipedia:Verifiability
          href="http://en.wikipedia.org/wiki/Wikipedia:Verifiability">references or
          sources</A></B>. Please help <A class="external text"
          title=http://en.wikipedia.org/w/index.php?title=Business_card&amp;action=edit
          href="http://en.wikipedia.org/w/index.php?title=Business_card&amp;action=edit"
          rel=nofollow>improve this article</A> by adding citations to <A
          title="Wikipedia:Reliable sources"
          href="http://en.wikipedia.org/wiki/Wikipedia:Reliable_sources">reliable
          sources</A>. <A title=Wikipedia:Verifiability
          href="http://en.wikipedia.org/wiki/Wikipedia:Verifiability">Unverifiable</A>
          material may be challenged and removed. <SMALL><I>(July
        2007)</I></SMALL></TD></TR></TBODY></TABLE>
    <DIV class="thumb tright">
    <DIV class=thumbinner style="WIDTH: 202px"><A class=image
    title="Attorney business card, 1895"
    href="http://en.wikipedia.org/wiki/File:BusinessCardAttorney1895.jpg"><IMG
    class=thumbimage height=122 alt=""
    src="Business card - Wikipedia, the free encyclopedia.files/200px-BusinessCardAttorney1895.jpg"
    width=200 border=0></A>
    <DIV class=thumbcaption>
    <DIV class=magnify><A class=internal title=Enlarge
    href="http://en.wikipedia.org/wiki/File:BusinessCardAttorney1895.jpg"><IMG
    height=11 alt=""
    src="Business card - Wikipedia, the free encyclopedia.files/magnify-clip.png"
    width=15></A></DIV>Attorney business card, 1895</DIV></DIV></DIV>
    <DIV class="thumb tright">
    <DIV class=thumbinner style="WIDTH: 202px"><A class=image
    title="Front and back side of a business card 2008"
    href="http://en.wikipedia.org/wiki/File:Namecard-TMG.jpg"><IMG class=thumbimage
    height=250 alt=""
    src="Business card - Wikipedia, the free encyclopedia.files/200px-Namecard-TMG.jpg"
    width=200 border=0></A>
    <DIV class=thumbcaption>
    <DIV class=magnify><A class=internal title=Enlarge
    href="http://en.wikipedia.org/wiki/File:Namecard-TMG.jpg"><IMG height=11 alt=""
    src="Business card - Wikipedia, the free encyclopedia.files/magnify-clip.png"
    width=15></A></DIV>Front and back side of a business card 2008</DIV></DIV></DIV>
    <P><B>Business cards</B> are <A title=Card
    href="http://en.wikipedia.org/wiki/Card">cards</A> bearing business <A
    title=Information
    href="http://en.wikipedia.org/wiki/Information">information</A> about a <A
    title=Company href="http://en.wikipedia.org/wiki/Company">company</A> or <A
    title=Individual href="http://en.wikipedia.org/wiki/Individual">individual</A>.
    They are shared during formal introductions as a convenience and a memory aid. A
    business card typically includes the giver's name, <A class=mw-redirect
    title="Types of companies"
    href="http://en.wikipedia.org/wiki/Types_of_companies">company</A> affiliation
    (usually with a <A title=Logo href="http://en.wikipedia.org/wiki/Logo">logo</A>)
    and contact information such as <A title="Address (geography)"
    href="http://en.wikipedia.org/wiki/Address_(geography)">street addresses</A>, <A
    title="Telephone number"
    href="http://en.wikipedia.org/wiki/Telephone_number">telephone number</A>(s), <A
    title=Fax href="http://en.wikipedia.org/wiki/Fax">fax</A> number, <A
    title=E-mail href="http://en.wikipedia.org/wiki/E-mail">e-mail</A> addresses and
    <A title=Website href="http://en.wikipedia.org/wiki/Website">website</A>. It can
    also include <A title=Telegraphy
    href="http://en.wikipedia.org/wiki/Telegraphy#Telex">telex</A>, <A
    title="Bank account" href="http://en.wikipedia.org/wiki/Bank_account">bank
    account</A>, <A class=mw-redirect title="Tax code"
    href="http://en.wikipedia.org/wiki/Tax_code">tax code</A>. Traditionally many
    cards were simple black text on white stock; today a professional business card
    will sometimes include one or more aspects of striking visual design.</P>
    <DIV class="thumb tright">
    <DIV class=thumbinner style="WIDTH: 202px"><A class=image
    title="A 90 x 55 mm, full colour front, one colour back Australian business card."
    href="http://en.wikipedia.org/wiki/File:Pure_Sounds_Entertainment_Business_Card.jpg"><IMG
    class=thumbimage height=245 alt=""
    src="Business card - Wikipedia, the free encyclopedia.files/200px-Pure_Sounds_Entertainment_Business_Card.jpg"
    width=200 border=0></A>
    <DIV class=thumbcaption>
    <DIV class=magnify><A class=internal title=Enlarge
    href="http://en.wikipedia.org/wiki/File:Pure_Sounds_Entertainment_Business_Card.jpg"><IMG
    height=11 alt=""
    src="Business card - Wikipedia, the free encyclopedia.files/magnify-clip.png"
    width=15></A></DIV>A 90 x 55 mm, full colour front, one colour back Australian
    business card.</DIV></DIV></DIV>
    <TABLE class=toc id=toc summary=Contents>
      <TBODY>
      <TR>
        <TD>
          <DIV id=toctitle>
          <H2>Contents</H2></DIV>
          <UL>
            <LI class=toclevel-1><A
            href="http://en.wikipedia.org/wiki/Business_card#Construction"><SPAN
            class=tocnumber>1</SPAN> <SPAN class=toctext>Construction</SPAN></A>
            <LI class=toclevel-1><A
            href="http://en.wikipedia.org/wiki/Business_card#Business_card_samples"><SPAN
            class=tocnumber>2</SPAN> <SPAN class=toctext>Business card
            samples</SPAN></A>
            <LI class=toclevel-1><A
            href="http://en.wikipedia.org/wiki/Business_card#Dimensions"><SPAN
            class=tocnumber>3</SPAN> <SPAN class=toctext>Dimensions</SPAN></A>
            <LI class=toclevel-1><A
            href="http://en.wikipedia.org/wiki/Business_card#Other_formats"><SPAN
            class=tocnumber>4</SPAN> <SPAN class=toctext>Other formats</SPAN></A>
            <LI class=toclevel-1><A
            href="http://en.wikipedia.org/wiki/Business_card#Special_materials"><SPAN
            class=tocnumber>5</SPAN> <SPAN class=toctext>Special
            materials</SPAN></A>
            <LI class=toclevel-1><A
            href="http://en.wikipedia.org/wiki/Business_card#Collecting"><SPAN
            class=tocnumber>6</SPAN> <SPAN class=toctext>Collecting</SPAN></A>
            <LI class=toclevel-1><A
            href="http://en.wikipedia.org/wiki/Business_card#See_also"><SPAN
            class=tocnumber>7</SPAN> <SPAN class=toctext>See also</SPAN></A>
        </LI></UL></TD></TR></TBODY></TABLE>
    <SCRIPT type=text/javascript>
    //<![CDATA[
     if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); }
    //]]>
    </SCRIPT>

    <P><A id=Construction name=Construction></A></P>
    <H2><SPAN class=editsection>[<A title="Edit section: Construction"
    href="http://en.wikipedia.org/w/index.php?title=Business_card&amp;action=edit&amp;section=1">edit</A>]</SPAN>
    <SPAN class=mw-headline>Construction</SPAN></H2>
    <P>Business cards are printed on some form of <A title="Card stock"
    href="http://en.wikipedia.org/wiki/Card_stock">card stock</A> with exact
    parameters dependent on national or local norms, the desired effect and method
    of printing, and cost. The common weight of a business card may vary on your
    location. Generally, business cards are printed on stock that is
    350g/m<SUP>2</SUP> (weight), 100 lb. (<A title="Paper density"
    href="http://en.wikipedia.org/wiki/Paper_density">density</A>), or 12pt
    (thickness).</P>
    <P>High quality business cards without full-color photographs are normally
    printed using spot colors on sheet-fed <A title="Offset printing"
    href="http://en.wikipedia.org/wiki/Offset_printing">offset printing</A> presses.
    Some companies have gone so far as to trademark their spot colors (examples are
    <A title="United Parcel Service"
    href="http://en.wikipedia.org/wiki/United_Parcel_Service">UPS</A> brown, <A
    title="Los Angeles Lakers"
    href="http://en.wikipedia.org/wiki/Los_Angeles_Lakers">Los Angeles Lakers</A>'
    purple, and <A class=mw-redirect title="Tide (detergent)"
    href="http://en.wikipedia.org/wiki/Tide_(detergent)">Tide</A>'s orange). If a
    business card logo is a single color and the type is another color, the process
    is considered two color. More spot colors can be added depending on the needs of
    the card. With the onset of digital printing, and batch printing, it is now cost
    effective to print business cards in full color.</P>
    <P>To simulate the "raised-print" effect of printing with engraved plates, a
    less-expensive process called <A title=Thermography
    href="http://en.wikipedia.org/wiki/Thermography">thermography</A> was developed
    that uses the application of a plastic powder, which adheres to the wet ink. The
    cards are then passed through a heating unit, which melts the plastic onto the
    card. Spot UV varnish onto matte laminate can also have a similar effect.</P>
    <P>Full color cards, or cards that use many colors, are printed on sheetfed
    presses as well; however, they use the <A class=mw-redirect title=CMYK
    href="http://en.wikipedia.org/wiki/CMYK">CMYK</A> (cyan, magenta, yellow, and
    black) <A class=mw-redirect title="Four-color printing"
    href="http://en.wikipedia.org/wiki/Four-color_printing">four-color printing</A>
    process. Screens of each color overprinted on one another create a wide <A
    title=Gamut href="http://en.wikipedia.org/wiki/Gamut">gamut</A> of color. The
    downside to this printing method is that screened colors if examined closely
    will reveal tiny dots, whereas spot color cards are printed solid in most cases.
    Spot colors should be used for simple cards with line art or non-black type that
    is smaller than 5 points.</P>
    <P>Some terminology in reference to full color printing:</P>
    <UL>
      <LI>4/0 - Full Color Front / No Print On Back
      <LI>4/1 - Full Color Front / One color On reverse
      <LI>4/4 - Full Color Front / Full Color Back </LI></UL>
    <P>These names are pronounced as "four over zero," "four over one," or "four
    over four".</P>
    <P>A business card can also be coated with a UV glossy coat (offset-uv
    Printing). The coat is applied just like another ink using an additional unit on
    a <A class=mw-redirect title="Sheet-fed printing"
    href="http://en.wikipedia.org/wiki/Sheet-fed_printing#Sheet-fed_litho">sheetfed</A>
    <A title="Printing press"
    href="http://en.wikipedia.org/wiki/Printing_press">press</A>. That being said,
    UV coats can also be applied as a spot coating - meaning areas can be coated,
    and other areas can be left uncoated. This creates additional design
    potential.</P>
    <P>Business Cards can also be printed with a digital copier, which uses toner
    baked onto the surface of the card. Some industry leaders have begun avoiding
    the using the term copier in their literature, insisting their state-of-the-art
    machines are more like digital presses, than their office-oriented
    predecessors.</P>
    <P>While some of the older office copiers may have had problems running heavy
    business card stock, the newest digital presses can print on stock as heavy as
    80# to 100# cover stock, and 12 to 14 point stocks with ease.</P>
    <P>UV coats, and other coatings such as Aqueous Coatings are used to speed
    manufacturing of the cards. Cards that are not dry will "offset" which means the
    ink from the front of one card will end up on the back of the next one. UV
    coatings are generally highly glossy but are more likely to fingerprint, while
    aqueous coatings are not noticeable but increase the life of the card. It is
    possible to use a dull aqueous coating on uncoated stock and get some very
    durable uncoated cards, and using UV coating or plastic lamination can also be
    applied to thicken thin stocked cards and make them more durable as well.</P>
    <P>When cards are designed, they are given <A title="Bleed (printing)"
    href="http://en.wikipedia.org/wiki/Bleed_(printing)">bleeds</A> if color extends
    to the edge of the finished cut size. (A bleed is the extension of printed lines
    or colors beyond the line where the paper it is printed on will be cut.) This is
    to help ensure that the paper will cut without white edges due to very small
    differences in where the blade cuts the cards, and it is almost impossible to
    cut the cards properly without. Just being a hair off can result in white lines,
    and the blade itself will pull the paper while cutting. The image on the paper
    can also shift from page to page which is called a bounce, which is generally
    off by a hairline on an offset press, but can be quite larger on lower end
    equipment such as a copier or a duplicator press. Bleeds are typically an extra
    <SPAN class=template-frac
    style="WHITE-SPACE: nowrap"><SUP>1</SUP><BIG>⁄</BIG><SUB>8</SUB></SPAN> to <SPAN
    class=template-frac
    style="WHITE-SPACE: nowrap"><SUP>1</SUP><BIG>⁄</BIG><SUB>4</SUB></SPAN> in to
    all sides of the card.</P>
    <UL>
      <LI>Bleed Size: 3.75 × 2.25 in (<SPAN class=template-frac
      style="WHITE-SPACE: nowrap"><SUP>1</SUP><BIG>⁄</BIG><SUB>8</SUB></SPAN>&nbsp;in
      bleeds) (95.25 × 57.15 mm)
      <LI>Standard Cut Size: 3.5 × 2 in (89 × 51 mm) </LI></UL>
    <P>Fold-over or "tent" cards, and side fold cards are popular as well. Generally
    these cards will fold to the standard size.</P>
    <P><BR>In today`s global marketplace, it is not uncommon for the cards to be
    printed with english on one side and the local language (if not english) on the
    other.</P>
    <P><A id=Business_card_samples name=Business_card_samples></A></P>
    <H2><SPAN class=editsection>[<A title="Edit section: Business card samples"
    href="http://en.wikipedia.org/w/index.php?title=Business_card&amp;action=edit&amp;section=2">edit</A>]</SPAN>
    <SPAN class=mw-headline>Business card samples</SPAN></H2>
    <P><A class=image title=Image:Gray-business-card-samples-1-.jpg
    href="http://en.wikipedia.org/wiki/File:Gray-business-card-samples-1-.jpg"><IMG
    height=480 alt=Image:Gray-business-card-samples-1-.jpg
    src="Business card - Wikipedia, the free encyclopedia.files/Gray-business-card-samples-1-.jpg"
    width=640 border=0></A></P>
    <P><BR></P>
    <P><A id=Dimensions name=Dimensions></A></P>
    <H2><SPAN class=editsection>[<A title="Edit section: Dimensions"
    href="http://en.wikipedia.org/w/index.php?title=Business_card&amp;action=edit&amp;section=3">edit</A>]</SPAN>
    <SPAN class=mw-headline>Dimensions</SPAN></H2>
    <P><A title="Aspect ratio"
    href="http://en.wikipedia.org/wiki/Aspect_ratio">Aspect ratios</A> range from
    1.43 to 1.8.</P>
    <TABLE class=wikitable>
      <TBODY>
      <TR>
        <TH>Standard</TH>
        <TH>Dimensions (mm)</TH>
        <TH>Dimensions (in)</TH>
        <TH>Aspect ratio</TH></TR>
      <TR>
        <TD><A title="ISO 216" href="http://en.wikipedia.org/wiki/ISO_216">ISO
          216</A>, <A title="Paper size"
          href="http://en.wikipedia.org/wiki/Paper_size">A8</A> sized</TD>
        <TD>74 × 52</TD>
        <TD>2.913 × 2.047</TD>
        <TD>1.423</TD></TR>
      <TR>
        <TD><A title="ISO/IEC 7810"
          href="http://en.wikipedia.org/wiki/ISO/IEC_7810">ISO/IEC 7810</A> ID-1, <A
          title="Credit card" href="http://en.wikipedia.org/wiki/Credit_card">credit
          card</A> sized</TD>
        <TD>85.60 × 53.98</TD>
        <TD>3.370 × 2.125</TD>
        <TD>1.586</TD></TR>
      <TR>
        <TD><A title=Italy href="http://en.wikipedia.org/wiki/Italy">Italy</A>, <A
          title="United Kingdom"
          href="http://en.wikipedia.org/wiki/United_Kingdom">United Kingdom</A>, <A
          title=France href="http://en.wikipedia.org/wiki/France">France</A>, <A
          title=Germany href="http://en.wikipedia.org/wiki/Germany">Germany</A>, <A
          class=mw-redirect title="The Netherlands"
          href="http://en.wikipedia.org/wiki/The_Netherlands">The Netherlands</A>,
          <A title=Spain href="http://en.wikipedia.org/wiki/Spain">Spain</A>, <A
          title=Switzerland
          href="http://en.wikipedia.org/wiki/Switzerland">Switzerland</A></TD>
        <TD>85 × 55</TD>
        <TD>3.346 × 2.165</TD>
        <TD>1.545</TD></TR>
      <TR>
        <TD><A title=Australia
          href="http://en.wikipedia.org/wiki/Australia">Australia</A>, <A
          title=Denmark href="http://en.wikipedia.org/wiki/Denmark">Denmark</A>, <A
          title="New Zealand" href="http://en.wikipedia.org/wiki/New_Zealand">New
          Zealand</A>, <A title=Norway
          href="http://en.wikipedia.org/wiki/Norway">Norway</A>, <A title=Sweden
          href="http://en.wikipedia.org/wiki/Sweden">Sweden</A></TD>
        <TD>90 × 55</TD>
        <TD>3.54 × 2.165</TD>
        <TD>1.636</TD></TR>
      <TR>
        <TD><A title=Japan href="http://en.wikipedia.org/wiki/Japan">Japan</A></TD>
        <TD>91 × 55</TD>
        <TD>3.582 × 2.165</TD>
        <TD>1.655</TD></TR>
      <TR>
        <TD><A title="People's Republic of China"
          href="http://en.wikipedia.org/wiki/People's_Republic_of_China">People's
          Republic of China</A></TD>
        <TD>90 × 54</TD>
        <TD>3.543 × 2.125</TD>
        <TD>1.667</TD></TR>
      <TR>
        <TD><A title=Canada href="http://en.wikipedia.org/wiki/Canada">Canada</A>,
          <A title="United States"
          href="http://en.wikipedia.org/wiki/United_States">United States</A></TD>
        <TD>88.9 × 50.8</TD>
        <TD>3.5 × 2</TD>
        <TD>1.75</TD></TR>
    <SCRIPT type=text/javascript>if (window.runOnloadHook) runOnloadHook();</SCRIPT>
    <!-- Served by srv213 in 0.051 secs. --></BODY></HTML>




    你那个是网页源代码吗?你那个只是直接复制网页的内容。

     你直接复制我这上面的源代码到RichTextBox里。看看能不能检测超链接。


    本人现在使用Windows Server 2003, CentOS Linux 5.2, Windows XP, VirtualBox 2.2.4, Visual Studio 2005, Eclipse 3.4, Microsoft.NET Framework 2.0 SP2, C# 2.0, IIS 6.0, Apache 1.3.41, Nginx-0.7.59, SQL Server 2000, MySQL 5.0, FireBird 2.1.2, PHP 5.2.4, Office 2007, OpenOffice 3.1和永中Office2009.
    2009年6月3日 7:41
  • 我试了一下,=“后面的就不能检测了!只能自己解析了啊!
    周雪峰
    • 已标记为答案 dvdvip 2009年6月3日 11:06
    2009年6月3日 10:55
    版主
  • 是这样的。我最讨厌这样了。

    怎么等号后,就不能检测了?你看这个论坛,它用JavaScript就能直接检测超链接了。RichTextBox也太差劲了。

    我自己怎么检测?估计也要几百行代码。


    本人现在使用Windows Server 2003, CentOS Linux 5.2, Windows XP, VirtualBox 2.2.4, Visual Studio 2005, Eclipse 3.4, Microsoft.NET Framework 2.0 SP2, C# 2.0, IIS 6.0, Apache 1.3.41, Nginx-0.7.59, SQL Server 2000, MySQL 5.0, FireBird 2.1.2, PHP 5.2.4, Office 2007, OpenOffice 3.1和永中Office2009.
    2009年6月3日 11:08