Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to improve performance of VB.Net 2010 / Word Windows Desktop App? Pin
Mycroft Holmes14-Dec-14 13:22
professionalMycroft Holmes14-Dec-14 13:22 
GeneralRe: How to improve performance of VB.Net 2010 / Word Windows Desktop App? Pin
QuickBooksDev15-Dec-14 0:24
QuickBooksDev15-Dec-14 0:24 
Questionswitching two items in a list box/combo box Pin
Steve-the-elk11-Dec-14 5:04
Steve-the-elk11-Dec-14 5:04 
AnswerRe: switching two items in a list box/combo box Pin
Richard MacCutchan11-Dec-14 6:45
mveRichard MacCutchan11-Dec-14 6:45 
QuestionHow to test The performance Of a Vb.Net Pc Cleaner Software? Pin
rituz9-Dec-14 1:36
rituz9-Dec-14 1:36 
AnswerRe: How to test The performance Of a Vb.Net Pc Cleaner Software? Pin
Chris Quinn9-Dec-14 2:03
Chris Quinn9-Dec-14 2:03 
AnswerRe: How to test The performance Of a Vb.Net Pc Cleaner Software? Pin
Dave Kreskowiak9-Dec-14 11:00
mveDave Kreskowiak9-Dec-14 11:00 
QuestionIn .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev5-Dec-14 11:52
QuickBooksDev5-Dec-14 11:52 
I am using VB.2013.

Code :
VB
Dim MydataStream As Stream = Nothing
MydataStream = MyWebClient.OpenWrite(address:=MySend2URL, method:="POST")
Dim postArray As Byte() = Encoding.ASCII.GetBytes(postData)
MydataStream.Write(postArray, 0, postArray.Length)
MydataStream.Close()
Dim reader As New StreamReader(MydataStream)  ' <=== Dies here with "Stream was not readable."


How can I get a response that can be used and not the Stream is not readable error.
QuestionRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Richard MacCutchan5-Dec-14 22:22
mveRichard MacCutchan5-Dec-14 22:22 
AnswerRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev6-Dec-14 0:15
QuickBooksDev6-Dec-14 0:15 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Richard MacCutchan6-Dec-14 0:24
mveRichard MacCutchan6-Dec-14 0:24 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev7-Dec-14 5:04
QuickBooksDev7-Dec-14 5:04 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Richard MacCutchan7-Dec-14 6:41
mveRichard MacCutchan7-Dec-14 6:41 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev7-Dec-14 8:11
QuickBooksDev7-Dec-14 8:11 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Dave Kreskowiak7-Dec-14 8:25
mveDave Kreskowiak7-Dec-14 8:25 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev7-Dec-14 10:47
QuickBooksDev7-Dec-14 10:47 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Dave Kreskowiak7-Dec-14 11:55
mveDave Kreskowiak7-Dec-14 11:55 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Richard MacCutchan7-Dec-14 22:44
mveRichard MacCutchan7-Dec-14 22:44 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev8-Dec-14 0:23
QuickBooksDev8-Dec-14 0:23 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Richard MacCutchan8-Dec-14 0:48
mveRichard MacCutchan8-Dec-14 0:48 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Eddy Vluggen8-Dec-14 8:13
professionalEddy Vluggen8-Dec-14 8:13 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev8-Dec-14 8:58
QuickBooksDev8-Dec-14 8:58 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Richard MacCutchan8-Dec-14 22:19
mveRichard MacCutchan8-Dec-14 22:19 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
QuickBooksDev9-Dec-14 0:30
QuickBooksDev9-Dec-14 0:30 
GeneralRe: In .Net how can I get a response to WebClient.Open write instead of Stream was not readable Pin
Richard MacCutchan9-Dec-14 0:32
mveRichard MacCutchan9-Dec-14 0:32 

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.