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

Visual Basic

 
AnswerRe: Sort column 1 and after column 2 Pin
Guffa6-Jan-08 5:12
Guffa6-Jan-08 5:12 
GeneralRe: Sort column 1 and after column 2 Pin
helelark1238-Jan-08 20:53
helelark1238-Jan-08 20:53 
AnswerRe: Sort column 1 and after column 2 Pin
Guffa9-Jan-08 3:49
Guffa9-Jan-08 3:49 
GeneralRe: Sort column 1 and after column 2 Pin
helelark1239-Jan-08 4:04
helelark1239-Jan-08 4:04 
GeneralRe: Sort column 1 and after column 2 Pin
Guffa9-Jan-08 16:04
Guffa9-Jan-08 16:04 
AnswerRe: Sort column 1 and after column 2 Pin
helelark12312-Jan-08 2:57
helelark12312-Jan-08 2:57 
GeneralReading text file Pin
Ahamed Azeem5-Jan-08 21:54
Ahamed Azeem5-Jan-08 21:54 
GeneralRe: Reading text file Pin
Christian Graus5-Jan-08 22:53
protectorChristian Graus5-Jan-08 22:53 
Ahamed Azeem wrote:
"C:\Inv\Imp.txt"


Hard coding paths is a bad idea

I didn't know there was a textfieldparser class.

Ahamed Azeem wrote:
While Not parser.EndOfData
For i = 0 To parser.EndOfData


Isn't this redundant ?

It seems to me that if your code works at all, it reads all three lines, and so ends up setting the fields three times before you'd even notice, leaving you with the last fields. Get rid of the while and the loop, and just read the fields once, and you'll get the first line, I reckon.

Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRetrieve Parts from Item in Arraylist Pin
Dayekh5-Jan-08 19:34
Dayekh5-Jan-08 19:34 
AnswerRe: Retrieve Parts from Item in Arraylist Pin
Reza Raad5-Jan-08 19:56
Reza Raad5-Jan-08 19:56 
GeneralRe: Retrieve Parts from Item in Arraylist Pin
Dayekh6-Jan-08 12:05
Dayekh6-Jan-08 12:05 
GeneralProgram Files Nightmare Pin
Dreamer20075-Jan-08 1:43
Dreamer20075-Jan-08 1:43 
GeneralRe: Program Files Nightmare Pin
nlarson115-Jan-08 3:45
nlarson115-Jan-08 3:45 
GeneralRe: Program Files Nightmare Pin
Dave Kreskowiak5-Jan-08 15:14
mveDave Kreskowiak5-Jan-08 15:14 
GeneralRe: Program Files Nightmare Pin
Dreamer20076-Jan-08 19:32
Dreamer20076-Jan-08 19:32 
GeneralRe: Program Files Nightmare Pin
Dave Kreskowiak7-Jan-08 3:01
mveDave Kreskowiak7-Jan-08 3:01 
QuestionWhen do and where do i decide i need to adopt threading if at all ??? Pin
vbbeg4-Jan-08 20:37
vbbeg4-Jan-08 20:37 
AnswerRe: When do and where do i decide i need to adopt threading if at all ??? Pin
Guffa5-Jan-08 7:32
Guffa5-Jan-08 7:32 
AnswerRe: When do and where do i decide i need to adopt threading if at all ??? Pin
Luc Pattyn5-Jan-08 11:08
sitebuilderLuc Pattyn5-Jan-08 11:08 
GeneralRe: When do and where do i decide i need to adopt threading if at all ??? Pin
vbbeg5-Jan-08 22:47
vbbeg5-Jan-08 22:47 
GeneralRe: When do and where do i decide i need to adopt threading if at all ??? Pin
Luc Pattyn6-Jan-08 2:59
sitebuilderLuc Pattyn6-Jan-08 2:59 
QuestionHow to suppress a column in datagrid? (vb.net 1.1) Pin
infotools4-Jan-08 20:23
infotools4-Jan-08 20:23 
GeneralRe: How to suppress a column in datagrid? (vb.net 1.1) Pin
ejaz_pk4-Jan-08 21:48
ejaz_pk4-Jan-08 21:48 
GeneralRe: How to suppress a column in datagrid? (vb.net 1.1) Pin
infotools6-Jan-08 3:00
infotools6-Jan-08 3:00 
GeneralRe: How to suppress a column in datagrid? (vb.net 1.1) Pin
DigiOz Multimedia5-Jan-08 8:43
DigiOz Multimedia5-Jan-08 8:43 

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.