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

Visual Basic

 
GeneralRe: XMl In vb.net Pin
Anonymous8-May-05 22:34
Anonymous8-May-05 22:34 
GeneralRe: XMl In vb.net Pin
Christian Graus9-May-05 12:20
protectorChristian Graus9-May-05 12:20 
GeneralRe: XMl In vb.net Pin
rudy.net9-May-05 19:02
rudy.net9-May-05 19:02 
GeneralThumbnail Images uisng vb.net Pin
suis8-May-05 7:33
suis8-May-05 7:33 
GeneralRe: Thumbnail Images uisng vb.net Pin
Christian Graus8-May-05 14:22
protectorChristian Graus8-May-05 14:22 
GeneralRe: Thumbnail Images uisng vb.net Pin
Anonymous8-May-05 22:33
Anonymous8-May-05 22:33 
GeneralRe: Thumbnail Images uisng vb.net Pin
Christian Graus9-May-05 12:19
protectorChristian Graus9-May-05 12:19 
GeneralReqular Expressions Pin
THEMYTH8-May-05 6:48
THEMYTH8-May-05 6:48 
Hello coders,

I am trying to seperate one line of vb code into lines by vbcrlf (carriage return - linefeed) or the colon : characther

As you know
Dim i: i=3
statements are exactly the same as
Dim i
i=3

I have the following code to be seperated.

Dim input As String = "Function X(i As String):Dim q As integer=" & vbCrLf & "Dim P as byte"

Normally , If I use the
Dim pattern As String = "[\n|.*:*.]"
pattern
it will be seperated into three lines (as I wanted)
But If I use the following line , it will be into 4 lines (I do not want it to be happened)

Dim input As String = "Function X(i As String):Dim q As integer=""q:p""" & vbCrLf & "Dim P as byte"

I need to modify the pattern, which will not accept colons inside quotes.

How can I do that?

Thank you for you time
Emre YAZICI

Best Regards
Emre YAZICI
GeneralRe: Reqular Expressions Pin
Christian Graus8-May-05 14:25
protectorChristian Graus8-May-05 14:25 
GeneralConvert String to Integer (Console App) Pin
enesaga1237-May-05 19:09
enesaga1237-May-05 19:09 
GeneralRe: Convert String to Integer (Console App) Pin
Colin Angus Mackay8-May-05 0:14
Colin Angus Mackay8-May-05 0:14 
GeneralRe: Convert String to Integer (Console App) Pin
Robert Rohde8-May-05 0:37
Robert Rohde8-May-05 0:37 
GeneralRe: Convert String to Integer (Console App) Pin
enesaga1238-May-05 4:47
enesaga1238-May-05 4:47 
GeneralAPI : IPhlpAPI --> SetTcpEntry Pin
Vitoto7-May-05 18:46
Vitoto7-May-05 18:46 
QuestionHow to open Text files and PDFs ? Pin
vishalmishra7-May-05 10:59
vishalmishra7-May-05 10:59 
AnswerRe: How to open Text files and PDFs ? Pin
Christian Graus8-May-05 14:26
protectorChristian Graus8-May-05 14:26 
GeneralRGB Valuesusing VB.Net Pin
suis7-May-05 9:57
suis7-May-05 9:57 
GeneralRe: RGB Valuesusing VB.Net Pin
Fernando Soto7-May-05 15:44
Fernando Soto7-May-05 15:44 
GeneralRe: RGB Valuesusing VB.Net Pin
suis8-May-05 7:29
suis8-May-05 7:29 
QuestionHow to do using vb.net Pin
suis7-May-05 9:56
suis7-May-05 9:56 
AnswerRe: How to do using vb.net Pin
Robert Rohde8-May-05 5:25
Robert Rohde8-May-05 5:25 
GeneralRe: How to do using vb.net Pin
suis8-May-05 7:28
suis8-May-05 7:28 
GeneralRe: How to do using vb.net Pin
Christian Graus8-May-05 14:28
protectorChristian Graus8-May-05 14:28 
GeneralVisio Automation Pin
Hisham Zein7-May-05 5:48
Hisham Zein7-May-05 5:48 
GeneralProblwm in installing Package Pin
Murtuza Husain Miyan Patel7-May-05 4:13
professionalMurtuza Husain Miyan Patel7-May-05 4:13 

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.