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

Visual Basic

 
AnswerRe: Deleting multiple lines from a .txt file. Pin
Wendelius17-Jan-09 22:32
mentorWendelius17-Jan-09 22:32 
AnswerRe: Deleting multiple lines from a .txt file. Pin
Fernando Soto18-Jan-09 5:40
Fernando Soto18-Jan-09 5:40 
AnswerRe: Deleting multiple lines from a .txt file. [modified] Pin
RPiskami18-Jan-09 10:44
RPiskami18-Jan-09 10:44 
QuestionHow to Add Carriage return line feed to string (globalization) Pin
Georg Kohler17-Jan-09 16:41
Georg Kohler17-Jan-09 16:41 
AnswerRe: How to Add Carriage return line feed to string (globalization) Pin
Wendelius17-Jan-09 22:21
mentorWendelius17-Jan-09 22:21 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Georg Kohler18-Jan-09 19:07
Georg Kohler18-Jan-09 19:07 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Wendelius19-Jan-09 2:02
mentorWendelius19-Jan-09 2:02 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Luc Pattyn18-Jan-09 11:06
sitebuilderLuc Pattyn18-Jan-09 11:06 
Hi,

if you want the multi-line string to be a single string in your database or your localized resource,
how about this:
- use a special substring to indicate NEWLINE (e.g. use \n like C/C++/Java/C# do)
- then replace it by actual newline at run-time; in VB.NET that would be
myString=myString.Replace("\n", Environment.NewLine)
I don't know how it would look in ancient VB.
- obviously reading the database/resource and replacing \n would fit nicely in a little method/function.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I use ListBoxes for line-oriented text output (not TextBoxes), and PictureBoxes for pictures (not drawings).


modified on Sunday, January 18, 2009 5:33 PM

GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Georg Kohler18-Jan-09 13:46
Georg Kohler18-Jan-09 13:46 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Luc Pattyn18-Jan-09 14:00
sitebuilderLuc Pattyn18-Jan-09 14:00 
QuestionProblem populating DataSet Pin
carrigart17-Jan-09 15:55
carrigart17-Jan-09 15:55 
AnswerRe: Problem populating DataSet Pin
N a v a n e e t h17-Jan-09 16:33
N a v a n e e t h17-Jan-09 16:33 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 17:18
carrigart17-Jan-09 17:18 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 19:42
carrigart17-Jan-09 19:42 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 19:56
carrigart17-Jan-09 19:56 
AnswerRe: Problem populating DataSet Pin
Wendelius17-Jan-09 21:33
mentorWendelius17-Jan-09 21:33 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 22:45
carrigart17-Jan-09 22:45 
GeneralRe: Problem populating DataSet Pin
Wendelius17-Jan-09 22:53
mentorWendelius17-Jan-09 22:53 
GeneralRe: Problem populating DataSet Pin
carrigart18-Jan-09 1:34
carrigart18-Jan-09 1:34 
GeneralRe: Problem populating DataSet Pin
Wendelius18-Jan-09 1:47
mentorWendelius18-Jan-09 1:47 
AnswerRe: Problem populating DataSet Pin
TheComputerMan18-Jan-09 12:26
TheComputerMan18-Jan-09 12:26 
QuestionVB web browser Pin
ragual17-Jan-09 15:50
ragual17-Jan-09 15:50 
AnswerRe: VB web browser Pin
Saul Johnson18-Jan-09 6:42
Saul Johnson18-Jan-09 6:42 
GeneralRe: VB web browser Pin
ragual18-Jan-09 7:31
ragual18-Jan-09 7:31 
GeneralRe: VB web browser Pin
Saul Johnson24-Jan-09 10:45
Saul Johnson24-Jan-09 10:45 

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.