Jump to content

Error creating the UnCmDrv1.clsCommDriver object in VB6


Recommended Posts

I'm running VB6 on a Teradyne UltraFlex .Net 4.0, trying to talk to a MD MAXTC PLC.

I've installed the UnCmDrv1.dll.  I'm trying the following call from both my VB6 program and the "VisionCommDriveExample" provided by you.

 

I get the following error (see attached file) to this command:

 

   'Create new instance of the Comm Driver Dll.
   Set mComDriver = New UnCmDrv1.clsCommDriver
 
basically a "Run-time error '339':  Application-defined or object-defined error"
 
Any ideas what I'm missing?
 
Regards, Doug
 
 
 

399Error.docx

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.