Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralComparing "Similar" Strings Pin
Todd Davis22-Apr-04 4:31
Todd Davis22-Apr-04 4:31 
GeneralRe: Comparing "Similar" Strings Pin
Dave Kreskowiak22-Apr-04 7:09
mveDave Kreskowiak22-Apr-04 7:09 
GeneralRe: Comparing "Similar" Strings Pin
PaleyX22-Apr-04 9:45
PaleyX22-Apr-04 9:45 
GeneralRe: Comparing "Similar" Strings Pin
RichardGrimmer26-Apr-04 4:08
RichardGrimmer26-Apr-04 4:08 
GeneralHiding menu Pin
tuningd22-Apr-04 4:29
tuningd22-Apr-04 4:29 
Generalcontrol box on form Pin
leezardd22-Apr-04 3:13
leezardd22-Apr-04 3:13 
GeneralRe: control box on form Pin
Ritesh Sompura22-Apr-04 4:33
Ritesh Sompura22-Apr-04 4:33 
GeneralWhy no error - Dim inside a loop Pin
wmccd22-Apr-04 2:58
wmccd22-Apr-04 2:58 
Confused | :confused: I came across the following bit of code and was wondering why VB does not generate an error. strHTML is dimmed inside a loop that will execute multiple times.

I realise this pretty avaerage coding but wondered why/how VB allowed something like this.

For nCounter = 0 To objCodesLU.Count - 1
...

Dim strHTML As String
If blnSelected Then
strHTML = strHTML + "" + strValue
Else
strHTML = strHTML + "" + strValue
End If
blnSelected = False
Next


William
GeneralRe: Why no error - Dim inside a loop Pin
Ritesh Sompura22-Apr-04 4:40
Ritesh Sompura22-Apr-04 4:40 
GeneralRe: Why no error - Dim inside a loop Pin
Dave Kreskowiak22-Apr-04 7:14
mveDave Kreskowiak22-Apr-04 7:14 
GeneralApplying Style sheet(CSS) in Crystal report .net Pin
srieen22-Apr-04 1:42
srieen22-Apr-04 1:42 
GeneralStructures in VisualBasic. Pin
amardude22-Apr-04 0:45
amardude22-Apr-04 0:45 
GeneralRe: Structures in VisualBasic. Pin
Dave Kreskowiak22-Apr-04 7:23
mveDave Kreskowiak22-Apr-04 7:23 
GeneralRe: Structures in VisualBasic. Pin
amardude23-Apr-04 20:00
amardude23-Apr-04 20:00 
GeneralRe: Structures in VisualBasic. Pin
Dave Kreskowiak24-Apr-04 2:25
mveDave Kreskowiak24-Apr-04 2:25 
QuestionRetrieving a DataRow from a DataGrid??? Pin
Greg Eales21-Apr-04 23:32
Greg Eales21-Apr-04 23:32 
AnswerRe: Retrieving a DataRow from a DataGrid??? Pin
Ritesh Sompura22-Apr-04 4:46
Ritesh Sompura22-Apr-04 4:46 
Generalclient side error validation Pin
kieran540521-Apr-04 22:57
kieran540521-Apr-04 22:57 
GeneralWeb/Network communication Pin
ineedhelp21-Apr-04 21:21
ineedhelp21-Apr-04 21:21 
QuestionHow to use excel object OpenText - FieldInfo in vb.net Pin
BenLe21-Apr-04 20:30
BenLe21-Apr-04 20:30 
GeneralBroken Popup Menu Pin
zumichu21-Apr-04 15:18
zumichu21-Apr-04 15:18 
GeneralWhy my DatagridStyle is not working Pin
Muthu Annamalai21-Apr-04 11:26
Muthu Annamalai21-Apr-04 11:26 
GeneralRe: Why my DatagridStyle is not working Pin
Greg Eales21-Apr-04 23:40
Greg Eales21-Apr-04 23:40 
GeneralRe: Why my DatagridStyle is not working Pin
Muthu Annamalai22-Apr-04 3:15
Muthu Annamalai22-Apr-04 3:15 
GeneralMIDI player help Pin
Nadroj21-Apr-04 9:23
Nadroj21-Apr-04 9:23 

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.