Click here to Skip to main content
15,885,906 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: VB.NET Connect to Server Pin
Socheat.Net17-May-07 15:52
Socheat.Net17-May-07 15:52 
AnswerRe: VB.NET Connect to Server Pin
Christian Graus17-May-07 16:29
protectorChristian Graus17-May-07 16:29 
QuestionRe: VB.NET Connect to Server [modified] Pin
Socheat.Net17-May-07 16:51
Socheat.Net17-May-07 16:51 
GeneralRe: VB.NET Connect to Server Pin
Dave Kreskowiak17-May-07 16:55
mveDave Kreskowiak17-May-07 16:55 
GeneralRe: VB.NET Connect to Server Pin
Christian Graus17-May-07 18:13
protectorChristian Graus17-May-07 18:13 
GeneralRe: VB.NET Connect to Server Pin
Dave Kreskowiak17-May-07 18:57
mveDave Kreskowiak17-May-07 18:57 
QuestionRead from text file Pin
mr jets17-May-07 12:26
mr jets17-May-07 12:26 
AnswerRe: Read from text file Pin
Christian Graus17-May-07 13:29
protectorChristian Graus17-May-07 13:29 
you need to read the string, then you need to parse it. It would make more sense to put commas between data items, so each shape is a line of text. They read the file as a string[] and call string.Split on each line to turn 1,2,34,5, into an array of strings, which you can then turn into numbers with int.TryParse. You can read the first number and use it to decide which function to send the array to, so that it can be parsed and objects added back to your array.

It would make more sense for the Line,Square,Triangle,Circle,whatever classes to offer a method that returns the string, so you can just iterate over your collection of base objects and call it.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Read from text file Pin
Dave Kreskowiak17-May-07 15:28
mveDave Kreskowiak17-May-07 15:28 
GeneralRe: Read from text file Pin
mr jets17-May-07 15:43
mr jets17-May-07 15:43 
GeneralRe: Read from text file Pin
Christian Graus17-May-07 15:57
protectorChristian Graus17-May-07 15:57 
GeneralRe: Read from text file Pin
mr jets17-May-07 16:18
mr jets17-May-07 16:18 
GeneralRe: Read from text file Pin
Christian Graus17-May-07 16:32
protectorChristian Graus17-May-07 16:32 
QuestionCrystal reports XI r.2 and Vb.net (subreports) Pin
VbdevMartin17-May-07 10:52
VbdevMartin17-May-07 10:52 
QuestionOpen .txt file for exclusive use Pin
dBrong17-May-07 10:36
dBrong17-May-07 10:36 
AnswerRe: Open .txt file for exclusive use Pin
Dave Kreskowiak17-May-07 10:58
mveDave Kreskowiak17-May-07 10:58 
QuestionSending a filename to a Fortran app Pin
matt_hirst17-May-07 9:25
matt_hirst17-May-07 9:25 
AnswerRe: Sending a filename to a Fortran app Pin
Dave Kreskowiak17-May-07 11:09
mveDave Kreskowiak17-May-07 11:09 
GeneralRe: Sending a filename to a Fortran app Pin
matt_hirst20-May-07 2:32
matt_hirst20-May-07 2:32 
GeneralRe: Sending a filename to a Fortran app Pin
Dave Kreskowiak20-May-07 4:42
mveDave Kreskowiak20-May-07 4:42 
QuestionCondition Property Syntax Pin
Karma3125117-May-07 9:25
Karma3125117-May-07 9:25 
QuestionService deployment question? Pin
tcombs0717-May-07 8:53
tcombs0717-May-07 8:53 
AnswerRe: Service deployment question? Pin
Joseph Guadagno17-May-07 10:15
Joseph Guadagno17-May-07 10:15 
QuestionLooking for existing data... Pin
CCG317-May-07 7:35
CCG317-May-07 7:35 
AnswerRe: Looking for existing data... Pin
Dave Kreskowiak17-May-07 7:55
mveDave Kreskowiak17-May-07 7:55 

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.