Mach Discussion > VB and the development of wizards
vba and vb-differences
Fred_evans:
hello all ,
It is cold in Johannesburg at the moment must be at least 18 degrees with a midday high of 24 to 26. Brrrrrr
Concurrently with many other projects i am trying to learn VBA.
Mach scripts are written in VB.
are there many significant differences?
Like what does doOEMbutton(169) translate to in plain english
Best regards
fred evans
joeaverage:
Hi,
do yourself a favor, learn Lua instead.
Craig
Tweakie.CNC:
Hi Fred,
As Craig suggests best to learn Lua and look toward the future.
The Mach3 scripts are written in Cypress Enable which is a subset of Visual Basic. It is almost identical to VB but, as you are aware, there are some important differences.
DoOemButton(169) is the equivalent of pressing an on-screen button which will close the current file.
You will find the OemButton codes and Cypress Enable documentation in the Members Documents section of the forum.
Tweakie.
Fred_evans:
thank you chaps--
I dont know anything about lua but I will look it up. Unfortunenately I am past my sell by date
on learning new software -so i will probably give this issue a miss-
many thanks
fred evans
Tweakie.CNC:
:)
Navigation
[0] Message Index
[#] Next page
Go to full version