Hy everybody...
I'm becoming mad with a problem that I can't solve:
in my visual basic 6 program, that is a plugin for road runner (a DLL),so it has not a Form, and I must use the com port.
I initialize it with these two commands:
Code:
Dim MsComm1 As MSCommLib.MSComm
Set MsComm1 = New MSCommLib.MSComm
but while executing, the program says: "utilizzo non valido della parola chiave NEW", in english: "incorrect use of the keyword NEW"
I searched help in google, but purposed solutions can't solve my problem...
I tried this:
1.
Code:
Dim MSComm1 as MsComm
MSComm1 = CreateObject("MSCommlib.MSComm")
but the program says that it can't create the ActiveX object
2. writing only
Code:
Dim MSComm1 as MsComm
but this time the program says that the variable is not defined...
someone help me please!!!