![]() |
Forum Index : Microcontroller and PC projects : Mmbasic talking to VB6
![]() ![]() |
|||||
Author | Message | ||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 986 |
@Gizmo and MikeO I chose to brush the dust and cob webs off VB6SP5 as the end user would like some type of large graphical display of the sensor information that could be looked at a glance and have the ability to contact him via SMS if any of the readings go beyond pre set limits. Graeme |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
OA47 Hi I put here an exemple of prog (in vb6) with serial com in master mode and slave mode in master mode in subroutine "emtrame" you can find method to send string and wait response in mditest.timer, you can create a periodic job (if use) like datalogger in slave mode it work only on waiting recept buffer with nb char to receive 2017-09-26_230103_vb6_serial_com.zip |
||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 986 |
Just in case anyone was curious of how I progressed with this issue. Trawling through the web found a handful of VB users complaining about the same issue using VB6 and especially the prolific usb-serial converters. It seems it is an issue with Microsoft's VBComm32.OCX which is responsible for the handling of such devices. There are commercial replacements available for purchase such as SCOMM32.ocx which purport to fixing such issues but being adverse to spending the money and I would have to wait some time to try another chip instead of the Prolific, I experimented and found 3 different dated VBCOMM32.OCX files and used the most recent dated issue (which was only 1 day newer) and you guessed it, IT WORKED. ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Thanks for the update. Prolific are one of the manufacturers who were plagued by counterfeits and did strange things to protect themselves. The countermeasures where more trouble than the counterfeits. Jim VK7JH MMedit |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |