I wrote the Boolean button like this: Dim rawVariable As String = txtRawVariable.Text rawVariable = CBool(rawVariable) MessageBox.Show(rawVariable) It seems to work fine ... I couldn't figure out why you declared a new variable (finalBool) since you are converting rawVariable into a bool in the CType phrase. It just seemed like an unnecessary step? Unsure though, as I am learning ... anyone?
I don't see the point to be honest converting double - double, integer to integer and string to string. You should make a program that can convert a variable into another variable for instance double to string.
Dude you're awesome, after VB i will move on to PHP, and I'm sure that I will learn from your videos. keep up the awesome work.
Thanks a lot to share your knowledge
Instead of CType(rawvariable, integer)
use CInt(rawvariable)
similarly use CDouble, CStr, etc.
thanks For All tuts
Thanks for the tuts
because of you, yes...
What is the difference between
finalInt = CType(rawVariable, integer) and
integer.TryParse(rawVariable.text, finalInt) ?
Thanks onlivegamer
I wrote the Boolean button like this:
Dim rawVariable As String = txtRawVariable.Text
rawVariable = CBool(rawVariable)
MessageBox.Show(rawVariable)
It seems to work fine ... I couldn't figure out why you declared a new variable (finalBool) since you are converting rawVariable into a bool in the CType phrase. It just seemed like an unnecessary step? Unsure though, as I am learning ... anyone?
Actually you don't have to either type True or False, because 0 = false, any other number = true.
can you convert string to integer? like their ASCII value?
@Tapedoniphone are you proud ?
Plus these tutroials don't work for some reason in terms of the code.
Lol, that's what he's doing in this video -_- He takes the string value from the text box and converts it to an integer, double or boolean.
I don't see the point to be honest converting double - double, integer to integer and string to string. You should make a program that can convert a variable into another variable for instance double to string.
@Jozekban well i though this would have more comments haha
"boolean" is pronounced... bool·e·an (Checked using Google.."Define Boolean")
Thanks for the videos
1st
The videos are getting poor