| | |
how do i telnet to an ip address from vb.net code
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2007
Posts: 10
Reputation:
Solved Threads: 0
Hi guys im trying to telnet to an IP address that is entered into a textbox from the click of a button but im having problems as it just gives me errors when i run it. Here is my code:
without the "telnet.StartInfo.Arguments = "o" + txthostname.text" command it just opens telnet but with the code it says "unexpected error continue or quit".
Any help would be great
Cheers
VB.NET Syntax (Toggle Plain Text)
Private Sub btnTelnet_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTelnet.Click Dim telnet As Process = New Process telnet.StartInfo.FileName = "telnet.exe" telnet.StartInfo.Arguments = "o" + txthostname.text telnet.StartInfo.WindowStyle = ProcessWindowStyle.Normal telnet.StartInfo.CreateNoWindow = True telnet.Start() End Sub
without the "telnet.StartInfo.Arguments = "o" + txthostname.text" command it just opens telnet but with the code it says "unexpected error continue or quit".
Any help would be great
Cheers
![]() |
Similar Threads
- SpeedUp Your Window XP Never Than Before (Windows tips 'n' tweaks)
- DNS error (Viruses, Spyware and other Nasties)
- RedHat Network Server (*nix Hardware Configuration)
Other Threads in the VB.NET Forum
- Previous Thread: GDI+ trouble (VB 2005)
- Next Thread: From InputBox to ListBox??
Views: 2642 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2005 30minutes 2005 2008 access account application arithmetic array arrays basic binary bing button buttons c# center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dll dropdownlist excel file-dialog folder ftp google hardcopy highlighting image images inline insert listview login mobile ms net networking output passingparameters peertopeervideostreaming picturebox picturebox1 plugin port print printing problem problemwithinstallation project reports" save savedialog searchbox serial server soap sorting sql string syntax table tcp text textbox timer toolbox trim update updown usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web wpf





