Hello Guest it is April 20, 2024, 03:16:13 AM

Author Topic: Running a system function from VB  (Read 3295 times)

0 Members and 1 Guest are viewing this topic.

Running a system function from VB
« on: October 02, 2008, 06:56:22 AM »
Hello.

There is a system function that is: Home X

I want, in a button that does several other things with VB to call that system function.
Right now, I need to press two buttons. One with the system call and the other with the rest of the VB stuff. It should be all done with one button.
How can I do that ?

Thank you

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Running a system function from VB
« Reply #1 on: October 02, 2008, 11:16:01 AM »
DoOEMButton(22)
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Running a system function from VB
« Reply #2 on: October 02, 2008, 01:40:54 PM »
Thanks !

I do not know why, but I was insisting in DoButton(xx). The system did not complain, but also did nothing. DoOEMbutton did it !

Thanks