Click here to Skip to main content
15,893,190 members
Home / Discussions / C#
   

C#

 
GeneralRe: ISO file.... help needed immediately! Pin
Steve_25-Apr-09 0:32
Steve_25-Apr-09 0:32 
GeneralRe: ISO file.... help needed immediately! Pin
OriginalGriff25-Apr-09 0:39
mveOriginalGriff25-Apr-09 0:39 
QuestionHow to retrieve combobox values from datagridview in .net3.5 [modified] Pin
NarVish24-Apr-09 21:41
NarVish24-Apr-09 21:41 
Questionteking binary files as a input for client windowes application from a website Pin
umr124-Apr-09 20:35
umr124-Apr-09 20:35 
AnswerRe: teking binary files as a input for client windowes application from a website Pin
Bharat Jain24-Apr-09 22:46
Bharat Jain24-Apr-09 22:46 
AnswerRe: teking binary files as a input for client windowes application from a website Pin
Giorgi Dalakishvili24-Apr-09 23:00
mentorGiorgi Dalakishvili24-Apr-09 23:00 
Questionhow to get a list of computer names in LAN Pin
Vinziee24-Apr-09 19:04
Vinziee24-Apr-09 19:04 
AnswerRe: how to get a list of computer names in LAN Pin
Bharat Jain24-Apr-09 22:37
Bharat Jain24-Apr-09 22:37 
Hi Vinziee ,
You can try the following code , also do not forget to Import System.Net
In the following example we use the service of DNS , first we find the host of current computer
then try to get list of computer from this DNS. I hope this works .


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        GetAllIP()
    End Sub
    Public Function GetAllIP() As Integer

        Dim strHostName As New String("")
        strHostName = Dns.GetHostName()
        Console.WriteLine("Local Machine's Host Name: " + strHostName)
        Dim ipEntry As IPHostEntry = Dns.GetHostEntry(strHostName)
        Dim addr As IPAddress() = ipEntry.AddressList

        Dim i As Integer = 0
        While i < addr.Length
            TextBox1.Text = TextBox1.Text & vbCrLf & String.Format("IP Address {0}: {1} ", i, addr(i).ToString())
            System.Math.Max(System.Threading.Interlocked.Increment(i), i - 1)
            Application.DoEvents()
        End While
        Return 0
    End Function


-Regards
Bharat Jain
bharat.jain.nagpur@gmail.com

GeneralRe: how to get a list of computer names in LAN Pin
Bharat Jain24-Apr-09 22:38
Bharat Jain24-Apr-09 22:38 
QuestionInvoking "click" event on buttons using webBrowser Pin
labdakos24-Apr-09 19:04
labdakos24-Apr-09 19:04 
Questionreddit.com bot Pin
yogesh_softworld12324-Apr-09 13:46
yogesh_softworld12324-Apr-09 13:46 
Question[Message Deleted] Pin
mdunderwood24-Apr-09 13:02
mdunderwood24-Apr-09 13:02 
GeneralRe: Need assistance with a Producer/Consumer Queue logic where the Consumer can create a limited number of worker threads Pin
harold aptroot24-Apr-09 13:38
harold aptroot24-Apr-09 13:38 
AnswerRe: Need assistance with a Producer/Consumer Queue logic where the Consumer can create a limited number of worker threads Pin
Giorgi Dalakishvili24-Apr-09 22:59
mentorGiorgi Dalakishvili24-Apr-09 22:59 
Questionbluetooth stacks Pin
akinwaadeolu24-Apr-09 12:06
akinwaadeolu24-Apr-09 12:06 
QuestionWCF Question Pin
NETLearning24-Apr-09 11:58
NETLearning24-Apr-09 11:58 
AnswerRe: WCF Question Pin
Hesham Amin24-Apr-09 12:33
Hesham Amin24-Apr-09 12:33 
GeneralWCF Question Pin
NETLearning25-Apr-09 6:13
NETLearning25-Apr-09 6:13 
GeneralRe: WCF Question Pin
Hesham Amin25-Apr-09 23:04
Hesham Amin25-Apr-09 23:04 
QuestionFormatting data in a datagridview Pin
bwood202024-Apr-09 9:23
bwood202024-Apr-09 9:23 
QuestionMulti Column display ina listbox Pin
edlanka24-Apr-09 9:07
edlanka24-Apr-09 9:07 
AnswerRe: Multi Column display ina listbox Pin
DaveyM6924-Apr-09 9:09
professionalDaveyM6924-Apr-09 9:09 
GeneralRe: Multi Column display ina listbox Pin
edlanka24-Apr-09 9:39
edlanka24-Apr-09 9:39 
GeneralRe: Multi Column display ina listbox Pin
Dan Neely24-Apr-09 9:49
Dan Neely24-Apr-09 9:49 
QuestionClosing DialogBox from other application Pin
Papi83dm24-Apr-09 7:47
Papi83dm24-Apr-09 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.