VB6 and rslogix5000

joaco1993

Lifetime Supporting Member
Join Date
Sep 2014
Location
newyork
Posts
237
im doing some coding in vb6 and i have an error in this line :

Dim myOPCServer As New RSiOPCAuto_OPCServer

it gives me this error when compling : comiple error : user-defined type not defined...

does any one knows what could be the problem ?

thanks !
 
Do you have RSLinx Classic installed? Is it the licensed version? Did you reference it in the VB project?
 
hi ! , yes i have rslinx classic , it is licensed, and what do u mean in the last question , if i have it referenced ?
 
I don't have VB6 loaded on this computer, but in VBA, the references are under the tools menu. This tells VB to incorporate some external code into the project. I'm sure someone else can give a better explanation than me.
 
Hi ! thanks for answering but when i try to reference it says : MISSING rockwell software OPC automation...

what could be the problem ??
 
i think the proble is i dont have the rsiopcauto.dll file...

can someone give it to me ? i have the rslinx clasic , so i dont know why i dont have it..
 

Similar Topics

Hello, I'm trying to solve a problem. The visualisation is done by VB6. How can i figure out wich databit in S7 is linked to wich variable in VB...
Replies
1
Views
1,538
Good day all. I have a SLC500 that is controlling an air flow rig. The HMI is a PC using a home-made program using VB6. I have no experience with...
Replies
11
Views
4,485
does anybody have an example of how to connect to a 90-30 ge fenuc plc with the SNP-X protcol through visual basic? i have seen something on this...
Replies
5
Views
1,883
G'day there, I want to send real time data to a VB6 application. It works in excel thanks to a previous response from member - plastic, but I...
Replies
0
Views
3,802
Well, i'm trying to communicate with a Lenze drive (an 9400) from a PC. It has a profibus card installed (PBpro-PCIe from softing). The main...
Replies
0
Views
2,107
Back
Top Bottom