Click here to Skip to main content
15,905,419 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: picture appearing in VB 2005 express edition Pin
Christian Graus20-Jun-07 15:14
protectorChristian Graus20-Jun-07 15:14 
GeneralRe: picture appearing in VB 2005 express edition Pin
ali3nz0r20-Jun-07 15:16
ali3nz0r20-Jun-07 15:16 
GeneralRe: picture appearing in VB 2005 express edition Pin
Christian Graus20-Jun-07 15:51
protectorChristian Graus20-Jun-07 15:51 
QuestionUsing Multiple Forms Pin
MARKSHAM20-Jun-07 12:15
MARKSHAM20-Jun-07 12:15 
AnswerRe: Using Multiple Forms Pin
Christian Graus20-Jun-07 13:41
protectorChristian Graus20-Jun-07 13:41 
GeneralRe: Using Multiple Forms Pin
MARKSHAM22-Jun-07 4:25
MARKSHAM22-Jun-07 4:25 
Questionstring tokenization Pin
hsprasain20-Jun-07 11:49
hsprasain20-Jun-07 11:49 
AnswerRe: string tokenization Pin
TwoFaced20-Jun-07 12:16
TwoFaced20-Jun-07 12:16 
Because your using spaces as your delimiter it was probably hard to notice but the values that will be contained in 'sites' are not spaces, they are empty strings. Take a look at this code:
Dim value As String = "A,,B,C"

For Each s As String In value.Split(","c)
    Console.WriteLine(s)
Next
You'll notice the values returned by the split function are 'A','','B','C' where '' is an empty string. It doesn't return the delimiter. In your loop you should test that the string is not empty.
GeneralRe: string tokenization Pin
hsprasain20-Jun-07 12:56
hsprasain20-Jun-07 12:56 
AnswerRe: string tokenization Pin
TwoFaced20-Jun-07 12:25
TwoFaced20-Jun-07 12:25 
QuestionMedia control Pin
stijn.janssen20-Jun-07 8:47
stijn.janssen20-Jun-07 8:47 
AnswerRe: Media control Pin
Dave Kreskowiak21-Jun-07 4:19
mveDave Kreskowiak21-Jun-07 4:19 
Questionprogress bar monitor files downloaded from a server Pin
steve_rm20-Jun-07 7:03
steve_rm20-Jun-07 7:03 
AnswerRe: progress bar monitor files downloaded from a server Pin
svanwass20-Jun-07 8:12
svanwass20-Jun-07 8:12 
QuestionWriting to SQL server w/ VB.Net Pin
svanwass20-Jun-07 4:19
svanwass20-Jun-07 4:19 
AnswerRe: Writing to SQL server w/ VB.Net Pin
Dave Kreskowiak21-Jun-07 4:16
mveDave Kreskowiak21-Jun-07 4:16 
QuestionHow do I Empty a ComboBox after set DataSource Pin
Kerry Drake20-Jun-07 3:16
Kerry Drake20-Jun-07 3:16 
AnswerRe: How do I Empty a ComboBox after set DataSource Pin
ctwalker20-Jun-07 4:01
ctwalker20-Jun-07 4:01 
GeneralRe: How do I Empty a ComboBox after set DataSource Pin
Kerry Drake20-Jun-07 6:01
Kerry Drake20-Jun-07 6:01 
QuestionUserName asn Password in Smtp. how? Pin
alexburzak20-Jun-07 2:53
alexburzak20-Jun-07 2:53 
AnswerRe: UserName asn Password in Smtp. how? Pin
Sanjay Kunjam20-Jun-07 3:01
Sanjay Kunjam20-Jun-07 3:01 
GeneralRe: UserName asn Password in Smtp. how? Pin
alexburzak20-Jun-07 3:16
alexburzak20-Jun-07 3:16 
QuestionHow to insert Null Values Pin
Vimalsoft(Pty) Ltd20-Jun-07 1:34
professionalVimalsoft(Pty) Ltd20-Jun-07 1:34 
AnswerRe: How to insert Null Values Pin
Christian Graus20-Jun-07 11:56
protectorChristian Graus20-Jun-07 11:56 
GeneralRe: How to insert Null Values Pin
Vimalsoft(Pty) Ltd20-Jun-07 19:35
professionalVimalsoft(Pty) Ltd20-Jun-07 19:35 

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.