We recently upgraded to the Pro version of RSLogix 5. I'm fairly new to the VB world, however I was able to take advantage of the available VBA to write small tool to automate address search & replace from a CSV file. Several co-workers have approached me who would also like to use the tool.
One method would be to simply export the .cls, .frm, and .bas files, and then re-import into a new RSLogix project. Another would be to create an empty 'skeleton' file with the VBA macro code already loaded & ready for use. Both of these options seem a little clunky though - what I'd really like is to be able to access the RSLogix object model from a VB6 application... anyone with a need for the tool could just run an .exe whenever it was needed. All of us are running Pro, so I don't think activation/licensing should be a problem.
How can I go about accessing the RSLogix model from VB6? As a test, I opened Visual Studio, added a reference to RSLogix, and was able to access RSLogix5.Application.FullName and .Version. Anything deeper than that seems to raise an error. Code samples would be much appreciated!
Thanks!