Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Vb6 - How To Send And Receive Hex?


  • Please log in to reply
No replies to this topic

#1 widewings

widewings

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:10:06 AM

Posted 17 September 2008 - 06:07 AM

I'm a beginner in VB6.

I want to create a program that will send and recieve HEX in com port?

Based on my research I need the following :
Dim Buffer() as Byte
MSComm1.InputMode = comInputModeBinary
Buffer = MSComm1.Input

My problem is how can I display on my screen all the input in HEX and how I can set MSComm1.Output to HEX.

Any suggestions would be much appreciated. Thanks.

BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users