Click here to Skip to main content
15,918,211 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to enable the both vertical/horizontal scroll bars? Pin
Dave Kreskowiak31-Aug-04 6:18
mveDave Kreskowiak31-Aug-04 6:18 
GeneralRe: How to enable the both vertical/horizontal scroll bars? Pin
Mekong River31-Aug-04 6:54
Mekong River31-Aug-04 6:54 
GeneralRe: How to enable the both vertical/horizontal scroll bars? Pin
Dave Kreskowiak31-Aug-04 7:33
mveDave Kreskowiak31-Aug-04 7:33 
GeneralChoosing a file Pin
Mega131-Aug-04 2:58
Mega131-Aug-04 2:58 
GeneralRe: Choosing a file Pin
Purple Monk31-Aug-04 3:05
Purple Monk31-Aug-04 3:05 
GeneralRe: Choosing a file Pin
Mega131-Aug-04 3:17
Mega131-Aug-04 3:17 
GeneralRe: Choosing a file Pin
Mekong River31-Aug-04 15:16
Mekong River31-Aug-04 15:16 
GeneralRichtxt Adding Line by line Pin
YK Prakash31-Aug-04 2:19
YK Prakash31-Aug-04 2:19 
OMG | :OMG: I am making a small data logging program using VB6. As the data points were logged, I wanted to display them on the form. As the richtext control has save, load and print to printer methods and also some formatting options, I thought I will use it. More over I plan to show a small graph from the data, on to the richtext control.

But as I started using it, I discovered that I can not add data line by line the way say I can send lines of data to picture control. Does any body know how to add data to Richtext control line by line?

So I tried the lousy
SomeRtxt.TextRTF= "1stLineDat" & vbcrlf
SomeRtxt.TextRTF=SomeRtxt.TextRTF & " 2ndLineData"
But it does not work properly. I have this control on picture control of an MDI Form.
Above code ends up showing only the first line.

Or am I doomed to first write to a file and then keep loading it to richtext control as line by line data is added?

Can anyone lemme know how to add line by line text to a richtext control?


YK Prakash
ykprakash@hotmail.com

GeneralRe: Richtxt Adding Line by line Pin
Dave Kreskowiak31-Aug-04 4:07
mveDave Kreskowiak31-Aug-04 4:07 
GeneralRe: Richtxt Adding Line by line Pin
YK Prakash4-Sep-04 0:35
YK Prakash4-Sep-04 0:35 
GeneralCreating a directory programmatically Pin
beowulfagate30-Aug-04 23:53
beowulfagate30-Aug-04 23:53 
GeneralRe: Creating a directory programmatically Pin
Purple Monk31-Aug-04 1:34
Purple Monk31-Aug-04 1:34 
GeneralRe: Creating a directory programmatically Pin
Purple Monk31-Aug-04 1:43
Purple Monk31-Aug-04 1:43 
GeneralRe: Creating a directory programmatically Pin
progload31-Aug-04 8:44
progload31-Aug-04 8:44 
GeneralCustom controls Pin
MrMickeyDeeGimp30-Aug-04 22:13
MrMickeyDeeGimp30-Aug-04 22:13 
GeneralRe: Custom controls Pin
Dave Kreskowiak31-Aug-04 5:15
mveDave Kreskowiak31-Aug-04 5:15 
GeneralPrint to file Pin
r i s h a b h s30-Aug-04 20:41
r i s h a b h s30-Aug-04 20:41 
GeneralRe: Print to file Pin
Dave Kreskowiak31-Aug-04 4:00
mveDave Kreskowiak31-Aug-04 4:00 
GeneralRichTextBox Pin
syedusman30-Aug-04 19:58
syedusman30-Aug-04 19:58 
GeneralGenerate errorlevel code Pin
sybux200030-Aug-04 19:46
sybux200030-Aug-04 19:46 
GeneralRe: Generate errorlevel code Pin
Colin Angus Mackay30-Aug-04 23:23
Colin Angus Mackay30-Aug-04 23:23 
GeneralRe: Generate errorlevel code Pin
sybux200031-Aug-04 4:45
sybux200031-Aug-04 4:45 
GeneralRe: Generate errorlevel code Pin
Colin Angus Mackay31-Aug-04 5:03
Colin Angus Mackay31-Aug-04 5:03 
GeneralWindows Service Pin
beowulfagate30-Aug-04 18:29
beowulfagate30-Aug-04 18:29 
GeneralRe: Windows Service Pin
Colin Angus Mackay30-Aug-04 23:23
Colin Angus Mackay30-Aug-04 23:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.