Click here to Skip to main content
15,896,063 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Speed initial load Pin
cstrader23223-Jan-09 10:14
cstrader23223-Jan-09 10:14 
GeneralRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 10:29
mveDave Kreskowiak23-Jan-09 10:29 
GeneralRe: Speed initial load Pin
cstrader23223-Jan-09 10:37
cstrader23223-Jan-09 10:37 
GeneralRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 11:12
mveDave Kreskowiak23-Jan-09 11:12 
GeneralRe: Speed initial load Pin
Wendelius23-Jan-09 11:20
mentorWendelius23-Jan-09 11:20 
QuestionUsing system.printing namespace to get print queue status Pin
daveg5523-Jan-09 1:01
daveg5523-Jan-09 1:01 
AnswerRe: Using system.printing namespace to get print queue status Pin
Dave Kreskowiak23-Jan-09 4:51
mveDave Kreskowiak23-Jan-09 4:51 
QuestionTextbox settings Pin
EvanSaunders23-Jan-09 0:41
EvanSaunders23-Jan-09 0:41 
I've been programming for 5 years and I can't believe something this easy can have me stumped! Frown | :(

I am trying to append the text in a textbox to the next line...
e.g. "This is line 1"
"This is line 2"
"This is line 3", etc.

I set the textbox to accept 'return' and set it to multiline, but whenever I add text to it, it just won't add anything in the next line, they all follow on from the previous line.
I use the chr(13) character to indicate the start of a new line, but that doesn't help either. Mad | :mad:

My code looks like this:

Dim i As int16
for i = 0 to AdvertList.Rows.Count - 1
 'get all the details here...
 NewAdvert.AppendText(Chr(13))
 NewAdvert.AppendText(advertText)
Next


What am I doing wrong? D'Oh! | :doh:

Please help?

Thanks in advance Roll eyes | :rolleyes:
AnswerRe: Textbox settings Pin
Jay Royall23-Jan-09 0:45
Jay Royall23-Jan-09 0:45 
GeneralRe: Textbox settings Pin
EvanSaunders23-Jan-09 0:51
EvanSaunders23-Jan-09 0:51 
GeneralRe: Textbox settings Pin
Jay Royall23-Jan-09 0:59
Jay Royall23-Jan-09 0:59 
GeneralRe: Textbox settings Pin
JR21223-Jan-09 1:00
JR21223-Jan-09 1:00 
GeneralRe: Textbox settings Pin
EliottA23-Jan-09 2:15
EliottA23-Jan-09 2:15 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:31
mveDave Kreskowiak23-Jan-09 4:31 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:30
mveDave Kreskowiak23-Jan-09 4:30 
QuestionProblem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 0:36
Calferreira23-Jan-09 0:36 
AnswerRe: Problem - How to "Communicate" between Classes Pin
JR21223-Jan-09 0:51
JR21223-Jan-09 0:51 
AnswerRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 1:29
Jay Royall23-Jan-09 1:29 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 2:31
Calferreira23-Jan-09 2:31 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 2:45
Jay Royall23-Jan-09 2:45 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 4:25
Calferreira23-Jan-09 4:25 
QuestionHow to replace the usercontrol dynamically Pin
karthick sampangi22-Jan-09 22:36
karthick sampangi22-Jan-09 22:36 
AnswerRe: How to replace the usercontrol dynamically Pin
Wendelius22-Jan-09 22:41
mentorWendelius22-Jan-09 22:41 
QuestionProblem with Datagridview Combobox column... Pin
RA|-|UL PATEL22-Jan-09 22:03
RA|-|UL PATEL22-Jan-09 22:03 
AnswerRe: Problem with Datagridview Combobox column... Pin
darkelv22-Jan-09 22:11
darkelv22-Jan-09 22:11 

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.