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.
This is a snippet of code the way I do it in VB6 -
For Each Cmd In Cmds
If Cmd.TypeDescription = "Assignment" And Cmd.GetText(DEST_EXPR, 0) = "JOBNO" Then
bln = Cmd.PutText("1234", SRC_EXPR, 0)
End If
Next Cmd
This is a snippet of code the way I do it in VB6 -
For Each Cmd In Cmds
If Cmd.TypeDescription = "Assignment" And Cmd.GetText(DEST_EXPR, 0) = "JOBNO" Then
bln = Cmd.PutText("1234", SRC_EXPR, 0)
End If
Next Cmd