Com Port Programming

GilGil Member Posts: 49
Greetings,

Does anyone have any experience as to how to send/read a message through Com Port using Nav? I have searched but it didn't get me what i wanted. I tried to use ComPort.DLL but it doesnt have any methods/properties/functions within it. Also tried MSCOMM32.ocx
But on what i searched there should be an event on the mscomm32.ocx but i looked at the properties and it does not show the withevents.

Regards,
Gil

Comments

  • kinekine Member Posts: 12,562
    ocx have no events. It must be automation. But best is to create your own automation. You can wrap the standard .net comport in it.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • GilGil Member Posts: 49
    I used this as my current reference: viewtopic.php?t=22998
    , could you lead me to a .net solution and how to make an automation?

    Thanks in advance.
Sign In or Register to comment.