13. Visual Basic Calculator - Tutorial VB 2010

  Рет қаралды 73,152

itsaji

itsaji

Күн бұрын

How to make a calculator in Visual Basic 2010
Part II - • 14. Visual Basic Adva...

Пікірлер: 72
@franx4912
@franx4912 6 жыл бұрын
Thank you for posting this video, I'm a 10th grader and this really helped me a lot! Most videos out there were confusing but this was easy!
@duodot
@duodot 14 жыл бұрын
Nevermind, i fixed it! i just removed all the Val()'s like Form1.TextBox1.Text & Tall.Text instead of Val(Form1.TextBox1.Text & Tall.Text) can't read value of something with decimal point even though its a Unicode character? WTF? anyway, works like a charm! love you! subscribed!
@itsaji
@itsaji 14 жыл бұрын
@duodot Thanks .. I'm glad that you figured it out .. This is the way we learn .. all the best.
@sillyme2598
@sillyme2598 7 жыл бұрын
THANKS MAN! YOU JUST SAVED MY LIFE!
@breezyleaf
@breezyleaf 11 жыл бұрын
Nice coding!!! And thank you for having normal music :D
@itsaji
@itsaji 14 жыл бұрын
@duodot You need a variable "flag" (type boolean). whose initial value is FALSE. When ever the user press the decimal button check the flag, If it is FALSE then add a decimal point to the number and set the flag as TRUE (as long as the flag is true no more decimal points are allowed in same number). Set the flag back to FALSE when user clicks any operators "+,=,*,/" or C, CE so he can enter second number with decimal point.
@ShayAxelod22
@ShayAxelod22 14 жыл бұрын
@ShayAxelod22 dude... I REALY LOVE YOUR WORK..... MAKE MORE VIDEOS!!! subscribed! keep it up!
@duodot
@duodot 14 жыл бұрын
I followed your instructions step by step exactly as you demonstrated, i just changed some of the subroutine and variable names, but still the decimal point doesn't work properly... i can set it, but once i click another button to set the first decimal it just removes the decimal point and nothing else happens... do you have any idea why this happens? and do you know of a fix? I've checked and checked again for bugs, errors, and mishaps, but its flawless...still it doesn't work...
@celinetoledo8480
@celinetoledo8480 11 жыл бұрын
AMAZING!!
@itsaji
@itsaji 14 жыл бұрын
@deans1243 Plz make sure that you are using "Microsoft Visual Basic 2010 Express" , form your code it appears that you are using "C# editor".
@denvercress6025
@denvercress6025 12 жыл бұрын
do you have a video add 4 test scores and get the average total of scores. i sure would appreciate it Thanks
@DanShash
@DanShash 11 жыл бұрын
I have a question. Why did you make a sub in the module for the variable "arithmetic" just to make the textbox clear when you press the button. Couldn't you have done this under the sub buttonclick: textbox1.text = "". so when they click the button the textbox clears. Please answer asap. I don't understand the purpose of a module.
@deans1243
@deans1243 14 жыл бұрын
whenever i double click anything to go to the code it doesnt look anything like yours but nomatter what i click the code is always the same?? pleas help
@duodot
@duodot 14 жыл бұрын
@itsaji This does only prevent me from inserting multiple decimal points in the same number, and that works, but that is unfortunately not solving my problem... The problem is that once the point is inserted and when i then push any number it removes the point and i have to push the same button again in order to for it to show up... it seems that it reads the textbox1.text as integer and denies me to use decimals, but if i change oper to string and value1 to decimal it changes nothing...
@Bedoelawad
@Bedoelawad 10 жыл бұрын
Thank You
@EmmanuelAbbah
@EmmanuelAbbah 11 жыл бұрын
@ItsAji could you plz tell me hw to make 000 and 0000 appear i.e when ever you need one hundred, u click on 1 and then on the 000 button. Thanks for your tutorials it really helped
@MinecraftDude07
@MinecraftDude07 12 жыл бұрын
@ItsAji Why does the multiply button not working? I've copied and double checked everything, and for example, if I type 2 x 2, it would just be 2.
@TheWordBecameFleshJ114
@TheWordBecameFleshJ114 12 жыл бұрын
my vb express 2010 doesn't show the toolbar on the left with all buttons and other things. how do I fix it?
@itsaji
@itsaji 14 жыл бұрын
@MrBejta Goto module ShowValue() 06:04 in the video and change the statement like (added "Val" function) Form1.TextBox1.Text = Val(Form1.TextBox1.Text & Button.Text)
@highkea
@highkea 11 жыл бұрын
apparently Error 1 "Type character '&' does not match declared data type 'System.Windows.Forms.TextBox'." so what should I do
@anssmuhammad1667
@anssmuhammad1667 11 жыл бұрын
I subbed liked and favourited :)
@itsaji
@itsaji 13 жыл бұрын
@toferk7 : Plz check the next video # 14. I have added C,CE and a few more function to this calculator .. thanks !
@KeenanLongboard
@KeenanLongboard 12 жыл бұрын
thanks!
@toferk7
@toferk7 13 жыл бұрын
@itsaji tnx !
@macaranasadrian
@macaranasadrian 13 жыл бұрын
@itsAji Hi dude, I have a question. Can you comment here the formula on how to continously operate? What I mean is this. Example 4+5+7+2-3-56*5/4 = Help please.
@skynicht
@skynicht 11 жыл бұрын
can someone help me my "."is not getting registered in the calculation so when i do 1.5 + 3.5 i get 4 instead of 5
@knsrulz
@knsrulz 9 жыл бұрын
the form.oper , what is oper in 2013 vb ?
@dekisan2010
@dekisan2010 13 жыл бұрын
I was create this calculator but comand :Double is no supported "X" Pleace Help
@oAnurag
@oAnurag 13 жыл бұрын
@itsaji You seem to good keeping in my the interface.
@OverG88
@OverG88 13 жыл бұрын
Nice! But can you tell me what will happen if I click "." more than once? :)
@itsaji
@itsaji 14 жыл бұрын
@fiksyman123 Watch this video from 05:05 where it shows how to call and define showValue subroutine.
@etheryamari5420
@etheryamari5420 11 жыл бұрын
Choose to loose the music or to loose the audience! you defeated the purpose of the help you are trying to give!
@toferk7
@toferk7 13 жыл бұрын
i think it should have a "clean" buttun , its the only thing missing... and TNX
@tsegahungirma2061
@tsegahungirma2061 9 жыл бұрын
thanks to this tutorial amazing but i have two question first question how to clear or delete the number second question is for example 12.5..... so why this dote use tell how to remove dote after number pleas help me
@uitje1
@uitje1 13 жыл бұрын
Hey, awesome tutorial, but I can't divide! Please help!
@cssgrabben
@cssgrabben 13 жыл бұрын
Hello the decimal don't work! please help me
@denricklaborada
@denricklaborada 13 жыл бұрын
what is the symbol in 10:58 ???
@growwithdesign
@growwithdesign 13 жыл бұрын
which song is this ? please give me a link.also loved your tutorial.thanks alot.
@liamreal1017
@liamreal1017 3 жыл бұрын
Still looking for it bro, its been 2 years for me
@duodot
@duodot 14 жыл бұрын
... and there doesn't seem to be any logical explanation... i think the problem is somewhere in all the other code i have that messes with the module1 or somethin, but i have removed all unnecessary variables and code...
@morshedulhaque2700
@morshedulhaque2700 6 жыл бұрын
Thanks
@liamreal1017
@liamreal1017 3 жыл бұрын
I gotchu
@filmsbyjamie
@filmsbyjamie 10 жыл бұрын
Love the music - what is it ?
@liamreal1017
@liamreal1017 3 жыл бұрын
I'm trying to find out bro
@stanezzz
@stanezzz 11 жыл бұрын
did u declare it as single or double ?
@sillyme2598
@sillyme2598 7 жыл бұрын
I think it's double
@kalubelliol9733
@kalubelliol9733 10 жыл бұрын
I love you tutorial. But when I add 10.5 + 2.5 the result is 12. so what's the bug? kalubelliol
@dite231
@dite231 10 жыл бұрын
i have the same problem too
@itsaji
@itsaji 14 жыл бұрын
@asafking123 Hi .. You can download the source code from my website (ItsAji.com). I just uploaded it in the Visual Basic section. The project files are in Visual Basic 2010 format.
@Sep.R
@Sep.R 8 жыл бұрын
can I have the code or link to download it please?
@annt.7785
@annt.7785 8 жыл бұрын
The code is textbox1.text
@A_dos
@A_dos 11 жыл бұрын
sir code link please?
@TheMrkyy
@TheMrkyy 12 жыл бұрын
Can you link to the song
@liamreal1017
@liamreal1017 3 жыл бұрын
I feel you fam
@billalfdaili3217
@billalfdaili3217 12 жыл бұрын
thanks for the video 10.5 + 2 = 12 i work in vb 2008 . don't work why
@hiddehekers
@hiddehekers 11 жыл бұрын
my point doesnt work.. 10,5x2=20 is shown
@dite231
@dite231 10 жыл бұрын
i have the same problem too
@warchateck
@warchateck 12 жыл бұрын
code plzzzzzzzzzzzz.
@turtwig996
@turtwig996 12 жыл бұрын
song name???
@liamreal1017
@liamreal1017 3 жыл бұрын
Idk what it is but its fire af
@NeutronHex
@NeutronHex 13 жыл бұрын
@itsaji c is a much more powerful language
@denricklaborada
@denricklaborada 13 жыл бұрын
Make your textbox read only so that you cannot type a word there... :D
@IMusic1997
@IMusic1997 13 жыл бұрын
Same problem
@billalfdaili3217
@billalfdaili3217 11 жыл бұрын
stanezzz it's work thanks
@TheFsfasf
@TheFsfasf 12 жыл бұрын
Great video, but some commentary wouldn't damage :p
@yotoprules9361
@yotoprules9361 10 жыл бұрын
this is thw worse calculator i have ever used. it doesnt work. i add 5 and it adds like 80
@yotoprules9361
@yotoprules9361 10 жыл бұрын
nvm it is just if i keep clicking it. very buggy still.
@yotoprules9361
@yotoprules9361 10 жыл бұрын
YOTOPRULES-youtube times dont work
@igorpadurjan5714
@igorpadurjan5714 10 жыл бұрын
This is sooooooo OUTDATED
14.  Visual Basic Advanced Calculator  - Tutorial VB 2010
12:51
How to Create Calculator in Visual Basic.Net Full Tutorial
12:31
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
How to Create Scientific Calculator in Visual Basic.Net
24:10
DJ Oamen
Рет қаралды 139 М.
5.3 (1) Creating a Calculator in Visual Basic Part One
2:55
Firchild
Рет қаралды 143 М.
Creating a School Management Software Part 1
17:23
Bello Sani
Рет қаралды 174 М.
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 33 МЛН
DIY Honeycomb Ball Ornament (Cardstock) | Paper Craft Ideas
2:49
Gift Wrapping Love
Рет қаралды 9 МЛН
Visual Basic 2010 Express Tutorial 4 - Simple Calculator Part 1
9:57
SchoolFreeware
Рет қаралды 216 М.
Images, Picture Boxes, and Buttons in VB.NET
8:42
PCRduino
Рет қаралды 375 М.
Perfect Shape 3D Star NO RULER! / Easy Paper Star / Paper Craft
4:54
Ferich Arts and Crafts
Рет қаралды 395 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН