hexagon logo

Set A Variable in PC-DMIS with a textbox in VB.Net

Hi guys,

I have taken on the task of automating our CMM operations, and so far I have been able to push through some of my issues but I am stumped on this one. All I want to do is have the VB program output whatever is written in a textbox into a variable on PC-Dmis.

Thanks for the help.
Matt
Parents
  • I do know that VB.Net has an issue with collections, they are pretty much not recognized. You would need to use something more like

    For each Cmd in Cmds.Count



    I believe AndersI more accurately formulated the syntax, my example would probably not work, but the idea was the same. You can use the count (total # of commands) as a loop reference, but are not able to use the commands collection in the for each format.
Reply
  • I do know that VB.Net has an issue with collections, they are pretty much not recognized. You would need to use something more like

    For each Cmd in Cmds.Count



    I believe AndersI more accurately formulated the syntax, my example would probably not work, but the idea was the same. You can use the count (total # of commands) as a loop reference, but are not able to use the commands collection in the for each format.
Children
No Data