Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: swarfboy on November 20, 2008, 11:44:48 PM
-
mach3.042.020 throws a compile error when I try to use button parameters with MsgBox()
ie. MsgBox("test", 2 ,"test")
Does mach have all VB parameters?
-
look at the cypress manual from the Wiki
-
Lol. I understand why i needed to read it. It was involved. Well I got it working and here is my code.
Msg = "Will now probe tool to calculate Z to Probe distance."
Style = 4 + 64 + 0
Title = "Fixture Setup"
Response = MsgBox(Msg, Style, Title)
If Response = 6 Then
code "M101"
Else
Exit Sub
End If
I couldn't find the cypress enable language reference on the wiki. I ended up googling it and found it on another website. Can someone provide a link b/c even the wiki's page search function turned up zero results.
-
It used to be on either the download or docs page, but I don't see it anymore??
-
I found it here http://www.cypressinc.com/enduser.pdf
-
It is in the Wiki:
VB Scripting for Macros and user screen buttons
Introduction to scripting
Link to VB Script language definition and built in Subroutines/Functions here
There is a link at the word 'here' in:
Link to VB Script language definition and built in Subroutines/Functions here
-James