I am new to VB. In the above calculator, how can I make it so that it clears when a new operation is made? example: 3+5=8; then 6/2=3. Right now I have to clear manually between operations.
I made my own calculator a diferent way but that doesnt matter, can someone help me with the code for calculating exponents? for example the code for multiply would be something like : x * x x being the variable you chose. Also the code for square root. Thanks
At last, a tutorial that actually makes a calculator that looks like a calculator! Nice work! Though it didn't help me that much as I know AutoIt, Java, HTML, and PHP already, I can really see how you'll be helping people!
it depends. If it's always going to be the same text (i.g.: textbox1.text = "Stuff"), then the parenthesis is not needed but if the text is coming from another object then the parenthesis is needed (i.g.: textbox1.text = (label1.text)).
@AwesomeMegaSuper It doesn't matter if it's 2010, or 2008. I figured out the error too! It's so easy. Go to "My project" By the "X" button, and double click it, go to "Settings" Press on the "settings" text and name it to "File" And that's it! :)
There are basically two ways. One way is to use the installer that comes with visual basic or visual studio. The other way is to get a custom installer. I use a custom installer for my programs. VB Installer is easier though. Go to the tab where you find your settings. If it's not already open, double click your project name in the Solution Explorer bar in the right. After you have done this, A tab should be open containing several other tabs. click on the tab that says, Publish
Then mess around with some of the buttons on the right. (*****IMPORTANT****** If you used components that didn't come with visual basic or whatever you used to program your program, then click Application Files > Show All, and make sure all of them say include.) After you have changed all of the things that you wanted. click the Publish Wizard Button, save it to wherever, just remember to get it. Once you're done you will see a foldler containing a few files and folders. Done.
to add settings, look at the Solution Explorer (usually to the up, right corner), and double click My Project. This will open up a tab showing multiple tabs. go to the settings tab, and you will see boxes, put the name of the setting in the first box. Settings can be used for many applications, and can make your application more advanced.
If you guys want a working calculator that looks like his, but with 2 modes (simple and advanced), check out youtube[dot]com/7pmtech , I am going to release a calculator tutorial asap on that channel.
His code is too complicated, my code will be more clean and will work more efficiently. The video tut will be released in 1-2 weeks.
that is a bit more complicated, i might have to do a new video for that one. thank you for bringing that to my attention. i will put another video for that soon.
when i made the video i thought of using the label so that i can access the operation quickly, but i realized that i could just make a setting using the same idea; and instead of calling for the label text just call for the setting text.
quick question, in my project file, it says form1.cs and i noticed that yours says form1.vb.....and the coding for the vb is correct because it says ByVal etc.....how do i change my form1.cs to form1.vb?
BEST TUTORIAL EVER! Seriously, i was looking for calculator tut for like 1h and didn't found any good. And then i saw your tutorial. Saved mah day. Thanks. This really needs more views!
This has been flagged as spam show
I'm working on a shootout game based on The Elder Scrolls V Skyrim. A video of it is on my channel. Check it out!
BDpartnercoJM 1 week ago
i tryed to reply to ur msg but it wont let me just wanted to say thx
uchihasasuke7863 2 weeks ago
how do you get the tab with the settings ?
uchihasasuke7863 2 weeks ago
@NickkRagz the code for exponents is X^X, ^ is Shift 6, the code for square roots is X^(1/2)
CarsonAckerman 3 weeks ago
I am new to VB. In the above calculator, how can I make it so that it clears when a new operation is made? example: 3+5=8; then 6/2=3. Right now I have to clear manually between operations.
ballaghadereen 3 weeks ago
Is this work for vb 2008?
ThePolat193 1 month ago
how do you get the settings.first?
corayslol 1 month ago
Comment removed
corayslol 1 month ago
divide isn't working the code for it is Label1.Text = "/" My.Settings.First = TextBox1.Text TextBox1.Text = "" My.Settings.Save()
that's correct code right?
SuperFirell 1 month ago
I made my own calculator a diferent way but that doesnt matter, can someone help me with the code for calculating exponents? for example the code for multiply would be something like : x * x x being the variable you chose. Also the code for square root. Thanks
NickkRagz 1 month ago
also added squared and square root to it XDXD
Killernoob50 2 months ago
@Killernoob50
and also a "."
Killernoob50 2 months ago
what labels are u talkin bout
Mastersteef123 2 months ago in playlist Favorite videos
At last, a tutorial that actually makes a calculator that looks like a calculator! Nice work! Though it didn't help me that much as I know AutoIt, Java, HTML, and PHP already, I can really see how you'll be helping people!
TutorDrew 2 months ago
@SwordsmasterMarth
it depends. If it's always going to be the same text (i.g.: textbox1.text = "Stuff"), then the parenthesis is not needed but if the text is coming from another object then the parenthesis is needed (i.g.: textbox1.text = (label1.text)).
llPcErall 4 months ago
GOOD
reddyvsai112 4 months ago
".first" is not member of my VB. It's VB 2010 Xpress
AwesomeMegaSuper 4 months ago
@AwesomeMegaSuper It doesn't matter if it's 2010, or 2008. I figured out the error too! It's so easy. Go to "My project" By the "X" button, and double click it, go to "Settings" Press on the "settings" text and name it to "File" And that's it! :)
MyVisualBasicProject 4 months ago
Thank You Very Much..you save me from my project!!! Peace!!!
tukzsazsa 4 months ago
I made my own calculator. How can i create an instalation now?
EnzoMSI 4 months ago
@EnzoMSI
There are basically two ways. One way is to use the installer that comes with visual basic or visual studio. The other way is to get a custom installer. I use a custom installer for my programs. VB Installer is easier though. Go to the tab where you find your settings. If it's not already open, double click your project name in the Solution Explorer bar in the right. After you have done this, A tab should be open containing several other tabs. click on the tab that says, Publish
llPcErall 4 months ago
@llPcErall
Then mess around with some of the buttons on the right. (*****IMPORTANT****** If you used components that didn't come with visual basic or whatever you used to program your program, then click Application Files > Show All, and make sure all of them say include.) After you have changed all of the things that you wanted. click the Publish Wizard Button, save it to wherever, just remember to get it. Once you're done you will see a foldler containing a few files and folders. Done.
llPcErall 4 months ago
@llPcErall yeah i found out, Saved as a project. So I got the installation, Nice tutorial keep it up. :D
EnzoMSI 4 months ago
@EnzoMSI InnoSetup.
vitekcom2 2 months ago
what do u have to put in the settings box
wendywaugh 4 months ago
The intro song is a parody of Wierd Al's song!
xXserubiXx 5 months ago
nice voice :D
aerodromiaN4Life 5 months ago
ur not explaining well can we be more clear wher edo i get settings
funnycunt83 5 months ago
How to Make a setting???
SuperMediaWizard 5 months ago
Aaand how do i add settings? :o
pereesfly 6 months ago
@pereesfly
to add settings, look at the Solution Explorer (usually to the up, right corner), and double click My Project. This will open up a tab showing multiple tabs. go to the settings tab, and you will see boxes, put the name of the setting in the first box. Settings can be used for many applications, and can make your application more advanced.
llPcErall 6 months ago
@llPcErall ty:)
pereesfly 4 months ago
according to this, 4-5=3 :). Just thought u might want to know that.
Matthew22604 6 months ago
If you guys want a working calculator that looks like his, but with 2 modes (simple and advanced), check out youtube[dot]com/7pmtech , I am going to release a calculator tutorial asap on that channel.
His code is too complicated, my code will be more clean and will work more efficiently. The video tut will be released in 1-2 weeks.
So check out the 7pmTech channel!
codaassasin 6 months ago
Comment removed
codaassasin 6 months ago
not clear............
mommpy1 6 months ago
@mommpy1 yes it is in 480p or 720p HD
SuperSpajky 6 months ago
Bro, ,what if i will do this 1+2+3+4+5=9 that's a wrong answer how can i fix this?? please help
therz0n 7 months ago
@therz0n
What do you mean?
llPcErall 7 months ago
@llPcErall try to type This in your calculator. . 1+2+3+4+5=9.. thats not a real answer .. 1+2+3+4+5=15 is the correct answer
therz0n 7 months ago
@therz0n
OH, i get it
that is a bit more complicated, i might have to do a new video for that one. thank you for bringing that to my attention. i will put another video for that soon.
llPcErall 7 months ago
very helpful.....but wats wit da label please explain
ttendosamix45 7 months ago
@ttendosamix45
when i made the video i thought of using the label so that i can access the operation quickly, but i realized that i could just make a setting using the same idea; and instead of calling for the label text just call for the setting text.
llPcErall 7 months ago
quick question, in my project file, it says form1.cs and i noticed that yours says form1.vb.....and the coding for the vb is correct because it says ByVal etc.....how do i change my form1.cs to form1.vb?
BillySmith187 7 months ago
what is the song at the start called
dtc0tw 7 months ago
@dtc0tw
It's called Whatever You Like by TI
llPcErall 7 months ago
Thanks, this is a great tutorial. =)
odezzapangilinan 8 months ago
BEST TUTORIAL EVER! Seriously, i was looking for calculator tut for like 1h and didn't found any good. And then i saw your tutorial. Saved mah day. Thanks. This really needs more views!
AitoSoturi 9 months ago
Thx man ! really helpful
fouadiraq999 9 months ago
to find the settings, double click on the program name in the explorer window, a tab will open up, then click the settings tab
llPcErall 10 months ago
Hey guys, if you wanna put a DECIMAL, put the code in another button and label it .
TextBox1.AppendText(".") My.Settings.First = TextBox1.Text My.Settings.Save()
NorthWolfs 10 months ago
Comment removed
NorthWolfs 10 months ago
Comment removed
NorthWolfs 10 months ago
Comment removed
NorthWolfs 10 months ago
thanks man, this really helped
MrHydroman42 10 months ago
Comin guys post some comments.
llPcErall 11 months ago