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
  • You can always do (PC-DMIS BASIC, might differ slightly from VB.NET)

      For I = 1 to Cmds.Count
        Set Cmd = Cmds(I)
        <do something with Cmd>
      Next I
    


    or

      Cmd = Cmds[1]
      while ??some expression testing for not null which I don't remember how it should look??
        <do something with cmd>
        Cmd = Cmd.Next
      end while
    
Reply
  • You can always do (PC-DMIS BASIC, might differ slightly from VB.NET)

      For I = 1 to Cmds.Count
        Set Cmd = Cmds(I)
        <do something with Cmd>
      Next I
    


    or

      Cmd = Cmds[1]
      while ??some expression testing for not null which I don't remember how it should look??
        <do something with cmd>
        Cmd = Cmd.Next
      end while
    
Children
No Data