Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: ftomazz on October 02, 2008, 06:56:22 AM

Title: Running a system function from VB
Post by: ftomazz 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
Title: Re: Running a system function from VB
Post by: ger21 on October 02, 2008, 11:16:01 AM
DoOEMButton(22)
Title: Re: Running a system function from VB
Post by: ftomazz 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