Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27382

Copy All Labels To Clipboard?

$
0
0
I am very new to VB and I was attempting to design a simple application to use at work.

It consists of two forms, the first with text boxes to enter the values
Attachment 95713

In the second form I replaced the text boxes with labels that are assigned to change given the input of the text box that corresponds on Form1.
IE
Code:

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        Form2.Label13.Text = Me.TextBox1.Text
    End Sub

I've been searching for a way to copy the contents of Form2 as an entirety and I've come up with nothing. I've found ways to add selections to the clipboard and read from the clipboard, but nothing that would be useful in this situation.

I only want to copy the contents to the clipboard so I can paste the data into an email. Am I making this more difficult for myself than I need to?

Thanks in advance,
Erik
Attached Images
 

Viewing all articles
Browse latest Browse all 27382

Trending Articles