Click here to Skip to main content
15,900,592 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to use scroll bar in pictur box Pin
Abhijit Jana8-Oct-07 1:49
professionalAbhijit Jana8-Oct-07 1:49 
GeneralRe: how to use scroll bar in pictur box Pin
Dave Kreskowiak8-Oct-07 4:43
mveDave Kreskowiak8-Oct-07 4:43 
AnswerRe: how to use scroll bar in pictur box Pin
JamesS[C1]8-Oct-07 8:54
JamesS[C1]8-Oct-07 8:54 
QuestionHardDisk Serial no Pin
nitin37-Oct-07 22:22
nitin37-Oct-07 22:22 
AnswerRe: HardDisk Serial no Pin
Abhijit Jana7-Oct-07 22:39
professionalAbhijit Jana7-Oct-07 22:39 
GeneralRe: HardDisk Serial no Pin
nitin38-Oct-07 0:27
nitin38-Oct-07 0:27 
GeneralRe: HardDisk Serial no Pin
Abhijit Jana8-Oct-07 0:29
professionalAbhijit Jana8-Oct-07 0:29 
Questionhow to clear an array? Pin
moomoooomoo7-Oct-07 22:17
moomoooomoo7-Oct-07 22:17 
good day everyone,

i hope you can again help me with this:

code :

dim strVal() as string
dim sVal as string = "a-b-c" - this can be changeable
dim result as string = ""
dim xCnt as integer

strVal = split(sVal, "-")

for xCnt = 0 to strVal -1
result & = strVal(xCnt)
next

first run : result = abc
second run: result = abcabc <<-- this is the problem

the code above runs smoothly, and no errors:

but for the second runtime of the code above it does not clear the previous "strVal" value / results.

how to clear the first result value of "strVal" ?

thank you in advance, your help are highly appreciated.
links/code are most highly appreciated thank you...Big Grin | :-D



start a new beginning in every ending; thats what life for......

AnswerRe: how to clear an array? Pin
Christian Graus7-Oct-07 22:35
protectorChristian Graus7-Oct-07 22:35 
Questioncompilation error Pin
Ahamed Azeem7-Oct-07 21:38
Ahamed Azeem7-Oct-07 21:38 
AnswerRe: compilation error Pin
Abhijit Jana7-Oct-07 22:13
professionalAbhijit Jana7-Oct-07 22:13 
GeneralRe: compilation error Pin
Ahamed Azeem7-Oct-07 22:32
Ahamed Azeem7-Oct-07 22:32 
AnswerRe: compilation error Pin
Dave Kreskowiak8-Oct-07 4:40
mveDave Kreskowiak8-Oct-07 4:40 
AnswerRe: updating a table in sql server from excel sheet using VB.NET Pin
DanB19838-Oct-07 4:32
DanB19838-Oct-07 4:32 
GeneralRe: updating a table in sql server from excel sheet using VB.NET Pin
DanB19838-Oct-07 9:58
DanB19838-Oct-07 9:58 
GeneralRe: updating a table in sql server from excel sheet using VB.NET Pin
DanB19838-Oct-07 22:38
DanB19838-Oct-07 22:38 
GeneralRe: updating a table in sql server from excel sheet using VB.NET Pin
zamzoum9-Oct-07 0:42
zamzoum9-Oct-07 0:42 
QuestionHow to Autonum with database.... [modified] Pin
xxxheeroxxx7-Oct-07 20:51
xxxheeroxxx7-Oct-07 20:51 
AnswerRe: problem about Autonum with database.... Pin
Abhijit Jana7-Oct-07 20:59
professionalAbhijit Jana7-Oct-07 20:59 
AnswerRe: problem about Autonum with database.... Pin
Dave Kreskowiak8-Oct-07 4:37
mveDave Kreskowiak8-Oct-07 4:37 
Questionmodify database using vb Pin
Widgets7-Oct-07 19:04
Widgets7-Oct-07 19:04 
AnswerRe: modify database using vb Pin
Guffa7-Oct-07 19:33
Guffa7-Oct-07 19:33 
AnswerRe: modify database using vb Pin
pmarfleet7-Oct-07 19:53
pmarfleet7-Oct-07 19:53 
AnswerRe: modify database using vb Pin
Vimalsoft(Pty) Ltd8-Oct-07 5:29
professionalVimalsoft(Pty) Ltd8-Oct-07 5:29 
QuestionTab control issue Pin
Tauseef A7-Oct-07 16:45
Tauseef A7-Oct-07 16: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.