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

Visual Basic

 
GeneralRe: make file excel(*.xls) from vb .NET 2003 Pin
Dave Kreskowiak28-Nov-06 4:29
mveDave Kreskowiak28-Nov-06 4:29 
AnswerRe: make file excel(*.xls) from vb .NET 2003 [modified] Pin
Kevin Nicol28-Nov-06 1:42
Kevin Nicol28-Nov-06 1:42 
Questionreading a block of data from a text file Pin
charchabil0327-Nov-06 22:49
charchabil0327-Nov-06 22:49 
AnswerRe: reading a block of data from a text file Pin
Christian Graus27-Nov-06 23:49
protectorChristian Graus27-Nov-06 23:49 
GeneralRe: reading a block of data from a text file Pin
charchabil0328-Nov-06 1:16
charchabil0328-Nov-06 1:16 
GeneralRe: reading a block of data from a text file Pin
Christian Graus28-Nov-06 8:13
protectorChristian Graus28-Nov-06 8:13 
GeneralRe: reading a block of data from a text file Pin
charchabil0328-Nov-06 9:33
charchabil0328-Nov-06 9:33 
GeneralRe: reading a block of data from a text file Pin
Christian Graus28-Nov-06 11:47
protectorChristian Graus28-Nov-06 11:47 
charchabil03 wrote:
the problem that i m facaing is that i cant retrieve each block alone

Isn't each block one line tho ?

charchabil03 wrote:
read &=checkstr & vbnewline


It would be quicker to just read the entire file, instead of parsing for lines.  You can turn it into a string array with split, and work your way through from there, looking for your blocks.  Assuming you don't want to filter the lines before adding them to the 'read' variable.

charchabil03 wrote:
the only way to separate them is by the presence of the double quote,after each presence of double quote:"read" should be cleared,and filled again (take a look at the first msg)


OK, I get it now.  In that case, you just need to search checkstr for a ", right ? There's a Contains method on the string class.



Christian Graus - C++ MVP

'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

QuestionWeb Control Pin
riyaz_786_p27-Nov-06 21:05
riyaz_786_p27-Nov-06 21:05 
QuestionStopping a service Pin
nitin_ion27-Nov-06 20:50
nitin_ion27-Nov-06 20:50 
AnswerRe: Stopping a service Pin
Dave Kreskowiak28-Nov-06 4:35
mveDave Kreskowiak28-Nov-06 4:35 
GeneralRe: Stopping a service Pin
nitin_ion28-Nov-06 16:34
nitin_ion28-Nov-06 16:34 
GeneralRe: Stopping a service Pin
Dave Kreskowiak29-Nov-06 2:44
mveDave Kreskowiak29-Nov-06 2:44 
Questionvb wininet Problem Pin
psiva198427-Nov-06 20:34
psiva198427-Nov-06 20:34 
Question[Message Deleted] Pin
PREMSONBABY27-Nov-06 20:01
PREMSONBABY27-Nov-06 20:01 
GeneralRe: Regarding data binding Pin
jsampsonPC28-Nov-06 4:08
jsampsonPC28-Nov-06 4:08 
General[Message Deleted] Pin
PREMSONBABY28-Nov-06 5:06
PREMSONBABY28-Nov-06 5:06 
AnswerRe: Regarding data binding Pin
jsampsonPC28-Nov-06 5:08
jsampsonPC28-Nov-06 5:08 
Questionhow to insert data into datagrid dynamically usin insert command Pin
tirumal123127-Nov-06 18:12
tirumal123127-Nov-06 18:12 
AnswerRe: how to insert data into datagrid dynamically usin insert command Pin
Guffa27-Nov-06 19:48
Guffa27-Nov-06 19:48 
Questionam i stupid beginner??i donnu how to write IF?? Pin
charchabil0327-Nov-06 11:53
charchabil0327-Nov-06 11:53 
AnswerRe: am i stupid beginner??i donnu how to write IF?? Pin
Dave Kreskowiak27-Nov-06 12:06
mveDave Kreskowiak27-Nov-06 12:06 
GeneralRe: am i stupid beginner??i donnu how to write IF?? Pin
charchabil0327-Nov-06 12:24
charchabil0327-Nov-06 12:24 
GeneralRe: am i stupid beginner??i donnu how to write IF?? Pin
Dave Kreskowiak27-Nov-06 16:55
mveDave Kreskowiak27-Nov-06 16:55 
GeneralRe: am i stupid beginner??i donnu how to write IF?? Pin
Paul Conrad27-Nov-06 19:54
professionalPaul Conrad27-Nov-06 19:54 

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.