Hello Guest it is April 25, 2024, 01:48:58 PM

Author Topic: How do I use an OEM code with VB?  (Read 4041 times)

0 Members and 1 Guest are viewing this topic.

Offline Tarak

*
  •  229 229
    • View Profile
How do I use an OEM code with VB?
« on: April 11, 2007, 06:00:23 PM »
I've got a button that runs g code
e.g
CODE "G90 G00 X10.0"

Before the code runs I would like it to close any open G code program (just in case).
I noticed on the CLOSE G CODE BUTTON the OEM code is 169.
How do I use this OEM with VB?
Thanks.

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: How do I use an OEM code with VB?
« Reply #1 on: April 11, 2007, 08:49:07 PM »
Not sure at all but think it is (Do Button #XX). Look at the ref all home button with the Vb script editor, that might help.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: How do I use an OEM code with VB?
« Reply #2 on: April 12, 2007, 08:19:35 PM »
Use:

DoButton(169), in a button or other script
fun times