Click here to Skip to main content
15,914,162 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Get Drive Pin
Socheat.Net17-May-07 15:48
Socheat.Net17-May-07 15:48 
GeneralRe: Get Drive Pin
Dave Kreskowiak17-May-07 17:01
mveDave Kreskowiak17-May-07 17:01 
GeneralRe: Get Drive Pin
Socheat.Net17-May-07 17:06
Socheat.Net17-May-07 17:06 
AnswerRe: Get Drive Pin
Christian Graus17-May-07 16:02
protectorChristian Graus17-May-07 16:02 
GeneralRe: Get Drive Pin
Socheat.Net17-May-07 16:06
Socheat.Net17-May-07 16:06 
GeneralRe: Get Drive Pin
Christian Graus17-May-07 16:24
protectorChristian Graus17-May-07 16:24 
GeneralRe: Get Drive Pin
Socheat.Net17-May-07 16:44
Socheat.Net17-May-07 16:44 
GeneralRe: Get Drive Pin
Christian Graus17-May-07 18:12
protectorChristian Graus17-May-07 18:12 
QuestionVB.NET Connect to Server Pin
Socheat.Net17-May-07 15:30
Socheat.Net17-May-07 15:30 
AnswerRe: VB.NET Connect to Server Pin
Dave Kreskowiak17-May-07 15:39
mveDave Kreskowiak17-May-07 15:39 
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 

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.