Visual Basic Tutorial - 53 - CType

Поделиться
HTML-код
  • Опубликовано: 31 окт 2024

Комментарии • 19

  • @ArbenBisha
    @ArbenBisha 12 лет назад

    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.

  • @zikermu
    @zikermu Год назад

    Thanks a lot to share your knowledge

  • @benzcheap
    @benzcheap 11 лет назад +2

    Instead of CType(rawvariable, integer)
    use CInt(rawvariable)
    similarly use CDouble, CStr, etc.

  • @abualwaled5712
    @abualwaled5712 11 лет назад

    thanks For All tuts

  • @21redallday12
    @21redallday12 11 лет назад

    Thanks for the tuts

  • @2ndLaryngeal
    @2ndLaryngeal 11 лет назад

    because of you, yes...

  • @AndrewK209
    @AndrewK209 10 лет назад +1

    What is the difference between
    finalInt = CType(rawVariable, integer) and
    integer.TryParse(rawVariable.text, finalInt) ?

  • @JohnzzzView
    @JohnzzzView 10 лет назад

    Thanks onlivegamer

  • @Unearthed13
    @Unearthed13 11 лет назад

    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?

  • @alphaahtube
    @alphaahtube 12 лет назад

    Actually you don't have to either type True or False, because 0 = false, any other number = true.

  • @eijikikumaru2593
    @eijikikumaru2593 12 лет назад

    can you convert string to integer? like their ASCII value?

  • @Jozekban
    @Jozekban 13 лет назад

    @Tapedoniphone are you proud ?

  • @idrishussain5744
    @idrishussain5744 10 лет назад

    Plus these tutroials don't work for some reason in terms of the code.

  • @Tulanir1
    @Tulanir1 11 лет назад

    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.

  • @idrishussain5744
    @idrishussain5744 10 лет назад

    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.

  • @Tapedoniphone
    @Tapedoniphone 13 лет назад

    @Jozekban well i though this would have more comments haha

  • @dave2346
    @dave2346 11 лет назад

    "boolean" is pronounced... bool·e·an (Checked using Google.."Define Boolean")
    Thanks for the videos

  • @Tapedoniphone
    @Tapedoniphone 13 лет назад

    1st

  • @azkymohamed123
    @azkymohamed123 8 лет назад +1

    The videos are getting poor