Click here to Skip to main content
16,005,467 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
japel wrote:
Any thoughts?

First, if you get an error, tell us what it is.

japel wrote:
Textbox1.Text = ("IP Address {0}: {1} ", i, IpA(i).ToString)& VbCrlf


That's never going to work.  Console.Write obviously has an overload to take a formatted string.

Textbox1.Text = string.Format(
"IP Address {0}: {1} ", i, IpA(i).ToString)<br />
<br />
Will put one IP address in there.  Use a string builder to build a string of multiple addresses and set that to the textbox text, using string.Format as I have done.<br />
<br />
Overall, I suggest instead of looking for code on the web, you work through a book and learn some basic programming.  A basic understannding of VB.NET would have made clear to you what was happening here, that you can't format a string that way, without calling a format method ( as Console.WriteLine is doing ).<br />
<br />


Christian Graus - C++ MVP

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 
GeneralRe: Download Files Pin
softwarejaeger20-Nov-06 1:58
softwarejaeger20-Nov-06 1:58 
AnswerRe: update problem in datagrid when using SQL Server 2000 as Database Pin
Dave Kreskowiak18-Nov-06 5:24
mveDave Kreskowiak18-Nov-06 5:24 

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.