Click here to Skip to main content
15,921,382 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Wendelius23-Jan-09 21:17
mentorWendelius23-Jan-09 21:17 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby225-Jan-09 12:35
frankiebaby225-Jan-09 12:35 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby225-Jan-09 12:48
frankiebaby225-Jan-09 12:48 
AnswerRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Dave Kreskowiak23-Jan-09 11:15
mveDave Kreskowiak23-Jan-09 11:15 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby223-Jan-09 14:36
frankiebaby223-Jan-09 14:36 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Dave Kreskowiak23-Jan-09 17:34
mveDave Kreskowiak23-Jan-09 17:34 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
frankiebaby225-Jan-09 12:39
frankiebaby225-Jan-09 12:39 
GeneralRe: Before doing a SaveAs, convert to the Opposite of "Read Only" (Write Enable) Pin
Dave Kreskowiak25-Jan-09 13:49
mveDave Kreskowiak25-Jan-09 13:49 
QuestionExtract Phase From Textfile Pin
IvanIT23-Jan-09 9:29
IvanIT23-Jan-09 9:29 
AnswerRe: Extract Phase From Textfile [modified] Pin
Garth J Lancaster23-Jan-09 12:48
professionalGarth J Lancaster23-Jan-09 12:48 
GeneralRe: Extract Phase From Textfile Pin
IvanIT24-Jan-09 5:39
IvanIT24-Jan-09 5:39 
QuestionSpeed initial load Pin
cstrader23223-Jan-09 6:54
cstrader23223-Jan-09 6:54 
AnswerRe: Speed initial load Pin
Wendelius23-Jan-09 8:31
mentorWendelius23-Jan-09 8:31 
AnswerRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 8:35
mveDave Kreskowiak23-Jan-09 8:35 
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 

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.