Microsoft Communications Controller

DarrellDarrell Member Posts: 3
edited 2000-02-10 in Navision Financials
i'm having a problem with the Microsoft Communications Controller - ie the serial/modem ocx (mine is from VB6)

the problem is trying to read the input buffer ...

...
DataRead := msComm.Input;
...

my code works 100% in VB, but Navision seems to think that the .Input command requires a parameter ...

[VARIANT Input :=] msComm.Input(VARIANT Input)

if I try the following syntax ...

msComm.INPUT(DataRead);

then the ocx complains that .INPUT is read only

and no the following doesn't work either

DataRead := msComm.INPUT(DataRead); //try anything!

Hope you can help!

Darrell

Comments

  • LudoLudo Member Posts: 14
    NF does not support Variant type.
    You should write an OCX wrapper ...

    Ludo
Sign In or Register to comment.