VB Code

Discussion in 'MCAD' started by Jim McCarty, Dec 5, 2003.

  1. Jim McCarty

    Jim McCarty Guest

    I have a form, here is the guts. A txtbox to enter a
    number of people. 2 Option buttons each assigned values
    of 100 and 120 and a check box assigned a value of .1
    The purpose is to calculate a price for cetain number of
    students to attend a class. I got all of it except the
    check box (that is used for 10% discount) I can get the
    code to work for the number of people * price from either
    option button, but when I add the check box to the code
    that part of the code does not work. Can someone please
    help me with this. I am pretty new to VB
    Thanks in advance
    Jim
    Jim McCarty, Dec 5, 2003
    #1
    1. Advertising

  2. Jim McCarty

    Jay Walters Guest

    You should have copied and pasted your code and event
    handlers.

    Because I can't visualize what you mean by, are talking
    about not being able to compile, run-time exception, or
    your math function? :

    >but when I add the check box to the code that part of

    the code does not work



    >-----Original Message-----
    >I have a form, here is the guts. A txtbox to enter a
    >number of people. 2 Option buttons each assigned values
    >of 100 and 120 and a check box assigned a value of .1
    >The purpose is to calculate a price for cetain number of
    >students to attend a class. I got all of it except the
    >check box (that is used for 10% discount) I can get the
    >code to work for the number of people * price from

    either
    >option button, but when I add the check box to the code
    >that part of the code does not work. Can someone please
    >help me with this. I am pretty new to VB
    >Thanks in advance
    >Jim
    >.
    >
    Jay Walters, Dec 6, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. PB
    Replies:
    1
    Views:
    544
  2. =?Utf-8?B?QXRhbnUgTWFoYXRh?=

    MOC code and Exam code

    =?Utf-8?B?QXRhbnUgTWFoYXRh?=, Dec 28, 2006, in forum: MCSE
    Replies:
    28
    Views:
    953
  3. Replies:
    3
    Views:
    496
    Don_Luciano
    Mar 19, 2006
  4. Zimri

    Code Monkey want MCTS, Code Monkey take exam

    Zimri, Apr 3, 2007, in forum: Microsoft Certification
    Replies:
    0
    Views:
    461
    Zimri
    Apr 3, 2007
  5. Guest
    Replies:
    0
    Views:
    677
    Guest
    Nov 10, 2003
Loading...

Share This Page