Click here to Skip to main content
15,902,811 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiondisable row Pin
jds12076-Aug-07 7:54
jds12076-Aug-07 7:54 
AnswerRe: disable row Pin
Dave Kreskowiak6-Aug-07 8:01
mveDave Kreskowiak6-Aug-07 8:01 
AnswerRe: disable row Pin
nlarson116-Aug-07 10:50
nlarson116-Aug-07 10:50 
AnswerRe: disable row Pin
'Drew6-Aug-07 12:12
'Drew6-Aug-07 12:12 
QuestionDataTable, DataSet, DataGrid. I need to find out when one of these adds a row. Which one do I use? Pin
Cory Kimble6-Aug-07 7:33
Cory Kimble6-Aug-07 7:33 
AnswerRe: DataTable, DataSet, DataGrid. I need to find out when one of these adds a row. Which one do I use? Pin
Luc Pattyn6-Aug-07 7:45
sitebuilderLuc Pattyn6-Aug-07 7:45 
AnswerReply for Datagride Refresh Pin
Senthil S7-Aug-07 2:42
Senthil S7-Aug-07 2:42 
QuestionArrayList from a StreamReader issue [modified] Pin
Payrok6-Aug-07 7:14
Payrok6-Aug-07 7:14 
I've been working on a small function today that is confounding me to no end. I have a file that is one line, the file size is ~400k bytes, and is a list of items delineated by a '~'.

The funny thing is, I can see the data on the stream while viewing in the debugger, but the data doesn't get assigned to the variable, no matter what it is. (note: I've tried assigning to regular strings and to the stringbuilder class as well, without the Split() of course Wink | ;) )

The errant piece of code looks like this:
<br />
Dim al as New ArrayList<br />
<br />
m_istream = New StreamReader(m_ipath)<br />
al = al.Adapter(m_istream.ReadToEnd().Split("~"c))<br />

I've tried this with much success on smaller strings(not streams), and I don't understand why this assignment isn't working. Could someone give me a hand please?

Thanks in advance.

Jason

P.S. I'm using VS 2003


-- modified at 13:40 Monday 6th August, 2007

"In the middle of difficulty lies opportunity." Albert Einstein

AnswerRe: ArrayList from a StreamReader issue Pin
Dave Kreskowiak6-Aug-07 7:47
mveDave Kreskowiak6-Aug-07 7:47 
GeneralRe: ArrayList from a StreamReader issue [modified] Pin
Payrok6-Aug-07 7:59
Payrok6-Aug-07 7:59 
GeneralRe: ArrayList from a StreamReader issue Pin
Dave Kreskowiak6-Aug-07 8:08
mveDave Kreskowiak6-Aug-07 8:08 
GeneralRe: ArrayList from a StreamReader issue Pin
Payrok6-Aug-07 8:11
Payrok6-Aug-07 8:11 
GeneralRe: ArrayList from a StreamReader issue Pin
Payrok6-Aug-07 8:16
Payrok6-Aug-07 8:16 
GeneralRe: ArrayList from a StreamReader issue Pin
Dave Kreskowiak6-Aug-07 8:49
mveDave Kreskowiak6-Aug-07 8:49 
AnswerRe: ArrayList from a StreamReader issue Pin
Payrok6-Aug-07 8:58
Payrok6-Aug-07 8:58 
GeneralRe: ArrayList from a StreamReader issue Pin
Dave Kreskowiak6-Aug-07 9:14
mveDave Kreskowiak6-Aug-07 9:14 
QuestionCannot generate SSPI context error Pin
xbiplav6-Aug-07 5:20
xbiplav6-Aug-07 5:20 
AnswerRe: Cannot generate SSPI context error Pin
Dave Kreskowiak6-Aug-07 8:09
mveDave Kreskowiak6-Aug-07 8:09 
GeneralRe: Cannot generate SSPI context error Pin
xbiplav6-Aug-07 18:11
xbiplav6-Aug-07 18:11 
GeneralRe: Cannot generate SSPI context error Pin
Dave Kreskowiak7-Aug-07 11:37
mveDave Kreskowiak7-Aug-07 11:37 
QuestionVB.Net: Programmatically previewing any system supported document type Pin
Mbire6-Aug-07 3:43
Mbire6-Aug-07 3:43 
AnswerRe: VB.Net: Programmatically previewing any system supported document type Pin
Luc Pattyn6-Aug-07 4:04
sitebuilderLuc Pattyn6-Aug-07 4:04 
GeneralRe: VB.Net: Programmatically previewing any system supported document type Pin
Mbire7-Aug-07 22:03
Mbire7-Aug-07 22:03 
GeneralRe: VB.Net: Programmatically previewing any system supported document type Pin
Luc Pattyn7-Aug-07 23:04
sitebuilderLuc Pattyn7-Aug-07 23:04 
AnswerRe: VB.Net: Programmatically previewing any system supported document type Pin
Dave Kreskowiak6-Aug-07 4:18
mveDave Kreskowiak6-Aug-07 4:18 

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.