Click here to Skip to main content
15,915,603 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionAdd image to richtextbox Pin
Greeky27-Sep-05 21:58
Greeky27-Sep-05 21:58 
QuestionSave RTF Pin
Greeky27-Sep-05 21:48
Greeky27-Sep-05 21:48 
AnswerRe: Save RTF Pin
Dave Kreskowiak28-Sep-05 1:34
mveDave Kreskowiak28-Sep-05 1:34 
QuestionUpdating datasource through dataset and dataadapter Pin
Priya Haridas27-Sep-05 16:35
Priya Haridas27-Sep-05 16:35 
QuestionHow to parse a string with double quotes Pin
j1webb27-Sep-05 9:43
j1webb27-Sep-05 9:43 
GeneralRe: How to parse a string with double quotes Pin
namazikhah27-Sep-05 11:20
namazikhah27-Sep-05 11:20 
GeneralRe: How to parse a string with double quotes Pin
Colin Angus Mackay27-Sep-05 11:56
Colin Angus Mackay27-Sep-05 11:56 
GeneralRe: How to parse a string with double quotes Pin
rwestgraham27-Sep-05 18:12
rwestgraham27-Sep-05 18:12 
I think the simplest parsing algorithm for this scenario is:

1) Split on blank spaces to get an initial array quickly.

2) Create a second ArrayList so you don't have to worry about Redims.

3) Enumerate the intial array, test each item for both " and nulls - the person may have entered two blanks by accident. Copy "standalone" strings into the ArrayList. When you encounter a ", start reconcatenation of the original string until you reach the element that contains the closing ". Add the reconstituted string to the ArrayList...

etc. until you have an ArrayList where each element represents an original search term.
AnswerRe: How to parse a string with double quotes Pin
_mubashir27-Sep-05 18:47
_mubashir27-Sep-05 18:47 
AnswerRe: How to parse a string with double quotes Pin
Edbert P27-Sep-05 20:59
Edbert P27-Sep-05 20:59 
AnswerRe: How to parse a string with double quotes Pin
j1webb28-Sep-05 3:58
j1webb28-Sep-05 3:58 
Questionhow to create a copy of database using SqlDMO Pin
Asmakhan27-Sep-05 7:11
Asmakhan27-Sep-05 7:11 
AnswerRe: how to create a copy of database using SqlDMO Pin
rwestgraham27-Sep-05 11:42
rwestgraham27-Sep-05 11:42 
Questionhurry plz!!!!(activex control or how to use optical pen & too scanner in vb.net Pin
pantaloo27-Sep-05 6:59
pantaloo27-Sep-05 6:59 
AnswerRe: hurry plz!!!!(activex control or how to use optical pen & too scanner in vb.net Pin
namazikhah27-Sep-05 11:37
namazikhah27-Sep-05 11:37 
QuestionNeed an example, Please Pin
Funkytroll0127-Sep-05 6:55
Funkytroll0127-Sep-05 6:55 
AnswerRe: Need an example, Please Pin
Dave Kreskowiak27-Sep-05 7:07
mveDave Kreskowiak27-Sep-05 7:07 
QuestionQuestion 'bout buffer and parameters Pin
borini27-Sep-05 6:00
borini27-Sep-05 6:00 
QuestionPassing Command Parameter to Opened File! Pin
psyq27-Sep-05 1:35
psyq27-Sep-05 1:35 
AnswerRe: Passing Command Parameter to Opened File! Pin
Christian Graus27-Sep-05 1:47
protectorChristian Graus27-Sep-05 1:47 
Questionhow to print a Grid control values Pin
snprani27-Sep-05 1:05
snprani27-Sep-05 1:05 
QuestionExtract Error line Number Pin
HemaRawat27-Sep-05 0:34
HemaRawat27-Sep-05 0:34 
AnswerRe: Extract Error line Number Pin
Dave Kreskowiak27-Sep-05 4:30
mveDave Kreskowiak27-Sep-05 4:30 
GeneralRe: Extract Error line Number Pin
HemaRawat27-Sep-05 17:56
HemaRawat27-Sep-05 17:56 
GeneralRe: Extract Error line Number Pin
Dave Kreskowiak28-Sep-05 1:19
mveDave Kreskowiak28-Sep-05 1:19 

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.