Click here to Skip to main content
15,908,445 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Arguments "%1" and other... Not urgent :) Pin
Joshua Quick30-Mar-06 11:26
Joshua Quick30-Mar-06 11:26 
GeneralRe: Arguments "%1" and other... Not urgent :) Pin
FeRtoll7-Feb-07 9:44
FeRtoll7-Feb-07 9:44 
QuestionVBS, piping out the results to text Pin
aste629-Mar-06 8:02
aste629-Mar-06 8:02 
QuestionCombo Box Pin
rahsi29-Mar-06 7:17
rahsi29-Mar-06 7:17 
AnswerRe: Combo Box Pin
Steve Pullan29-Mar-06 12:58
Steve Pullan29-Mar-06 12:58 
GeneralRe: Combo Box Pin
rahsi30-Mar-06 4:54
rahsi30-Mar-06 4:54 
QuestionCounters and boolean Pin
judamu29-Mar-06 7:15
judamu29-Mar-06 7:15 
AnswerRe: Counters and boolean Pin
Steve Pullan29-Mar-06 12:52
Steve Pullan29-Mar-06 12:52 
judamu wrote:
I'm having lots of trouble trying to get my counter to work so that when my counter <= 4 it turns on smiley face and when its over it just says congrats you guess the number..


So... what's your code look like and what is the exact problem you are having? Is it that you can't figure out how to set a boolean if the counter is <= 4?

Maybe this will help.

Dim turnOnSmiley as Boolean
turnOnSmiley = False

Dim myCounter as Integer
myCounter = 0

' some program logic...whatever...

turnOnSmiley = (myCounter <= 4)

If turnOnSmiley Then
    ' turn on the smiley face
Else
    ' congrats etc...
EndIf


...Steve

1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life."
I read that somewhere once Smile | :) '
QuestionHow can I change the color of a Checkbox in a Treeview ? Pin
trlowe29-Mar-06 6:43
trlowe29-Mar-06 6:43 
AnswerRe: How can I change the color of a Checkbox in a Treeview ? Pin
atregent12-Apr-06 20:43
atregent12-Apr-06 20:43 
QuestionHow to make Vb6 forms resolution independent Pin
Murtuza Husain Miyan Patel29-Mar-06 6:30
professionalMurtuza Husain Miyan Patel29-Mar-06 6:30 
AnswerRe: How to make Vb6 forms resolution independent Pin
Joshua Quick29-Mar-06 14:53
Joshua Quick29-Mar-06 14:53 
QuestionViewing Exchange Calendar Pin
ddamico987629-Mar-06 6:13
ddamico987629-Mar-06 6:13 
QuestionVb 6.0 and database problem.. Pin
LeRoiScorpion29-Mar-06 5:59
LeRoiScorpion29-Mar-06 5:59 
GeneralRe: Vb 6.0 and database problem.. Pin
Guffa29-Mar-06 6:09
Guffa29-Mar-06 6:09 
GeneralRe: Vb 6.0 and database problem.. Pin
LeRoiScorpion29-Mar-06 6:13
LeRoiScorpion29-Mar-06 6:13 
Questioncanny edge detection in vb.net Pin
preci29-Mar-06 5:35
preci29-Mar-06 5:35 
AnswerRe: canny edge detection in vb.net Pin
Christian Graus29-Mar-06 10:23
protectorChristian Graus29-Mar-06 10:23 
QuestionHow can I Insert a .swf file in my form Pin
scorp_scorp29-Mar-06 5:07
scorp_scorp29-Mar-06 5:07 
AnswerRe: How can I Insert a .swf file in my form Pin
HaloZa29-Mar-06 6:08
HaloZa29-Mar-06 6:08 
GeneralRe: How can I Insert a .swf file in my form Pin
scorp_scorp29-Mar-06 7:51
scorp_scorp29-Mar-06 7:51 
GeneralRe: How can I Insert a .swf file in my form Pin
Chatura Dilan29-Mar-06 16:12
Chatura Dilan29-Mar-06 16:12 
QuestionHi all plz help me.. Database and VB Pin
LeRoiScorpion29-Mar-06 4:00
LeRoiScorpion29-Mar-06 4:00 
AnswerRe: Hi all plz help me.. Database and VB Pin
IBetNoBodyWillHaveThisNameOrAlias29-Mar-06 5:37
IBetNoBodyWillHaveThisNameOrAlias29-Mar-06 5:37 
GeneralRe: Hi all plz help me.. Database and VB Pin
LeRoiScorpion29-Mar-06 5:58
LeRoiScorpion29-Mar-06 5:58 

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.