Visual Basic 2008 here is a code that will show you your smtp server but how do i....

JD2369

Member
Joined
Jan 12, 2011
Messages
19
Programming Experience
Beginner
Visual Basic 2008 here is a code that will show you your smtp server

Dim info As New ProcessStartInfo("nslookup", "-type=mx -timeout=30 sendmail.org")
With info
.RedirectStandardOutput = True
.UseShellExecute = False
.CreateNoWindow = True
End With
Dim proc As Process = Process.Start(info)
Me.ResultTextBox.Text = proc.StandardOutput.ReadToEnd
proc.Dispose()



but how do i link it to a textbox or dialog box?

I want it where you enter the domain name in a textbox and you click the button it it shows the results in another textbox


or if you click the button it pops up dialog box and ask for the domain name and then shows the results in a textbox



thanks for your help
 
Back
Top