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

Visual Basic

 
AnswerRe: Can you load an image from a pointer? Pin
Corinna John14-Jan-04 0:00
Corinna John14-Jan-04 0:00 
GeneralRe: Can you load an image from a pointer? Pin
Joe Dean14-Jan-04 3:27
Joe Dean14-Jan-04 3:27 
Generaltext-box control and plain text Pin
acecase12-Jan-04 6:43
acecase12-Jan-04 6:43 
GeneralRe: text-box control and plain text Pin
Niels Penneman12-Jan-04 10:34
Niels Penneman12-Jan-04 10:34 
GeneralRe: text-box control and plain text Pin
acecase12-Jan-04 17:50
acecase12-Jan-04 17:50 
GeneralRe: text-box control and plain text Pin
Ray Cassick13-Jan-04 5:09
Ray Cassick13-Jan-04 5:09 
Generalprint report Pin
Vivek Jain11-Jan-04 3:42
Vivek Jain11-Jan-04 3:42 
GeneralReceiving binary data with MSCOMM32.ocx Pin
Aby Philip10-Jan-04 21:06
Aby Philip10-Jan-04 21:06 
I am trying to use MSCOMM32.ocx to receive binary data.
MSDN provides two sample code for text data. (Q194922- INFO:Receiving Data
using teh MSComm Control's OnComm Event) (for Send / Receive each). I used
them as the basis and then did the following changes -

- changed input mode to binary in both
- To send binary data passed a Variant containing an array of bytes
- On the receive side inspects the "Input" property.

////////////////////////////////////////////////////
Dim data As String
For i = 0 To MSComm1.InputLen - 1
data = data + "0x" + CByte(MSComm1.Input(i)) + " "
Next i
////////////////////////////////////////////////////

However on the receive side i am facing the following problems -
- I am not sure how to get the number of bytes received. InputLen and
InBufferCount gives 0
- Input is empty.
- InBuff gives some 3 junk characters when i had passed (10,11,12,13,14) as
bytes.

Can some body help out on how to properly receive binary data? Any help is very much appreciated.

thank you
aby


QuestionGif animation do you need the Image Animation Class? Pin
gregcost10-Jan-04 5:30
gregcost10-Jan-04 5:30 
QuestionHelp - Data Grid ? Pin
Member 7660849-Jan-04 18:55
Member 7660849-Jan-04 18:55 
AnswerRe: Help - Data Grid ? Pin
Sylan11-Jan-04 11:21
Sylan11-Jan-04 11:21 
GeneralDemos Pin
Matthew Hazlett9-Jan-04 15:00
Matthew Hazlett9-Jan-04 15:00 
GeneralClickity Police Pin
Colin Angus Mackay10-Jan-04 4:31
Colin Angus Mackay10-Jan-04 4:31 
GeneralReminder service Pin
MT9-Jan-04 10:15
MT9-Jan-04 10:15 
GeneralRe: Reminder service Pin
Niels Penneman9-Jan-04 10:31
Niels Penneman9-Jan-04 10:31 
GeneralRe: Reminder service Pin
Matthew Hazlett9-Jan-04 14:55
Matthew Hazlett9-Jan-04 14:55 
GeneralRich Text Box to HTML Pin
Kevin Kidson9-Jan-04 7:32
Kevin Kidson9-Jan-04 7:32 
GeneralRe: Rich Text Box to HTML Pin
Niels Penneman9-Jan-04 10:38
Niels Penneman9-Jan-04 10:38 
GeneralRe: Rich Text Box to HTML Pin
Niels Penneman9-Jan-04 10:42
Niels Penneman9-Jan-04 10:42 
GeneralDisable Task Manager in Win98 Pin
Vivek Jain9-Jan-04 5:14
Vivek Jain9-Jan-04 5:14 
GeneralRe: Disable Task Manager in Win98 Pin
UB9-Jan-04 6:33
UB9-Jan-04 6:33 
GeneralAccess Code permission problem!! Pin
magnus__lindberg9-Jan-04 3:34
magnus__lindberg9-Jan-04 3:34 
GeneralRe: Access Code permission problem!! Pin
UB9-Jan-04 6:10
UB9-Jan-04 6:10 
GeneralRe: Access Code permission problem!! Pin
magnus__lindberg12-Jan-04 0:36
magnus__lindberg12-Jan-04 0:36 
QuestionHI.. anyone had working with DB conection to AS400? Pin
jlizardo9-Jan-04 3:09
jlizardo9-Jan-04 3:09 

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.