Hi There,
I would like for someone to be able to type an IP address on one form in Visual Basic Express 2008, and when a button pressed open another form and print the value of the text box on this form.
First form:
The second form where i want it to echo:Code:Public LDServerIP As String Private Sub ButtonConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonConnect.Click ServerIP = TextBox.IpAddress End Sub
I am probably way off, but if anyone could help me, that would be greatly appreciated.Code:Private Sub ServerIPLabelSet() Label.ServerIPLabel.Caption = CStr(FirstForm.ServerIP) End Sub
Thank you,
Jordan (Nzol)




Reply With Quote
