Click here to Skip to main content
15,912,897 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sigining the script...... Pin
Dave Kreskowiak17-Apr-09 10:55
mveDave Kreskowiak17-Apr-09 10:55 
Questionhelp on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Tenzin Kunkyab16-Apr-09 0:45
Tenzin Kunkyab16-Apr-09 0:45 
AnswerRe: help on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Nilesh Hapse16-Apr-09 1:25
Nilesh Hapse16-Apr-09 1:25 
AnswerRe: help on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Johan Hakkesteegt16-Apr-09 2:18
Johan Hakkesteegt16-Apr-09 2:18 
GeneralRe: help on connecting vb 2008 express edition to the inbuilt sql server for insert, update, deletion. Pin
Tenzin Kunkyab17-Apr-09 23:32
Tenzin Kunkyab17-Apr-09 23:32 
Questionbuild string from array Pin
Anoop Brijmohun15-Apr-09 22:28
Anoop Brijmohun15-Apr-09 22:28 
RantRe: build string from array Pin
Nilesh Hapse15-Apr-09 23:40
Nilesh Hapse15-Apr-09 23:40 
GeneralRe: build string from array Pin
Anoop Brijmohun16-Apr-09 2:42
Anoop Brijmohun16-Apr-09 2:42 
well simply put.

say i have a word "TEST"

i want a string to build until it finds a match, namely "TEST"

so in this case the loop should
loop thru all the alphabets A-Z to do a check like below

dim out as string
dim arr() as string

arr(1) ="A"
arr(2) ="B"
arr(26) ="Z"

note that variable out is only a single character.
for lp as integer =1 to 26
out = Arr(lp)
IF out="TEST" then
Msgbox("Found")
end if
next

if a single character does not equal the word "TEST" then add a second character to out, like below....

for lp as integer =1 to 26
out = Arr(1) & Arr(lp)
IF out="TEST" then
Msgbox("Found")
end if
next

this should repeat untill out = "TEST"

hope this makes sense but dont know how to better explain the above

thanks though
GeneralRe: build string from array Pin
CPallini16-Apr-09 8:11
mveCPallini16-Apr-09 8:11 
GeneralRe: build string from array Pin
riced16-Apr-09 12:17
riced16-Apr-09 12:17 
GeneralRe: build string from array Pin
Johan Hakkesteegt16-Apr-09 20:55
Johan Hakkesteegt16-Apr-09 20:55 
AnswerRe: build string from array [modified] Pin
CPallini16-Apr-09 0:05
mveCPallini16-Apr-09 0:05 
GeneralRe: build string from array Pin
0x3c016-Apr-09 0:50
0x3c016-Apr-09 0:50 
QuestionUpdate records Pin
mansi368715-Apr-09 21:20
mansi368715-Apr-09 21:20 
AnswerRe: Update records Pin
Henry Minute15-Apr-09 23:58
Henry Minute15-Apr-09 23:58 
AnswerRe: Update records Pin
Johan Hakkesteegt16-Apr-09 0:18
Johan Hakkesteegt16-Apr-09 0:18 
QuestionHow do i load xml file into memory for parsing Pin
kryan015-Apr-09 11:09
kryan015-Apr-09 11:09 
AnswerRe: How do i load xml file into memory for parsing [modified] Pin
0x3c015-Apr-09 11:43
0x3c015-Apr-09 11:43 
GeneralRe: How do i load xml file into memory for parsing Pin
kryan015-Apr-09 12:03
kryan015-Apr-09 12:03 
GeneralRe: How do i load xml file into memory for parsing Pin
Christian Graus15-Apr-09 19:16
protectorChristian Graus15-Apr-09 19:16 
GeneralRe: How do i load xml file into memory for parsing Pin
Johan Hakkesteegt16-Apr-09 0:28
Johan Hakkesteegt16-Apr-09 0:28 
GeneralRe: How do i load xml file into memory for parsing Pin
0x3c016-Apr-09 0:47
0x3c016-Apr-09 0:47 
AnswerRe: How do i load xml file into memory for parsing Pin
kryan016-Apr-09 8:29
kryan016-Apr-09 8:29 
QuestionVB.NET 2008 Subreport Cannot Be Shown Pin
DaveMcTKD15-Apr-09 9:37
DaveMcTKD15-Apr-09 9:37 
AnswerRe: VB.NET 2008 Subreport Cannot Be Shown Pin
Dave Kreskowiak17-Apr-09 4:37
mveDave Kreskowiak17-Apr-09 4:37 

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.