mscomm32

Problems opening and closing the mscomm port in vb6 when interfacing microcontroller

核能气质少年 提交于 2019-12-13 06:01:53
问题 the code is to get data from a microcontroller or any device from serial device using serial port,so i am having problem with port opening and getting data,am having this problem for last 20 days please kindly help me at the earliest :) Private Sub Command1_Click() MsgBox ("The port is open " & MSComm1.PortOpen) If (MSComm1.PortOpen = False) Then MSComm1.PortOpen = True End If Command1.Enabled = False Command2.Enabled = True End Sub Private Sub Command2_Click() If (MSComm1.PortOpen = True)

MSCOMM32.ocx usage causes Not Trusted Error

≡放荡痞女 提交于 2019-12-11 12:26:57
问题 I was using an Excel macro which uses mscomm32.ocx for communicating with the serial port. It was working fine until some one or two month back. Now when we try to run it again it is not working. When I try to load it, it says the "Subject is not trusted for the specified Action". Can any one help me out!? Thanks... 回答1: Actually some security upgrades from Microsoft had prevented the older mscomm32.dll from loading. A newer version of the DLL solves the problem Newer version is available as