Click here to Skip to main content
15,891,033 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to make... Pin
MikeMarq20-Nov-06 7:31
MikeMarq20-Nov-06 7:31 
Questionscan a hardware in serial port Pin
jamesrajesh18-Nov-06 22:53
jamesrajesh18-Nov-06 22:53 
AnswerRe: scan a hardware in serial port Pin
Guffa19-Nov-06 2:47
Guffa19-Nov-06 2:47 
Questionfunction does not return a value on all code path Pin
vincydso18-Nov-06 22:49
vincydso18-Nov-06 22:49 
AnswerRe: function does not return a value on all code path Pin
coolestCoder19-Nov-06 2:26
coolestCoder19-Nov-06 2:26 
QuestionLinkedLists Pin
moize1218-Nov-06 15:39
moize1218-Nov-06 15:39 
AnswerRe: LinkedLists Pin
Kevin McFarlane19-Nov-06 7:25
Kevin McFarlane19-Nov-06 7:25 
QuestionConsole.Write to TextBox Pin
japel18-Nov-06 10:38
japel18-Nov-06 10:38 
Hello

In the below code I found on the internet I would like to use in a vb app and have the result in a multi line text box but I Console.Write line gives me an error.

I Tryed

<br />
Textbox1.Text = ("IP Address {0}: {1} ", i, IpA(i).ToString)& VbCrlf<br />


Any thoughts?

If there is better code out there that might also get subnet and gateway that would be great.

Thanks Heaps

<br />
        'To get local address <br />
        Dim sHostName As String<br />
        Dim i As Integer<br />
        sHostName = Dns.GetHostName()<br />
        Dim ipE As IPHostEntry = Dns.GetHostByName(sHostName)<br />
        Dim IpA() As IPAddress = ipE.AddressList<br />
        For i = 0 To IpA.GetUpperBound(0)<br />
            Console.Write("IP Address {0}: {1} ", i, IpA(i).ToString)<br />
        Next<br />


When people make you see red, be thankful your not colour blind.

AnswerRe: Console.Write to TextBox Pin
Guffa18-Nov-06 13:43
Guffa18-Nov-06 13:43 
AnswerRe: Console.Write to TextBox Pin
Christian Graus18-Nov-06 13:43
protectorChristian Graus18-Nov-06 13:43 
QuestionProblem in migration from vs.net 2003 to vs.net 2005 Pin
Thampi18-Nov-06 6:07
Thampi18-Nov-06 6:07 
AnswerRe: Problem in migration from vs.net 2003 to vs.net 2005 Pin
Christian Graus18-Nov-06 8:36
protectorChristian Graus18-Nov-06 8:36 
GeneralRe: Problem in migration from vs.net 2003 to vs.net 2005 Pin
Thampi18-Nov-06 12:20
Thampi18-Nov-06 12:20 
GeneralRe: Problem in migration from vs.net 2003 to vs.net 2005 Pin
Christian Graus18-Nov-06 12:55
protectorChristian Graus18-Nov-06 12:55 
QuestionBuild Error Pin
culbysl18-Nov-06 4:27
culbysl18-Nov-06 4:27 
AnswerRe: Build Error Pin
Colin Angus Mackay19-Nov-06 2:41
Colin Angus Mackay19-Nov-06 2:41 
GeneralRe: Build Error Pin
culbysl19-Nov-06 4:19
culbysl19-Nov-06 4:19 
AnswerRe: Build Error Pin
Colin Angus Mackay19-Nov-06 2:46
Colin Angus Mackay19-Nov-06 2:46 
QuestionCreate new control on main form from plugin Pin
cstrader23218-Nov-06 2:44
cstrader23218-Nov-06 2:44 
AnswerRe: Create new control on main form from plugin Pin
Christian Graus18-Nov-06 8:37
protectorChristian Graus18-Nov-06 8:37 
GeneralRe: Create new control on main form from plugin Pin
cstrader23218-Nov-06 8:43
cstrader23218-Nov-06 8:43 
QuestionDownload Files Pin
softwarejaeger18-Nov-06 2:39
softwarejaeger18-Nov-06 2:39 
AnswerRe: Download Files Pin
Guffa18-Nov-06 17:38
Guffa18-Nov-06 17:38 
GeneralRe: Download Files Pin
softwarejaeger18-Nov-06 23:56
softwarejaeger18-Nov-06 23:56 
GeneralRe: Download Files Pin
Guffa19-Nov-06 23:58
Guffa19-Nov-06 23:58 

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.