Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 12:51:23 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  How do I use an OEM code with VB?
Pages: 1   Go Down
Print
Author Topic: How do I use an OEM code with VB?  (Read 1948 times)
0 Members and 1 Guest are viewing this topic.
Darc
Active Member

Offline Offline

Posts: 177


View Profile
« on: April 11, 2007, 05: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.
Logged
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #1 on: April 11, 2007, 07: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
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #2 on: April 12, 2007, 07:19:35 PM »

Use:

DoButton(169), in a button or other script
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!