Jump to content

Recommended Posts

Posted (edited)

Hi

 

I am trying to create a COM Port object, using

Local $COMPort =ObjCreate("MSCommLib.MSComm.1")
$COMPort.CommPort =4

But I get an error on the second line, saying there's no object created.

 

If I try to open COM4 in other programming languages, I do succeed.

What might be the problem?

 

Thank you

Edited by Zohar
Posted

It seems that MSCommLib requires VB to be installed on the machine,

and since I don't have it, then it cannot be instantiated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...