Question regarding mscomm32.ocx - a Microsoft ActiveX control module used for serial communications. It is apparently now unsupported.
Questions tagged [mscomm32]
34 questions
3
votes
1 answer
Are there ciritical differences betweem how the old VB6 MSComm control communicates with a serial port and how the .Net SerialPort does this?
We have a device that is connected over a USB cable and emulates a COM port. Using our old VB6 application and the MSComm control after opening the connection the device sends a byte back whenever the VB6 application sends a byte to the device.
Now,…

Dabblernl
- 15,831
- 18
- 96
- 148
3
votes
1 answer
Sending Long Message form pc to mobile in VB6
I want to send long sms (more than 160 characters) from pc to mobile. I am using MSComm control in VB6. It works good with small messages but when my message exceeds 160 characters then it shows sending ok but message is not delivered.
With MSComm1
…

Tauqeer Shah
- 57
- 6
2
votes
2 answers
SerialPort Vs MSComm
Is it possible that .Net SerialPort and VB6 MSComm work different?
In both cases, I´m reading data from the buffer, and both got me different strings, if I import the MSComm dll into my .Net project, It works perfectly (obviously).
Does anyone have…

Rama
- 429
- 1
- 8
- 14
2
votes
1 answer
Using mscomm ActiveX with Qt
I know this question may seem odd due to new existing alternatives, but trust me there's a reason.
I would like to use the mscomm active X control to communicate through serial port with Qt.
Yes, I know there's QextSerialPort, QSerialDevice and a…

Pherrymason
- 7,835
- 8
- 39
- 57
2
votes
4 answers
RThreshold property of MSComm in vb6 not working properly
I am trying to write a code in VB6 that accepts a data through a COM port. Right now a single GSM phone is sending the data. Data could be anything including a call or message. I am able to get the format for a call and message:
For a…

user3678480
- 33
- 1
- 8
2
votes
1 answer
Adding & Use MSCOMM in visual basic 2010 express
i already add the mycomm.lib into my visual basic by clicking Project-> Add reference -> Com Tab -> choose mycomm control 6.0. But i still dunno how to use it.
What i want is to send a character From visual basic express 2010 to Microcontroller.

whywhy
- 155
- 1
- 6
- 13
1
vote
1 answer
vb.net ms comm getting exception
I used microsoft com control 6.0 in the application for sending data to the led control
MSComm1.EOFEnable = True
MSComm1.SThreshold = 100
MSComm1.InputLen = 0
MSComm1.RThreshold = 1
MSComm1.InBufferCount = 0
…

Coder Guru
- 513
- 3
- 18
- 37
1
vote
2 answers
RS232c in VB6 help
Hey all i am new at this RS232c command sending. This is what the documents has for my Yamaha A/V RX-A2000.
PWR
[PUT Command]
@MAIN:PWR=Parameter
[GET Command]
@MAIN:PWR=?
Operating & retrieving Power state of Main Zone
…

StealthRT
- 10,108
- 40
- 183
- 342
1
vote
0 answers
Cannot open COM port in PHP
I'm trying to open a COM port in PHP using the device's library file (file.dll) for the connection.
I get this error:
Fatal error: Uncaught exception 'com_exception' with message 'Source: file.DLL file.DLLDescription: com…

margas0599
- 11
- 1
1
vote
1 answer
How I send urdu text message using mscom in VB6
I am trying to send the message through com port using MScom in VB6. although simple message in english is sending is ok. But when I send the urdu language test then it send? marks. my port setting
With MSComm1
.CommPort = port
…

Tauqeer Shah
- 57
- 6
1
vote
0 answers
VBA Microsoft Communication Control - Can't insert object
I can't insert MSCOMM in Controls (VBA). I already register MSCOMM32.OCX in cmd and it was successful. But seems my VBA can't recognized it. I researched a lot. But I can't find any solution. Can someone help me? Thank you so much.

Renz Perez
- 11
- 1
1
vote
0 answers
Excel, VB macro, MSCOMM and standard user
I have a device operated via Excel through com ports with MSComm32. Some macro linked to buttons on Excel forms used to make this device work properly. Up to these last days when it suddenly stopped working.
After some investigations, it seems there…

MaxAuray
- 513
- 1
- 4
- 18
1
vote
1 answer
RS232c VB6 help
Hey all, i am trying to turn on a A/V Reciever with a RS232 command using the VB6 comm32. To turn it on it says to use:
Command code Parameter code CR Code set example
PW ON PWON
And this is my VB6 code i am…

StealthRT
- 10,108
- 40
- 183
- 342
1
vote
1 answer
How to get or wait for the result code of an AT Command?
How can I get or wait for the result code of an AT Command without using the Sleep() function in PowerBuilder? I am using the MSComm OLE Control for PowerBuilder. Could I do a While Loop unti the MSCOmm.Input property returns the proper buffer?(e.g,…

Dac
- 210
- 3
- 19
1
vote
0 answers
MSComm and use of DLL to upload data VB6
I have a VB6 script that creates a MSComm with my device, once communication is create I go and upload a file to the device via DLL file that is included within VB6 script
The problem that I am facing is that my VB6 somehow hijacking device and I am…

Vlad Vladimir Hercules
- 1,781
- 2
- 20
- 37