Questions tagged [mscomm32]

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

34 questions
0
votes
1 answer

I want to send data and receive data as string if possible or at least as integer

I am trying to send and receive data through mscomm port, but am receiving datatype mismatch.so what should I do to avoid this error, I need to send data as integer and receive it as string if possible ,minimum I should get it as integer datatype.…
user1963933
  • 11
  • 1
  • 4
  • 12
0
votes
2 answers

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

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…
user1963933
  • 11
  • 1
  • 4
  • 12
0
votes
3 answers

Modbus Input via MSComm in Visual C++

I'm completely new to Modbus protocoll. My setup consists of three devices with different addresses. They're all connected to COM1 via RS232. I've used Modbus Poll to check the input-data, which works properly. What I want to do now, is reading the…
Andreas D.
  • 73
  • 1
  • 12
0
votes
1 answer

Save SerialPort settings in Windows environment

I would like to programmatically set the serial (COM) port settings (baud rate, stop bits etc) in my C# program.When I do something like the following, it does not save the settings in my windows environment. Am I totally on the wrong track? …
mcintoda
  • 635
  • 1
  • 8
  • 10
1 2
3