FinFin's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
33 (0.07 per day)
Joined:
02-January 12
Profile Views:
540
Last Active:
User is offline Mar 03 2012 02:45 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Chevrolet
Dream Kudos:
0
Icon   FinFin Continuing to dislike coding lol

Posts I've Made

  1. In Topic: Label formatting

    Posted 10 Feb 2012

    Thanks everyone for the help!
  2. In Topic: VB.Net if statement

    Posted 9 Feb 2012

    Thanks everyone for your help.
  3. In Topic: VB.Net if statement

    Posted 9 Feb 2012

    View PostnK0de, on 07 February 2012 - 11:15 PM, said:

    try converting the Textbox input to double,

    CDbl(AmountBox1.Text)
    


    Asking here as this was suggested here and did not want to start a new thread, sorry if I was wrong.

    Ok, 1 more question about this comment,

    Is there a way to convert the DropDownBox to decimal?

    Like
     CDml(AmountBox1.Text)
    

    Would that work? Basically what is the Cdbl code for decimal?

    Ok, found the answer it is
    CDec(AmountBox1.Text)
    


    Now it is saying Expression is not a method. How do I fix this. I need the box to be converted to decimal?
  4. In Topic: VB.Net if statement

    Posted 7 Feb 2012

    Sweet thank you very much, that was too easy.

    Hate being a newbee!

    Now all I have to do is write the rest and I will be good. Thanks again for the push!!

    Fin
  5. In Topic: VB.Net if statement

    Posted 7 Feb 2012

    Sorry forgot to add amount is already a double
     Dim Amount as Double
    


    I need it to stop at this if statement if it is false,
     
                If IsNumeric(AmountBox1.Text) = False Then
                'Amount must be numeric. Please enter a valid loan amount.
                MsgBox("Ok, no letters or characters, just use numbers! Please enter a valid amount     between 1 and 10,000.")
    
    

    When the code catches something other than a number here it sends the message box, once the user clicks ok the program continues to this code
     Amount = AmountBox1.Text 
    

    and gives me the error message.

    How do I stop the program from going on to this?
     Amount = AmountBox1.Text 
    

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Full Name:
Finley Burke
Years Programming:
.3

Contact Information

E-mail:
Private

Friends

Comments

FinFin has no profile comments yet. Why not say hello?