• Log in or sign up for an account here: https://www.sythe.org/login

Visual Basic Help Pwease

Status
Not open for further replies.

Danai

Apprentice

$25 USD Donor New
Joined
Mar 11, 2012
Sythe Gold
0
Messages
697
Location
Cheltenham, UK
Easter 2013
Two Factor Authentication User
Tier 1 Prizebox
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!
 
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^^
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top