I have a lot of experience with VBScript but am new to VB.NET. I am using VB Express Edition 2008.
I've created a form that has a number of text boxes, one of which is a multi line text box. I've added a button which should trigger concatenating all the text together.
In my form I have the following code:
I want to set a variable called "report" to be equal to the string concatonation of Author & Title & Description & CodeBlock but I am having problems. I've tried using & and + to concatenate but am getting errors that the operator is not defined for tyes 'String' and 1-dimension array of String.
Can anyone assist me with this?
Best regards,
Mark
I've created a form that has a number of text boxes, one of which is a multi line text box. I've added a button which should trigger concatenating all the text together.
In my form I have the following code:
Code:
Dim Author, Title, Description As String
Author = txtAuthor.Text
Title = txtTitle.Text
Description = txtDescription.Text
Dim CodeBlock() As String = Me.txtCodeBlock.Lines
Can anyone assist me with this?
Best regards,
Mark