Feb 10th, 2012, 10:02 AM
communicate with the server...
Hi everyone i use to connets my vb6 made program to the opc server using the following code. but now i am trying to use the vb2010 but it is not working. i also googled around to convert it but no use it gives an error please help me to communicate with the other program using vb2010.
my code for vb6 is:
Dim server As Object
Private Sub Form_Load()
Set server = CreateObject("FaconSvr.FaconServer")
Private Sub ConnectBtn_Click()
i also tried to add the liberary in references but the opc server is not listed there. is there a way to communicate with the server without adding it to the references...?
Click Here to Expand Forum to Full Width
Survey posted by VBForums.