Click here to Skip to main content
15,917,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to brush color into a textbox ? Pin
cnurse15-Dec-03 0:30
cnurse15-Dec-03 0:30 
GeneralRe: how to brush color into a textbox ? Pin
dungti15-Dec-03 15:19
dungti15-Dec-03 15:19 
GeneralAutomatically loading object properties from SQL data sources Pin
cnurse13-Dec-03 22:39
cnurse13-Dec-03 22:39 
GeneralRe: Automatically loading object properties from SQL data sources Pin
cnurse13-Dec-03 23:03
cnurse13-Dec-03 23:03 
GeneralRe: Automatically loading object properties from SQL data sources Pin
cnurse13-Dec-03 23:13
cnurse13-Dec-03 23:13 
QuestionHow Can i Use Comm in .NET???? Pin
13-Dec-03 21:30
suss13-Dec-03 21:30 
AnswerRe: How Can i Use Comm in .NET???? Pin
elRaptor26-Dec-03 10:37
elRaptor26-Dec-03 10:37 
AnswerRe: How Can i Use Comm in .NET???? Pin
elRaptor31-Dec-03 8:20
elRaptor31-Dec-03 8:20 
Hello Shihab:

I thing you are missing a line you need tell the library to read from the port and how many bytes your reding, this is the part of the code I am using to read:

Dim Cadena as string
' As long as there is information, read one byte at a time and
' Save it.
While (ObjComm.Read(1) <> -1)
' Save data read
Cadena = Cadena + Chr(ObjComm.InputStream())
End While


First I check If there is information to read and I tell the function to read only one byte, then I read the byte and I add the Character to a string.
You are using the InputStreamString, and if you look in the code this function uses the InputStream function to read each byte, I havent use this Property but I thing that you need to define the quantity of bytes to be read.

Hope this helps

JA

PS: Happy New Year!!!!!!
Blush | :O
GeneralScaling and moving graphics paths Pin
cnurse13-Dec-03 21:16
cnurse13-Dec-03 21:16 
GeneralVB Help Transfering Info from Word to Access Database Pin
^Kyr13-Dec-03 14:51
suss^Kyr13-Dec-03 14:51 
GeneralRe: VB Help Transfering Info from Word to Access Database Pin
^Kyr15-Dec-03 13:03
suss^Kyr15-Dec-03 13:03 
GeneralRe: VB Help Transfering Info from Word to Access Database Pin
Vipin Bokariya15-Dec-03 20:38
Vipin Bokariya15-Dec-03 20:38 
GeneralEdit source files while debugging Pin
Charlie Williams13-Dec-03 8:55
Charlie Williams13-Dec-03 8:55 
GeneralRe: Edit source files while debugging Pin
Dave Kreskowiak14-Dec-03 4:56
mveDave Kreskowiak14-Dec-03 4:56 
GeneralRe: Edit source files while debugging Pin
Charlie Williams14-Dec-03 8:11
Charlie Williams14-Dec-03 8:11 
GeneralTransparencyKey usage consuming memory Pin
gregcost13-Dec-03 6:56
gregcost13-Dec-03 6:56 
QuestionHow to declare a public variable that can be edit by forms?VB.Net Pin
MJay13-Dec-03 5:10
MJay13-Dec-03 5:10 
QuestionHow to Draw 3D charts Pin
xprtguro13-Dec-03 2:40
xprtguro13-Dec-03 2:40 
QuestionHow to check the data type of user input?VB.Net Pin
MJay13-Dec-03 2:23
MJay13-Dec-03 2:23 
AnswerRe: How to check the data type of user input?VB.Net Pin
Colin Angus Mackay13-Dec-03 2:57
Colin Angus Mackay13-Dec-03 2:57 
GeneralRe: How to check the data type of user input?VB.Net Pin
MJay13-Dec-03 6:44
MJay13-Dec-03 6:44 
GeneralRe: How to check the data type of user input?VB.Net Pin
Colin Angus Mackay13-Dec-03 7:02
Colin Angus Mackay13-Dec-03 7:02 
AnswerRe: How to check the data type of user input?VB.Net Pin
Charlie Williams13-Dec-03 9:35
Charlie Williams13-Dec-03 9:35 
GeneralRe: How to check the data type of user input?VB.Net Pin
MJay13-Dec-03 21:44
MJay13-Dec-03 21:44 
GeneralRe: How to check the data type of user input?VB.Net Pin
Charlie Williams14-Dec-03 8:28
Charlie Williams14-Dec-03 8:28 

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.