scubabud
Electrical
- May 21, 2003
- 4
I have a VB app that uses DDE to polls information from several different AB PLC's over ethernet. My RSLinx runs on a server and as long as I run the VB app on the server everthing works well. I want to modify the VB app to run on any PC that has access to the server but use the RSLinx on the server for the communications. Here is the basic code I am using.
lblStatus.Caption = "Status: Connecting"
Screen.MousePointer = vbHourglass
txt75Count.LinkMode = 0
Text1.Text = "RSLinx"
Text2.Text = "19314_SLC505"
Text3.Text = "N67:206"
linktopic = Text1.Text & "|" & Text2.Text
txt75Count.linktopic = linktopic
txt75Count.LinkItem = Text3.Text
txt75Count.LinkMode = 1
Is it as simple as changing Text1.Text = "U:\RSLinx"
U of course being the network drive letter mapped from PC runing the VB app.
Any suggestions?
lblStatus.Caption = "Status: Connecting"
Screen.MousePointer = vbHourglass
txt75Count.LinkMode = 0
Text1.Text = "RSLinx"
Text2.Text = "19314_SLC505"
Text3.Text = "N67:206"
linktopic = Text1.Text & "|" & Text2.Text
txt75Count.linktopic = linktopic
txt75Count.LinkItem = Text3.Text
txt75Count.LinkMode = 1
Is it as simple as changing Text1.Text = "U:\RSLinx"
U of course being the network drive letter mapped from PC runing the VB app.
Any suggestions?