Hello, thank you for the info, could you please show me how to, load numerical data from a database, and convert the selected data to variables, so that these variables could be used in calculation. Thank you.
Pretty funny how in the description it says "Adding advanced options such history, speak result, Memory, backspace" but when it actually comes to adding memory, backspace, square root etc. Your guide ends. You just quit after making that speaking thing, saying now just add background and you are done. How can you be done when you haven't even added half the functions of a calculator?...
hey i was wondering if u could help me out i dunno what you coded for the MC,MR,C,CE,M+,M- <-, √,±, and 1/x Buttons if you could please post them or make another vid that would be such a big help to me
@MrBejta You can have in properities option called "ReadOnly" and you just select False. It's good because user can copy the number in the TextBox but not edit it! If you have some questions send me a message!
@96Kava96. Thanks for your answer! I am trying make a Creditcalculator like: e.g. Textbox3.Text = Val(Textbox2.text + Val(Textbox1.Text)) Textbox1 = Amount (1000) Textbox2 = Percentage (4,5%) Textbox3 = Rate (12m) Label1.Text = Result: 87,08 (should come out) And i tried to do so:TextBox3.Text = Val(TextBox3.Text + Val(TextBox2.Text / Val(TextBox1))) Or is there a fomula to declare a percentage?: e.g. Dim Percent As "?" Thanks P.S. Please tell all posobilities for Percentage !!
I have watched your video trying to find the code for the backspace button, but have not seen it anywhere, any chance you could post the code for it please?
I checked your website as you said in a comment that the code is on there, but I can't seem to find it lol
@CptChaos783 This code is different than on the project file. If (Len(Trim(TextBox1.Text)) > 0) Then TextBox1.Text = Mid(TextBox1.Text, 1, Len(Trim(TextBox1.Text)) - 1) End If
@Primus2X ' General Declaration Imports System.Math ' Define Variable Dim Num As Double ' Use the Functions Num = Math.Sin() Num = Math.Cos() Num = Math.Tan() Num = Math.Log() You can make a scientific calculator . Call the val(Textbox1.Text) in each of the functions.
• Code for M, M+, M-, +/-, C,CE which I missed in the video • Declare variable M • dim M = 0 • for M+ • M = M+ val(TextBox1.text) • for MR • TextBox1.text = M • for M+ • M = M+ val(TextBox1.Text) • for M- • M = M- val(TextBox1.Text) • for +/- • TextBox1.Text = val(Text.Box1.Text) * -1 • for CE • TextBox1.Text = "" • for C • TextBox1.Text = "" • Value1 = 0
ummmm soooooo weak you end the vid so early you fucking trolll!!!!!!!!!!!!!!!!!
666coen 1 week ago
You calculator is nice I was wondering if you could e-mail me the codes for it. My e-mail address is facelv@yahoo.com. I would greatly appreciate it.
facelvmo10 1 week ago
This has been flagged as spam show
Yes! Value2 is not a member of 'Calculator.Form1'. and how about these following functions:
MC, MR, MS, M+, M-, CE, C, BACKSPACE?
whatasuperbday 2 weeks ago
when i put "Value2" in the code of the equals sign, it can't be. a blue line goes after typing! what should i do?
whatasuperbday 2 weeks ago
WHATS THE CODE FOR MEM???
bero231 1 month ago
thank you a lot a lot and a lot...
ajanyahya 1 month ago
This has been flagged as spam show
Hello, thank you for the info, could you please show me how to, load numerical data from a database, and convert the selected data to variables, so that these variables could be used in calculation. Thank you.
jackdp666 2 months ago
Your source is not good :(
i hef a error..
cody04081996 2 months ago
Value2 is = ______
Plc Help me
dekisan2010 3 months ago
i don;t get it how you do the memory function can you please explain that?
mrmrdylantje 4 months ago
11:55 What is that?? saci.spvoice??
WMVideos20 4 months ago
sorry but what about the other buttons like MR etc
meneshv 5 months ago
I FUCKING LOVE U
Karistr0m 5 months ago
Value2 Error?
tiao101207 6 months ago
hi all
neweltradom 7 months ago
does this work with order of precedence? if not could you please write a code to add to it for that to work
MrSquidgyBeats 8 months ago
What is the modual for Value2?
12345ISIS12345 8 months ago
code for mem anyone?
isuperwinner 9 months ago
also with along what i said i dont beleive u showed the mr and ms buttons either...
isuperwinner 9 months ago
9:59 <-- where im at and btw i dont beleive u showed what the code for value2 is...
isuperwinner 9 months ago
Pretty funny how in the description it says "Adding advanced options such history, speak result, Memory, backspace" but when it actually comes to adding memory, backspace, square root etc. Your guide ends. You just quit after making that speaking thing, saying now just add background and you are done. How can you be done when you haven't even added half the functions of a calculator?...
Very Weak.
Thasduck 10 months ago
@Thasduck : Codes that you are looking for:
pastebin[DOT]com/NY5FHmcm
[DOT] is .
Onlykl1 10 months ago
Codes that you are looking for:
pastebin[DOT]com/NY5FHmcm
If you need any help with code or something type me on channel and i will help you.
Thumbs UP!! ;) See ya around
Onlykl1 10 months ago 5
@Onlykl1 i get some errors ("Mem" is not declared ) how do i fix that
TeChNoxFAILureZ 10 months ago
Comment removed
Onlykl1 10 months ago
Comment removed
Onlykl1 10 months ago
Comment removed
Onlykl1 10 months ago
Where is the code for √? Plz tell us!
SuperNewestmusic 11 months ago
hey i was wondering if u could help me out i dunno what you coded for the MC,MR,C,CE,M+,M- <-, √,±, and 1/x Buttons if you could please post them or make another vid that would be such a big help to me
thanks,
-madman11919a
madman11919a 11 months ago
what is the codes for backspace?
richardwang1007 1 year ago 6
Comment removed
neweltradom 7 months ago
Comment removed
neweltradom 7 months ago
@richardwang1007
Here: pastebin[DOT]com/5amkSFcf
Add this in your backspace code section after the
private sub...
then at the top after
Public Class Form1 Public Value1, Value2, Mem As Double Public Oper As Char
Add
Private hasDecimal As Boolean
neweltradom 7 months ago
@neweltradom thx!
richardwang1007 7 months ago
Hi itAji
This tutorial is 1a , but how can i make Textbox2 uneditable???
Thankx 1000times for this vid
MrBejta 1 year ago 2
@MrBejta
First way is to disable it in the form load event (but it will be grayed out)
TextBox1.Enabled = False
Second method is to use a Label control instead of Text box and set the background & foreground color
itsaji 1 year ago
@itsaji
THANK YOU sooo Much
You're just GREAT
MrBejta 1 year ago
@itsaji, what code did you use for the M- button?
itcrowdfan91 11 months ago
@itsaji or just Read Only = True
no grey
bero231 1 month ago
@MrBejta You can have in properities option called "ReadOnly" and you just select False. It's good because user can copy the number in the TextBox but not edit it! If you have some questions send me a message!
96Kava96 11 months ago
This has been flagged as spam show
MrBejta 11 months ago
@MrBejta could make it read only
isuperwinner 9 months ago
@MrBejta
goto to textbox2 property --> ReadOnly = True
waluhkuning 8 months ago
@MrBejta textbox2.readonly = true
IxMeTutorials 4 months ago
Hey I've got a problem:
When I work with numbers like 0.5;0.7 etc. The get rounded to 0 or for example:
0.7+1.6=1
and the history says:0+1=1
How can I fix this i think I must change the text box to Single or something but how
can you help me? I can give you the Whole Form and The Module1 if you need.
Can you Help me?
berkonvo 1 year ago
@berkonvo
Declare the variables as double data type. because the value of text box is stored into these variables
eg:
Public Class Form1 Public Value1, Value2 As Double
and in the module use this statement
Form1.Value1 = Val(Form1.TextBox1.Text)
itsaji 1 year ago
Please tell me where you defined Value2, i'm about ready to give up on this thing
Kittycatnya12367 1 year ago
@Kittycatnya12367 : Both value1 and value 2 are defined at the same place (Public Class Form1)
eg:
Public Class Form1
Public Value1, Value2 As Double
itsaji 1 year ago
where are the codes for the <-, MC, MR, M-, M+,C,CE,1/x
please post the codes
TheHaja65 1 year ago
This has been flagged as spam show
Please give me all codes in this tutorial
to rikhopratama@gmail.com
Thanks...
rikhopratama 1 year ago
This has been flagged as spam show
Please give me all codes in this tutorial
to rikhopratama@gmail.com
Thanks...
rikhopratama 1 year ago
±, √, MC, MR, M+, M- where codes
MrMrAmwamw 1 year ago
±, √, MC, MR, M+, M- Where codes
MrMrAmwamw 1 year ago
I have watched your video trying to find the code for the backspace button, but have not seen it anywhere, any chance you could post the code for it please?
I checked your website as you said in a comment that the code is on there, but I can't seem to find it lol
CptChaos783 1 year ago
@CptChaos783 This code is different than on the project file. If (Len(Trim(TextBox1.Text)) > 0) Then TextBox1.Text = Mid(TextBox1.Text, 1, Len(Trim(TextBox1.Text)) - 1) End If
itsaji 1 year ago
ѵ - is it that one?
FireViper13 1 year ago
Comment removed
TheChildMaulester 1 year ago
need all the missed code
QQ20034 1 year ago
Alt+241 didn't work for me heres the symbol ±
darysmer 1 year ago
@darysmer
Try Alt + 177 , If it does not work Try Copy & Paste
itsaji 1 year ago
@itsaji i didn't finish it it gave me 20 errors ;D i was useing 2008 ver Professional
darysmer 1 year ago
@darysmer I had , no I have the same problem 20 ERRORS
FireViper13 1 year ago
What about Squareroot, Sin Cos and Tan?
Primus2X 1 year ago
itsaji 1 year ago
@itsaji I'm confused, do you put it in module1 or form1?
Primus2X 1 year ago
@Primus2X
In Form1
itsaji 1 year ago
@itsaji It doesn't work
Primus2X 1 year ago
itsaji 1 year ago 3
@itsaji heyy mate i'm am new to this stuff could you plz tell me where the code goes and what is the value2
rakinrabbi 1 year ago
@itsaji what is the DOT? M+ • M = M+ val(TextBox1.Text)
richardwang1007 1 year ago
@richardwang1007
The dots are bullets for new line, when I paste the code here the formatting got messed up.
itsaji 1 year ago
Where did you explain about the "M" Family and the +/- sign And CE + C?
ShayAxelod22 1 year ago
Thanks for pointing out that .. I think, I missed that part when I edited it. I know you can figure that out .I will add that part to comments.
itsaji 1 year ago
Where did u add value2????????????????????????
ActionReplayCoDS 1 year ago
Value2 is not a member of 'Calculator.Form1'
ActionReplayCoDS 1 year ago
@ActionReplayCoDS
It is defined in Class Form1 .. where Value1 is defined.
itsaji 1 year ago
@itsaji defined as what exaclty as char or as double?
Primus2X 1 year ago
@Primus2X
Define it as Double
itsaji 1 year ago