TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Raymond H.
date: 2004-07-16 16:42:00
subject: Re: Can one paste text or

Thank you.
r.h.

"mayayana"  a écrit dans
le message de
news:ktQJc.12452$kK.3941{at}newsread3.news.atl.earthlink.net...
> You can do anything that you can do with the IE DOM,
> but it can get fairly involved and time consuming trying to
> figure out exactly how to do it. If you set a reference
> to the Microsoft HTML Object Model then you'll get full
> Object Browser and Intellisense support for using the
> DOM in a WB.
>
> To add text at end of BODY:
> (Assuming that s is the text.)
>
>  '--pasting HTML so replace carriage returns.
> s = Replace(s, vbCrLf, "")
>
> Dim TR1 As IHTMLTxtRange    '-- a TextRange object.
> Dim LRet as long
>
> Set TR1 = WB.Document.selection.createRange
>   LRet = TR1.Move("textedit", 1) '--move sel. point to end of BODY.
>   TR1.pasteHTML s
> Set TR1 = Nothing
>
> --
> --
> Raymond H.  wrote in message
> news:j4MJc.29926$RD4.1918517{at}news20.bellglobal.com...
> > Hello,
> >      Can I paste texte into the WebBrower (in vb projet)? Is yes, how?
> > Raymond H.
> >
> >
>
>
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com

---
 * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
 * RgateImp.MoonDog.BBS at 7/16/04 4:42:20 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.