Zohar Posted September 26, 2014 Share Posted September 26, 2014 (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 September 26, 2014 by Zohar Link to comment Share on other sites More sharing options...
Zohar Posted September 26, 2014 Author Share Posted September 26, 2014 It seems that MSCommLib requires VB to be installed on the machine, and since I don't have it, then it cannot be instantiated. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now