make a calculator yourself on visual basic program

Another essential program is calculator we use it many times in a day. But do you even try to make it yourself I mean calculator ha ha ha ha don’t afraid I will help you to make a nice calculator. I am sure that you will be success to make it yourself. To do this work you will need a visual basic software.


Another essential program is calculator we use it many times in a day. But do you even try to make it yourself I mean calculator ha ha ha ha don’t afraid I will help you to make a nice calculator. I am sure that you will be success to make it yourself. To do this work you will need a visual basic software. So at first install it to your personal computer.  Now open visual basic windows and arrange the code given bottom and enjoy it.  
Don’t copy it go and click download button to get this code.
Option Explicit
Dim Operand1 As Double, Operand2 As Double
Dim Operator As String
Dim ClearDisplay As Boolean
Private Sub ClearBttn_Click()
Display.Caption = ""
End Sub

Private Sub Digits_Click(Index As Integer)
If ClearDisplay Then
Display.Caption = ""
ClearDisplay = False
End If
Display.Caption = Display.Caption + Digits(Index).Caption
End Sub

Private Sub Div_Click()
Operand1 = Val(Display.Caption)
Operator = "/"
Display.Caption = ""
End Sub

Private Sub DotBttn_Click()
If ClearDisplay Then
Display.Caption = ""
ClearDisplay = False
End If
If InStr(Display.Caption, ".") Then
Exit Sub
Else
Display.Caption = Display.Caption + "."
End If
End Sub

Private Sub Equals_Click()
Dim result As Double

On Error GoTo ErrorHandler
Operand2 = Val(Display.Caption)
If Operator = "+" Then result = Operand1 + Operand2
If Operator = "-" Then result = Operand1 – Operand2
If Operator = "*" Then result = Operand1 * Operand2
If Operator = "/" And Operand2 <> "0" Then result = Operand1 / Operand2
Display.Caption = result
ClearDisplay = True
Exit Sub
ErrorHandler:
Dim intMsg As Integer
intMsg = MsgBox("The operation resulted in the following error" _
& vbCrLf & Err.Description, vbOKCancel)

Display.Caption = "ERROR " & intMsg
ClearDisplay = True
End Sub

Private Sub Form_Load()

End Sub

Private Sub Minus_Click()
Operand1 = Val(Display.Caption)
Operator = "-"
Display.Caption = ""
End Sub

Private Sub Over_Click()
If Val(Display.Caption) <> 0 Then Display.Caption = 1 / Val(Display.Caption)
End Sub

Private Sub Plus_Click()
Operand1 = Val(Display.Caption)
Operator = "+"
Display.Caption = ""
End Sub

Private Sub PlusMinus_Click()
Display.Caption = -Val(Display.Caption)
End Sub

Private Sub Times_Click()
Operand1 = Val(Display.Caption)
Operator = "*"
Display.Caption = ""
End Sub
                                          
                                      DOWNLOAD THIS CODE

COMMENTS

BLOGGER: 3
Loading...
Name

add-ons adobe Photoshop android android apps animated gadget antivirus article writer articles author bangla song banglalink bengali ghost story bios password blog design blog template blogdesign blogspot bootable calendar chatting software clock code color comment box commenter computer converter CSS customize start menu design desktop fun desktop fun tool desktop toy download drive earn money easy online job easy way to earn editing email email subscription english error reporting excel facebook file management firefox flash free internet free software freelancing friend request fun gadget ghost story gmail google gp modem grameenphone hide hotlines html html/java idm installation instant article wizard java keyboard labels gadget language lock locker logo logo design menu bar microsoft minute workers mobile mobile browsers mobile site mobile software modem mouse effect notepad online earning online photo editor online tools opera paints password password recovery pdf pdf story pendrive phone number photo editor play store posts and comments counter power on premium software premium template protection ram recent post regedit related posts ringtone robi run commend security shutdown social share software speedup story task bar tips tooltip effect tricks tutorial twitter typing master pro uc unique articles video virus visual basic web design website widget win 7 win xp windows write protection youtube
false
ltr
item
COMPUTER TIPS WORLD BD | BLOG DESIGN | GADGETS | HTML: make a calculator yourself on visual basic program
make a calculator yourself on visual basic program
Another essential program is calculator we use it many times in a day. But do you even try to make it yourself I mean calculator ha ha ha ha don’t afraid I will help you to make a nice calculator. I am sure that you will be success to make it yourself. To do this work you will need a visual basic software.
http://3.bp.blogspot.com/-L9Un_SMHcO4/UABdZnPSapI/AAAAAAAAAEU/MnrzkKJ4HoU/s320/Calculator.jpg
http://3.bp.blogspot.com/-L9Un_SMHcO4/UABdZnPSapI/AAAAAAAAAEU/MnrzkKJ4HoU/s72-c/Calculator.jpg
COMPUTER TIPS WORLD BD | BLOG DESIGN | GADGETS | HTML
http://tipsworldbd.blogspot.com/2012/07/make-calculator-yourself-on-visual.html
http://tipsworldbd.blogspot.com/
http://tipsworldbd.blogspot.com/
http://tipsworldbd.blogspot.com/2012/07/make-calculator-yourself-on-visual.html
true
7792348032898020469
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy