chakorules
Member
I am trying to write a VB app using DDE commands to get some values out of an AB PLC, but it's not working. The example I am trying to follow is located here:
http://domino.automation.rockwell.c...0E5D45B3B0B3567385256AFB0052D112?OpenDocument
Which give me the indication that VB or MS Access supports DDE Commands. But when I try and run a Sub routine in my VB app using the same "close to the same" example as above, I get an error.
I found this document here:
http://domino.automation.rockwell.c...935BFA8EE46CB59185256AFB00537BE7?OpenDocument
It says that I must use Control Properties in my VB, or turn off something in MS Excel yada yada yada.
Can someone tell me for sure if I can use the DDE commands in VB 6.0 if I enable a reference or something I am overlooking? Or maybe I HAVE TO use Control Properties in VB 6.0?
For reference:
DDE commands are:
DDEInitiate, DDERequest, DDE Terminate
Control Properties are:
Link Topic, Link Item, and Link Mode
Thanks.
http://domino.automation.rockwell.c...0E5D45B3B0B3567385256AFB0052D112?OpenDocument
Which give me the indication that VB or MS Access supports DDE Commands. But when I try and run a Sub routine in my VB app using the same "close to the same" example as above, I get an error.
I found this document here:
http://domino.automation.rockwell.c...935BFA8EE46CB59185256AFB00537BE7?OpenDocument
It says that I must use Control Properties in my VB, or turn off something in MS Excel yada yada yada.
Can someone tell me for sure if I can use the DDE commands in VB 6.0 if I enable a reference or something I am overlooking? Or maybe I HAVE TO use Control Properties in VB 6.0?
For reference:
DDE commands are:
DDEInitiate, DDERequest, DDE Terminate
Control Properties are:
Link Topic, Link Item, and Link Mode
Thanks.