Public Function GetIPAddress() As String Dim h As System.Net.IPHostEntry = _System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName) Return h.AddressList.GetValue(0).ToString End FunctionPublic Function GetIPAddress() As String Dim h As System.Net.IPHostEntry = _System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName) Return h.AddressList.GetValue(0).ToString End FunctionPrivate Sub btnFilePathBrowse_Click_(ByVal sender As System.Object, ByVal e As System.EventArgs)_ Handles btnFilePathBrowse.Click ofdFilePath.Title = "Please Select a File" ofdFilePath.FileName = "" ofdFilePath.InitialDirectory = "C:" ofdFilePath.ShowDialog()End SubPrivate Sub ofdFilePath_FileOk_(ByVal sender As System.Object, ByVal e As _System.ComponentModel.CancelEventArgs) Handles ofdFilePath.FileOk Dim sioStream As System.IO.Stream sioStream = ofdFilePath.OpenFile() txtFilePath.Text = ofdFilePath.FileName.ToString()End Sub