Click here to Skip to main content
15,897,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionshell command problems Pin
plural22-Aug-07 5:23
plural22-Aug-07 5:23 
AnswerRe: shell command problems Pin
Craster22-Aug-07 5:56
Craster22-Aug-07 5:56 
GeneralRe: shell command problems Pin
plural22-Aug-07 6:22
plural22-Aug-07 6:22 
QuestionWeb Services Pin
susheel7422-Aug-07 5:17
susheel7422-Aug-07 5:17 
AnswerRe: Web Services [modified] Pin
nlarson1122-Aug-07 11:24
nlarson1122-Aug-07 11:24 
QuestionFileStream.Write doing odd things... Pin
andycee22-Aug-07 4:22
andycee22-Aug-07 4:22 
AnswerRe: FileStream.Write doing odd things... Pin
Colin Angus Mackay22-Aug-07 4:53
Colin Angus Mackay22-Aug-07 4:53 
AnswerRe: FileStream.Write doing odd things... Pin
Luc Pattyn22-Aug-07 5:00
sitebuilderLuc Pattyn22-Aug-07 5:00 
I want to add a warning:

Your code is unsafe, you somehow expect a number of bytes being read that could
differ from what you ask, but you don't use it when writing the data.

bytesRead = fStreamIN.Read(buffer, 0, fStreamIN.Length)
...
fStreamOUT.Write(buffer, 0, buffer.Length)


it should have been: fStreamOUT.Write(buffer, 0, bytesRead)

Smile | :)


Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


Questionimage and my.resources (wpf) Pin
Roberto Monza22-Aug-07 4:00
Roberto Monza22-Aug-07 4:00 
AnswerRe: image and my.resources (wpf) Pin
Shimmy Weitzhandler13-Sep-09 22:11
Shimmy Weitzhandler13-Sep-09 22:11 
QuestionData Access Layer and Enterprise Library Pin
jesusnaun22-Aug-07 3:53
jesusnaun22-Aug-07 3:53 
QuestionFormula Pin
iain659422-Aug-07 1:47
iain659422-Aug-07 1:47 
AnswerRe: Formula Pin
ejaz_pk22-Aug-07 3:45
ejaz_pk22-Aug-07 3:45 
GeneralRe: Formula Pin
iain659422-Aug-07 4:23
iain659422-Aug-07 4:23 
GeneralRe: Formula Pin
Mycroft Holmes22-Aug-07 22:21
professionalMycroft Holmes22-Aug-07 22:21 
QuestionWriting word document in vb.net Pin
Salman Sheikh22-Aug-07 1:26
Salman Sheikh22-Aug-07 1:26 
QuestionChanging date format Pin
Ahamed Azeem22-Aug-07 0:34
Ahamed Azeem22-Aug-07 0:34 
AnswerRe: Changing date format Pin
plural22-Aug-07 0:51
plural22-Aug-07 0:51 
GeneralRe: Changing date format Pin
Ahamed Azeem22-Aug-07 2:12
Ahamed Azeem22-Aug-07 2:12 
AnswerRe: Changing date format Pin
ejaz_pk22-Aug-07 1:16
ejaz_pk22-Aug-07 1:16 
AnswerRe: Changing date format Pin
Salman Sheikh22-Aug-07 1:22
Salman Sheikh22-Aug-07 1:22 
GeneralRe: Changing date format Pin
Ahamed Azeem22-Aug-07 2:15
Ahamed Azeem22-Aug-07 2:15 
GeneralRe: Changing date format Pin
Salman Sheikh28-Aug-07 0:23
Salman Sheikh28-Aug-07 0:23 
QuestionSort of Mail Merge Application Pin
Trupti Mehta21-Aug-07 23:44
Trupti Mehta21-Aug-07 23:44 
QuestionHow to avoid html tag in body of mail while saving to db. Pin
rahul.net1121-Aug-07 23:40
rahul.net1121-Aug-07 23:40 

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.