Questions tagged [mscomm32]

Question regarding mscomm32.ocx - a Microsoft ActiveX control module used for serial communications. It is apparently now unsupported.

34 questions
1
vote
1 answer

Send hex string to serial port using MSCOMM ActiveX Control from ABAP

I am using a function module to communicate from ABAP to a device connected on the serial port. It is based on the MSCOMM ActiveX Control and uses the MSCOMM properties to read/write values. Unfortunately, I need to send hex strings to the device…
Stefan F.
  • 11
  • 1
1
vote
2 answers

MSCOMM32.ocx usage causes Not Trusted Error

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…
Manoj
  • 5,011
  • 12
  • 52
  • 76
1
vote
1 answer

Microsoft Access 2010 on Windows 7 64-bit, and MSCOMM32.ocx

Over the weekend, I had a hard drive failure on my business' POS & database computer. We have an Orbit Metrologic scanner hooked up to it via USB, and it's emulated for comm port COM3. The scanner works, and I was able to restore our database…
Lil' Bits
  • 898
  • 2
  • 9
  • 24
0
votes
2 answers

Serial Port Communication

I want to send data hex format (0x01) or (0xff) to the port where rs232 cable is connected. I am using the MSCOMM control in VC++ 6.0. Is that the correct way to send the hex data. This is the code I have. CString output; UCHAR…
srikanth
0
votes
1 answer

RTE: 8012 "The device is not open"

I have a VB6 program that uses MSComm control to send/receive data via COM port. I occasionally get this runtime error 8012 "The device is not open".I have found reference to this error but I can not find any reference to exactly what would cause…
awaisj
  • 344
  • 3
  • 15
0
votes
0 answers

Oncomm event is fired occasionally

I'm trying to read incoming SMS RThreshold value is set to 1 The Meassage Storage Area is "SM" However, OnComm event is fired only when I send a command (e.g MSComm1.Output = "AT" & vcCrLf).. OnComm is fired when "OK" is returned Why OnComm event is…
user3286479
  • 415
  • 3
  • 15
  • 26
0
votes
1 answer

Why is the OnComm event of MSCOMM32.OCX in Access 2003 VBA missing?

I've dropped the VB6 MSCOMM32.OCX (Microsoft Comm Control 6.0 (SP6)) on to a VBA form. I had to apply a Microsoft Security Update KB926857 to VB6 to get the control to drop on the form because a Windows Update set a kill bit on the older…
Rich Shealer
  • 3,362
  • 1
  • 34
  • 59
0
votes
0 answers

OnComm event does not trigger

I'm trying to get the input of a 3g modem when it receives sms. This is the code I'm using to trap any incoming sms. Private Sub MSComm1_OnComm() Select Case MSComm1.CommEvent Case comEvReceive Do While MSComm1.InBufferCount > 0 …
user3286479
  • 415
  • 3
  • 15
  • 26
0
votes
1 answer

Unable to load MSCOMCT2/MSCOMCTL in VB6 IDE using Windows 7 64bit

Hope you are well. I've been having an absolute pain trying to load the MSCOMCT2/MSCOMCTL components in the VB6 editor. The steps I have taken are the following: I've successfully registered the components using regsvr32 in CMD with admin rights.…
Coder1994UK
  • 28
  • 3
  • 9
0
votes
2 answers

How to run mscomm32.ocx under Windows 7?

We get an app that was working fine until update Windows from Vista Home Basic to 7 Home Premium. We use mscomm32.ocx to control serial port, but it seems it's not supported for 64 bits OS. Each time we try to read the port:…
0
votes
1 answer

How to use AT commands to detect if "RING" has ended

Is there a way to detect if the modem has stopped ringing? I am using an MSComm object to communicate with my phone via serial port. I know that MSComm has an event that can tell if the phone is ringing, but there is no event to tell that the phone…
Dac
  • 210
  • 3
  • 19
0
votes
1 answer

VB6 MSComm, ports above 127 return 8002

I have a simple function that checks if we have open ports on the system, I would test ports from 1 to 256. For some odd reason when I have device at port over 127 system returns error 8002. This is very odd because when I use a different C++…
Vlad Vladimir Hercules
  • 1,781
  • 2
  • 20
  • 37
0
votes
2 answers

GUI lag in VB.NET

I have a program for carrying out serial communication. After sending a command, the program has to wait for a short while to receive the data. The data is received using ActiveX…
KRC
  • 328
  • 2
  • 16
0
votes
1 answer

Case Sensitive MSComm String

I some experience coding, but none with VBA (Excel 2013). I am attempting to write an extremely simple program which, through the serial port, 1.) Tells a remote device to accept external commands ("PHOTO"), 2.) Sends an external command ("M5" &…
Dumpster Fire
  • 111
  • 1
  • 2
  • 7
0
votes
0 answers

Why does the interface always get stuck? MFC for the communication with serial port with MSComm

I am working on a interface for communicating with serial port by using the MSComm ActiveX: get data from the sensor via serial port and display in the edit box in VS 2005. But every time when I run the program, after getting certain data (about 1~2…
Shan Luo
  • 63
  • 2
  • 12