Truely a Newbie

I am Very Raw at this. I have visually constructed a Windows App. But now I don't have the slightest clue how to "Tell" It what I want it to do.

I have various text boxes for inputing numbers. I want to do math equations. Example...as an investment calculator and a mortgage calculator.

I would like to hit the "Button" and run the calculations.

I don't even know where to start. I know NO code at all and can't seem to find any online rescources to help.

Thanks so much....




Answer this question

Truely a Newbie

  • Randy B

    Have you tried the Visual Basic Guided Tour It is a series of lessons aimed at newbies - once you complete the lessons, you should know enough to build your calculator.

    It is in the documentation that is installed with Visual Basic Express - just click "Create Your First Application" on the Start page. You can also access it online at: http://msdn2.microsoft.com/en-us/library/90h82b3x(en-US,VS.80).aspx

    Hope this helps,

    Steve Hoag

    Visual Basic Express



  • Bajrang

  • Kieron Lanning

    Thank you soo Much...I think that I just might be getting this Assigning stuff.

    Great Help !!!!!



    I am sure I will be back....lol


  • Neil Kronlage - MSFT

    I highly recommend that you work through the Guided Tour in order to get a basic understanding of how to write code.

    The concept that you are looking for is in the topic "Arithmetic: Creating Expresssions with Variables and Operators" http://msdn2.microsoft.com/en-us/library/xbzhz001(en-US,VS.80).aspx

    You can modify the code example in the Try It section to do what you want:

    Dim A As Double = Textbox1.Text
    Dim B As Double = Textbox2.Text

    TextBox3.Text = A + B

    In your case, TextBox1 would be your Mortgage textbox, TextBox2 would be your Interest Rate, and TextBox3 would be your Total Cost.

    Steve Hoag

    Visual Basic Express



  • HPEvju

    Hey Thanks for the repy. Sorry about the double post. i deleted the other one.

    I have gone through some of the guide VB Basics. the pdf file.

    But I still don't understand how to code.

    I guess my example is this.

    changed name of label to " Mortgage" there is a Text box next to it to input a number.

    "Intrest Rate" text box2

    How do I use the inputs from both text boxes and have it appear in a 3rd box labeled

    "total cost" I just don't know how to begin!!!.

    Thanks again...



  • Arash66451

    Chris....this link has the best newbie free videos available.

    http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx

    You could really go insane trying to get anything done...without the basics included in those vids.



  • Truely a Newbie