Click here to Skip to main content
15,901,426 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: BUBBLE SORT Pin
The Man from U.N.C.L.E.9-Nov-09 22:22
The Man from U.N.C.L.E.9-Nov-09 22:22 
GeneralRe: BUBBLE SORT Pin
Mycroft Holmes9-Nov-09 21:19
professionalMycroft Holmes9-Nov-09 21:19 
GeneralRe: BUBBLE SORT Pin
nlarson119-Nov-09 17:21
nlarson119-Nov-09 17:21 
QuestionNow can i make a lot of threads of a same method? Pin
anonimo99999-Nov-09 11:48
anonimo99999-Nov-09 11:48 
AnswerRe: Now can i make a lot of threads of a same method? Pin
Dave Kreskowiak9-Nov-09 12:05
mveDave Kreskowiak9-Nov-09 12:05 
GeneralRe: Now can i make a lot of threads of a same method? Pin
anonimo99999-Nov-09 12:29
anonimo99999-Nov-09 12:29 
GeneralRe: Now can i make a lot of threads of a same method? Pin
Luc Pattyn9-Nov-09 12:43
sitebuilderLuc Pattyn9-Nov-09 12:43 
GeneralRe: Now can i make a lot of threads of a same method? Pin
Luc Pattyn9-Nov-09 13:23
sitebuilderLuc Pattyn9-Nov-09 13:23 
Some suggestions that may improve performance, and are applicable to a single-threaded or multi-threaded app:

1.
don't use regexes for this, they are powerful however they are slower than simple string logic;

2.
don't use string.Split() if all you need is one part

Hence, use an overload of string.IndexOf() to find the Nth comma; use another IndexOf() to find the next one,
then use string.SubString

BTW: this would fail if fields also have embedded comma's (e.g.within quotes), but so would Split().

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


AnswerRe: Now can i make a lot of threads of a same method? Pin
Luc Pattyn9-Nov-09 12:38
sitebuilderLuc Pattyn9-Nov-09 12:38 
QuestionForm Sound. Pin
thebiostyle9-Nov-09 11:11
thebiostyle9-Nov-09 11:11 
AnswerRe: Form Sound. Pin
Dave Kreskowiak9-Nov-09 12:00
mveDave Kreskowiak9-Nov-09 12:00 
GeneralRe: Form Sound. Pin
thebiostyle9-Nov-09 12:18
thebiostyle9-Nov-09 12:18 
GeneralRe: Form Sound. Pin
EliottA10-Nov-09 2:06
EliottA10-Nov-09 2:06 
GeneralRe: Form Sound. Pin
Dave Kreskowiak10-Nov-09 3:31
mveDave Kreskowiak10-Nov-09 3:31 
QuestionKeyPress Sounds... Pin
thebiostyle9-Nov-09 10:00
thebiostyle9-Nov-09 10:00 
AnswerRe: KeyPress Sounds... Pin
Dave Kreskowiak9-Nov-09 10:25
mveDave Kreskowiak9-Nov-09 10:25 
GeneralRe: KeyPress Sounds... Pin
thebiostyle9-Nov-09 10:32
thebiostyle9-Nov-09 10:32 
GeneralRe: KeyPress Sounds... Pin
Dave Kreskowiak9-Nov-09 11:59
mveDave Kreskowiak9-Nov-09 11:59 
GeneralRe: KeyPress Sounds... Pin
thebiostyle9-Nov-09 12:19
thebiostyle9-Nov-09 12:19 
GeneralRe: KeyPress Sounds... Pin
Dave Kreskowiak9-Nov-09 15:39
mveDave Kreskowiak9-Nov-09 15:39 
AnswerRe: KeyPress Sounds... Pin
Eddy Vluggen10-Nov-09 5:08
professionalEddy Vluggen10-Nov-09 5:08 
QuestionNull Entries in SQL database. Pin
jeshra2799-Nov-09 7:30
jeshra2799-Nov-09 7:30 
AnswerRe: Null Entries in SQL database. Pin
The Man from U.N.C.L.E.9-Nov-09 7:42
The Man from U.N.C.L.E.9-Nov-09 7:42 
AnswerRe: Null Entries in SQL database. Pin
Shameel9-Nov-09 7:54
professionalShameel9-Nov-09 7:54 
GeneralRe: Null Entries in SQL database. Pin
jeshra2799-Nov-09 18:50
jeshra2799-Nov-09 18:50 

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.