1.

Solve : VB Code need help.?

Answer»

Hi I'm kind of a noobie when it comes to programming but anyway I'm learning visual basic in school and I was wondering how to make it so a radiobutton must be checked or else an error message is displayed. ThanksQuote from: JoshM on December 02, 2010, 08:14:31 PM

Hi I'm kind of a noobie when it comes to programming but anyway I'm learning visual basic in school and I was wondering how to make it so a radiobutton must be checked or else an error message is displayed. Thanks

Radio Buttons can't be checked.If (radSmall.Checked = True) Then
costFries = 2.39

I disagree the code property is called "checked" that doesn't mean it's checked. Just like the property for the window TITLE is in the Text property. You don't say "the text I have here in Notepad is "Notepad - UNTITLED"!

regarding your PROBLEM you are GOING to have to provide a little more context.http://blackboard.ncc.edu/webct/urw/lc3121856533001.tp3266497323001/RelativeResourceManager/sfsid/3428491390001

Look at #6, it says "The USER must choose a Burger, but does not have to choose Fries and/or a Drink." I'm not sure how you can make it so you dont have to check the fries or drink.Arg sorry, hold on i gotta upload the paper.


Discussion

No Comment Found