Ask Experts Questions for FREE Help !
Ask
    Sudisha's Avatar
    Sudisha Posts: 1, Reputation: 1
    New Member
     
    #1

    Mar 31, 2009, 11:01 PM
    Visual basic
    I want to to create a calculator in visual basic. How can I do this.there only that key preasent what I know that is (0-9, +, -, *, /,. = cleare)this code are preasent. So tell me the code which code I use to create this buttons.
    Perito's Avatar
    Perito Posts: 3,139, Reputation: 150
    Ultra Member
     
    #2

    Apr 2, 2009, 05:16 AM
    Quote Originally Posted by Sudisha View Post
    I want to to create a calculator in Visual Basic. How can I do this? The only keys that are present are (0-9, +, -, *, /, ., = clear) this code are present. So tell me the code which code I use to create this buttons.
    In all versions of Visual Basic, if you want a button that presents a given function, it's usually the simplest to "drop" a button on a form and label it with the appropriate prompt ("+", "-", "*", "/", "=", "1", "2", "3",. ). If you then double-click on each button, you'll generate an "on keypress handler" function. All you do is put the code you want to use in there.

    Please let me know the version of Visual Basic you are using. This is a pretty easy project so it should be fairly simple to help you out.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Visual Basic [ 3 Answers ]

hi, I am using Access as my DB. I want to save a value in one table in DB. But the value am saving shd exists in database in another table. i.e. that value hs to be compared with the other table .Only if it exists then it has to be saved. How to do it.

Visual basic 6 [ 1 Answers ]

Hi! I am facing difficulty in preparing SRS(software requirement specification) of my semister project which is Credit Card System(visual basic 6) please give me some suggesion. Thank you

Visual basic [ 1 Answers ]

I am doing visual basic program. Could you help with the code how to login.

Visual Basic 6.0 [ 1 Answers ]

What is the cost of Visual Studio 6.0 Enterprise Edition?


View more questions Search