Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #421

Re: Embedding a lable inside a Rich Text Box

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Thu, 01 Sep 2011 07:36:00 -0500
From "Jim Mack" <no-uce-ube@mdxi.com>
Newsgroups alt.comp.lang.vb, microsoft.public.vb.general.discussion, alt.comp.lang.visualbasic, comp.lang.basic.visual.misc
References <j34saf$uss$1@dont-email.me> <j361e4$54m$1@dont-email.me> <j36poq$38v$1@dont-email.me> <j37ihc$og7$1@dont-email.me> <j389qm$6pt$1@dont-email.me> <j3mkat$qpk$1@dont-email.me> <j3mptu$m8o$1@dont-email.me>
Subject Re: Embedding a lable inside a Rich Text Box
Date Thu, 1 Sep 2011 08:36:00 -0400
MIME-Version 1.0
Content-Type text/plain; charset="Windows-1252"
Content-Transfer-Encoding 7bit
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2800.2001
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2800.2001
Message-ID <UN-dneZBaset4cLTnZ2dnUVZ_rydnZ2d@giganews.com> (permalink)
Lines 20
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-S0y2ce+Uu5GuV/yOtTi18XHl1AMskIZwMFpcMF9uuc+ZjlnWlQ9rUOG+EBrE61Pp809R+t0MeWJNqAm!9l+c4A/NUFfJyH/druwwyOzFa5n+df/OqzUw8vCggCQDVMMcDhPT9YLOmYvkr71YeNGf1zwh
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2076
Xref x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:421

Cross-posted to 4 groups.

Show key headers only | View raw


Mayayana wrote:
>>   RichTextBox.TextRTF = "A" & Chr$(160) & "B"  'Non-breaking space
>>   Debug.Print Asc(Mid(RichTextBox.Text, 2, 1))
>>   RichTextBox.TextRTF = RichTextBox.TextRTF
>>   Debug.Print Asc(Mid(RichTextBox.Text, 2, 1))
>>
>
>   Interesting. It turns a 160 into a 32. I didn't know there
> were things like that built in.

RTF is fundamentally 7-bit, but (160) has the 8th bit set. It's not
surprising to me that the high bit gets stripped off, but I've never
tested to see if that happens to all such characters. Anyone tried
Chr(161)?

-- 
   Jim Mack
   Twisted tees at www.cafepress.com/2050inc
   "We sew confusion"

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-08-25 17:07 +1000
  Re: Embedding a lable inside a Rich Text Box "MikeD" <nobody@nowhere.edu> - 2011-08-25 13:40 -0400
    Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-08-26 10:36 +1000
      Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-08-26 17:39 +1000
        Re: Embedding a lable inside a Rich Text Box "mbyerley" <mbyerley@byerley.net> - 2011-08-26 07:46 -0400
        Re: Embedding a lable inside a Rich Text Box "Mayayana" <mayayana@invalid.nospam> - 2011-08-26 10:18 -0400
          Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-09-01 10:42 +1000
            Re: Embedding a lable inside a Rich Text Box "Mayayana" <mayayana@invalid.nospam> - 2011-08-31 22:18 -0400
              Re: Embedding a lable inside a Rich Text Box "Jim Mack" <no-uce-ube@mdxi.com> - 2011-09-01 08:36 -0400
              Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-09-02 10:22 +1000
        Re: Embedding a lable inside a Rich Text Box Raoul Watson <WatsonR@IntelligenCIA.com> - 2011-09-11 12:00 -0400

csiph-web