Adblock breaks this site

Quick Question

Discussion in 'Programming General' started by 5cript, Mar 28, 2007.

  1. 5cript

    5cript Active Member

    Joined:
    Jan 22, 2007
    Posts:
    138
    Referrals:
    1
    Sythe Gold:
    0
    Quick Question

    Im working on a project that i soon hope to release to all of you at Sythe :D I just need one question to be answered :p
    Code:
     Dim a As Double = TextBox1.Text
            Dim b As Integer = 4
            If TextBox2.Text = "2" Then Dim d As Integer = 213
    
    I need to know if i can Dim d as more than one thing ive done this already but it says name "d" is not declared even though i declared SO MANY times before.
    Help would be appreciated!
    P.S. As soon as im done i will gladly give a tut on one of the things in the project for everybody :)
     
  2. speljohan

    speljohan Guru
    Visual Basic Programmers

    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0
    Quick Question

    second one is correct.
     
  3. 5cript

    5cript Active Member

    Joined:
    Jan 22, 2007
    Posts:
    138
    Referrals:
    1
    Sythe Gold:
    0
    Quick Question

    Ok thanks alot :)
     
< C# Library (For People From VB.net) | askin for advice >


 
 
Adblock breaks this site