Sign in to follow this  
Followers 0
Zohar

[Closed] Problem with ObjCreate("MSCommLib.MSComm.1")

2 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



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

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0