Visual Basic .NET Tutorial 4 - How to Create a Simple Calculator in Visual Basic

  Рет қаралды 351,725

ProgrammingKnowledge

ProgrammingKnowledge

Күн бұрын

★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqc...
Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
Kotlin Android Development Masterclass - bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
★★★ Follow ★★★
My Website - www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Simple Calculator visual basic
simple calculator visual basic 2010
visual basic code simple calculator
simple calculator using visual basic dll
simple calculator using vb
visual basic program for simple calculator
visual basic calculator source code
How to make a calculator in Visual Basic
Visual Basic : Build a SIMPLE calculator
How To Make A Calculator In Visual Basic 2008
How to Make a simple calculator in Visual Basic
Vb Calculator - VB6
Simple Calculator In Vb - VB6
Visual Basic 6.0 Simple Age Calculator - VB6
Simple Calculator visual basic
Basic Calculator In VB.Net - VB.NET Tutorials
vb calculator code sample
calculator in vb 2010

Пікірлер: 74
@andrewcrawford2807
@andrewcrawford2807 8 жыл бұрын
Thanks so much! This helped clarify a lot of things I was having issues with.
@Phoniex-Waven
@Phoniex-Waven 9 ай бұрын
Thank you very much....im writing my final exam tomorrow and this helped alot
@Endrit719
@Endrit719 9 жыл бұрын
why i get this error Error 1 Value of type 'Single' cannot be converted to 'System.Windows.Forms.Label'. c:\users\user\documents\visual studio 2010\Projects\WindowsApplication3\WindowsApplication3\Form1.vb 10 23 WindowsApplication3
@chanchalrajput5497
@chanchalrajput5497 6 жыл бұрын
Your teaching style awesome and my all doubt are clear thank you
@charankumar9897
@charankumar9897 3 жыл бұрын
Very dignified and explanatory. You're too good man, thanks a lot🤞.
@MisterHunterRow
@MisterHunterRow 6 жыл бұрын
i was using this for a custom form that was visual basic inside visual basic (Hb) and this is what the code is: Public Class Form1 Dim t As Integer Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If TextBox1.Text = "(Hb window" AndAlso TextBox2.Text = "(document" AndAlso TextBox3.Text = "(text" AndAlso TextBox5.Text = "text)" AndAlso TextBox6.Text = "document)" AndAlso TextBox7.Text = "Hb window)" Then t = TextBox4.Text Form2.Label1.Text = (t) Form2.Show() End If End Sub End Class but when I type text in textbox4, which I will call "ten" it says that "type ten cannot be converted to integer" could you help?
@RedSerenity_
@RedSerenity_ 10 ай бұрын
🤷
@aartijain5013
@aartijain5013 7 ай бұрын
Thanku so much sir ......Its is very good
@SeifKoretum
@SeifKoretum 2 жыл бұрын
thank you brother for help
@Jukebocks
@Jukebocks 9 жыл бұрын
Indians: Teaching the world to code since 1991
@sheel1972
@sheel1972 9 жыл бұрын
Shared on Google+
@shahiqajannat9731
@shahiqajannat9731 5 ай бұрын
Thank you so much
@extrememlgbassboosts8453
@extrememlgbassboosts8453 8 жыл бұрын
May i ask, Is there a way to an array of text, and seperate them by , I need to get 2.5,5,66, into 2.5 5 66
@lorenzpelenio6814
@lorenzpelenio6814 6 ай бұрын
How about applying "double" in data types?
@aldrenvillaruel5960
@aldrenvillaruel5960 6 жыл бұрын
You are so helpful!!! Thank you very much!
@muhammedmafas2987
@muhammedmafas2987 7 жыл бұрын
thx a lot for video. my problem is that can i get the "result" in to label without a msgbox.??? please answer me
@angrydoggo7160
@angrydoggo7160 4 жыл бұрын
Question. How do I make it give me an error if Instead of a number, I give it a word or a letter?
@jasam4374
@jasam4374 3 жыл бұрын
Divide the number 220.007 / 1.3 an incorrect calculation appears . Why, does Visual Studio have a serious math problem?
@7MB
@7MB 4 жыл бұрын
Ok when I make it power instead of multipling or dividing or normal with a big numbers like 10^26 it shows me 1E+26 , i want to show the actual answer
@kunjshah9809
@kunjshah9809 7 жыл бұрын
Thanks I am getting it now
@alfarisabuziad9315
@alfarisabuziad9315 3 жыл бұрын
I got this error: Error BC30420 'Sub Main' was not found in 'Calc2'. please help
@awesomeness5719
@awesomeness5719 6 жыл бұрын
how to put the answer inside the text box 3 that i build myself
@nicador100
@nicador100 3 жыл бұрын
Super, thanks very much !
@ProgrammingKnowledge
@ProgrammingKnowledge 10 жыл бұрын
@peterveer7798
@peterveer7798 6 жыл бұрын
ProgrammingKnowledge i want to make ball game LINGO in virtual basic can you upload a vid how i can do this in basics
@bvdproductions3875
@bvdproductions3875 4 жыл бұрын
my dim statement doesnt work why is that? it really frustates me
@hanamahad272
@hanamahad272 6 жыл бұрын
thanks for the help understand now
@true4189
@true4189 3 жыл бұрын
Thank u
@YAakash
@YAakash 7 жыл бұрын
thanks for the video :) when i subtract a higher value from lower value, answer endup in error. can we showup negative numbers? and how?
@johnjimjimenez394
@johnjimjimenez394 5 жыл бұрын
try double instead of single and integer
@Xinbaby999
@Xinbaby999 6 жыл бұрын
a lot help !!!! thx soooo much1!!!!!!
@abamwesigadrake5686
@abamwesigadrake5686 Жыл бұрын
this is awesome
@monakapoor43
@monakapoor43 7 жыл бұрын
sir / mam your video is very awesome and easily understanding but I want a video on Pythagoras theorem .. sir / mam can u plzz send link ( on visual basic)
@sam90o48
@sam90o48 7 жыл бұрын
mona kapoor lol
@axmedshiine2398
@axmedshiine2398 Жыл бұрын
Hi i want this code immediately, Please reply.
@switchon3746
@switchon3746 9 жыл бұрын
Nice tut.
@kandysman86
@kandysman86 6 жыл бұрын
I thought you had to add private before the dim statement before it can be a global statement
@rushibhatt4263
@rushibhatt4263 7 жыл бұрын
thank you sir
@ray-anfuentes574
@ray-anfuentes574 8 жыл бұрын
operator '+' is not defined for types 'system.windows.forms.textbox' and system.windows.forms.textbox' I can't run. There's an error :(
@kyan4204
@kyan4204 7 жыл бұрын
SAME
@ElPeppito
@ElPeppito 6 жыл бұрын
You wrote "textbox1+textbox2" instead of "number1+number2"
@jamesreddington2885
@jamesreddington2885 6 жыл бұрын
your supposed to put a * not +
@jeromepalentinos8121
@jeromepalentinos8121 7 жыл бұрын
WHY USE COMMA INSTEAD OF DOUBLE VAR
@polinstar4189
@polinstar4189 5 жыл бұрын
Can someone help me how to store data answer rather the numbers that been solved in a Microsoft access database?
@natalieanderson3894
@natalieanderson3894 7 жыл бұрын
Help not sure what I did wrong the coding matches exactly as the video Number1 = TextBox1.Text error message pops up there saying Text System.InvalidCastException: 'Conversion from string "" to type 'Integer' is not valid. 'System.InvalidCastException occurred HResult=0x80004002 Message=Conversion from string "" to type 'Integer' is not valid. Source= StackTrace: at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) at first_calculator.Form1.TextBox1_TextChanged(Object sender, EventArgs e) in c:\users\baby\documents\visual studio 2017\Projects\first calculator\first calculator\Form1.vb:line 10 at System.Windows.Forms.Control.OnTextChanged(EventArgs e) at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e) at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m) at System.Windows.Forms.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.TextBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m) at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.NativeWindow.DefWndProc(Message& m) at System.Windows.Forms.Control.DefWndProc(Message& m) at System.Windows.Forms.Control.WmKeyChar(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.TextBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at first_calculator.My.MyApplication.Main(String[] Args) in :line 81 Inner Exception 1: FormatException: Input string was not in a correct format.
@morpheus2953
@morpheus2953 7 жыл бұрын
You must have entered Dim Number1 As String
@ken2614
@ken2614 6 жыл бұрын
Try.... Number1=val(Textbox1.text)
@nurulfatihah1526
@nurulfatihah1526 7 жыл бұрын
what if incomplete values?? how to do that??
@darkworld3441
@darkworld3441 5 жыл бұрын
Does not work on 2019 version
@7MB
@7MB 4 жыл бұрын
it works
@ghunghroo1
@ghunghroo1 8 жыл бұрын
plzz explain me the concept of comma in i/p & result hw floating pint variable accepts "," and not "." in result msg box
@jeffschultz4168
@jeffschultz4168 7 жыл бұрын
I'm using 2015 and this does not happen to me, in fact, it parses out commas. This did not make any sense to me, perhaps it is something else such as formatting of the text boxes that is causing this.
@kwstasber9190
@kwstasber9190 10 жыл бұрын
Perfect
@alvinkoay2961
@alvinkoay2961 5 жыл бұрын
what different of value single and double
@yes-ej2uv
@yes-ej2uv 5 жыл бұрын
Alvin Koay Double contains a decimal number/point. Single is a whole number
@royapcpc4359
@royapcpc4359 8 жыл бұрын
thanku
@zuffyzuyyf9618
@zuffyzuyyf9618 8 жыл бұрын
ty
@ptahX
@ptahX 10 жыл бұрын
Thank you for the great video! I'm really new to this but my message box doesn't pop up for some reason
@TemmieCW
@TemmieCW 9 жыл бұрын
Steven Rose You probably missed MsgBox(Answer)
@MuhammadAkbar2127
@MuhammadAkbar2127 9 жыл бұрын
Great
@hiimjchrisst7385
@hiimjchrisst7385 7 жыл бұрын
Nice Video :)
@natanaelzelaya5371
@natanaelzelaya5371 5 жыл бұрын
Danke können Sie mir ein Programm mit geraden Zahlen senden
@monakapoor43
@monakapoor43 7 жыл бұрын
plzzz send link before Tuesday plzzz🙏
@lubnaalsadi5614
@lubnaalsadi5614 6 жыл бұрын
جميل
@axmedshiine2398
@axmedshiine2398 Жыл бұрын
Please share in chrome
@sam90o48
@sam90o48 7 жыл бұрын
wtf y the hell did I use " , " in place of decimal y it can't show the correct answer by writing 2.33 and 4.22
@rogerharsh
@rogerharsh 4 жыл бұрын
How to download visual basic 2010 under 500mb
@user-ry2yy7kv8c
@user-ry2yy7kv8c 5 жыл бұрын
i don't wanna judging you but the variable must be FLOAT. because if someone wanna use decimal number. he/she could do that.
@erickv1977
@erickv1977 5 жыл бұрын
what did he say?
@sheel1972
@sheel1972 9 жыл бұрын
1
@parnavsehrawat5190
@parnavsehrawat5190 3 жыл бұрын
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooookkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
@rachnaissar
@rachnaissar 4 жыл бұрын
Worst form calculator
@yuvrajplayz3546
@yuvrajplayz3546 9 ай бұрын
Get lost and keep your a** away from these good channels
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 6 МЛН
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 555 М.
Mindset of Successful Programmers
4:56
bigboxSWE
Рет қаралды 1 МЛН
Visual Basic .NET Tutorial 3 - Using If then Else Statements in Visual Basic
4:59
Creating a Simple Calculator in Visual Studio 2017 using Visual Basic
17:20
Simplified Coding
Рет қаралды 105 М.
Visual Basic introduction - Creating a Calculator
17:51
Leon Marsden
Рет қаралды 29 М.
Visual Basic .NET Tutorial 7 - How to use a Listbox in VB.NET
6:49
ProgrammingKnowledge
Рет қаралды 269 М.
How to create a calculator in C# windows forms application
19:22
Tutus Funny
Рет қаралды 112 М.