Knowledge Base FAQ Item #3200030
Q3200030: I try to run the Visual Basic 6 sample project, but I get a runtime error: "User-defined type not defined". What's wrong?
You must refer to the object before you can declare and create it. Go to the 'Project' menu, choose 'References...' and put the checkbox near 'ActiveXperts Serial Port Component Type Library'.
(viewed: 2013)