Visual Basic Help Pwease

Discussion in 'Archives' started by Danai, Mar 25, 2012.

Thread Status:
Not open for further replies.
Visual Basic Help Pwease
  1. Unread #1 - Mar 25, 2012 at 6:49 AM
  2. Danai
    Joined:
    Mar 11, 2012
    Posts:
    697
    Referrals:
    0
    Sythe Gold:
    0
    Easter 2013 Two Factor Authentication User Tier 1 Prizebox

    Danai Apprentice
    $25 USD Donor New

    Visual Basic Help Pwease

    I'm trying to program a CSS output program in visual basic 2010 express edition. So far I have the following code:

    Code:
    Dim Variable1 As String
            If ComboBox1.Text = "Div ID" Then
                Variable1 = "#"
            Else
                Variable1 = "."
            End If
            TextBox1.Text = TextBox1.Text + Variable1 + TextBox2.Text
    I need to make the output textbox (textbox1) hit enter at the end of the last line of code.

    Code:
    TextBox1.Text = TextBox1.Text + Variable1 + TextBox2.Text
    How would I do this?

    Cheers in advance!
     
  3. Unread #2 - Mar 25, 2012 at 7:19 AM
  4. matt_sells
    Joined:
    Nov 28, 2011
    Posts:
    78
    Referrals:
    0
    Sythe Gold:
    0

    matt_sells Member

    Visual Basic Help Pwease

    are we talking about vbnewline? that would hit enter at the end of the last line textbox1.text = textbox1.text + variable1 + textbox2.text + vbnewline, however if your a perfectionist this would mean you always have an extra line at the end of your document^^
     
  5. Unread #3 - Mar 25, 2012 at 8:20 AM
  6. Danai
    Joined:
    Mar 11, 2012
    Posts:
    697
    Referrals:
    0
    Sythe Gold:
    0
    Easter 2013 Two Factor Authentication User Tier 1 Prizebox

    Danai Apprentice
    $25 USD Donor New

    Visual Basic Help Pwease

    That's perfect, thanks!
     
< Xxx Nudes Xxx | GamerTag Definitions and what OG really means - READ before selling GamerTags >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site