Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:30:16 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  MsgBox()
Pages: 1   Go Down
Print
Author Topic: MsgBox()  (Read 1375 times)
0 Members and 2 Guests are viewing this topic.
swarfboy
Active Member

Offline Offline

Posts: 69


View Profile
« 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?

Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: November 21, 2008, 01:33:43 AM »

look at the cypress manual from the Wiki
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/
swarfboy
Active Member

Offline Offline

Posts: 69


View Profile
« Reply #2 on: November 21, 2008, 01:15:05 PM »

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.
Logged
ger21
Global Moderator
*
Online Online

Posts: 2,620



View Profile WWW
« Reply #3 on: November 21, 2008, 01:33:20 PM »

It used to be on either the download or docs page, but I don't see it anymore??
Logged

softselect
Active Member

Offline Offline

Posts: 56



View Profile
« Reply #4 on: January 22, 2009, 04:52:30 AM »

I found it here http://www.cypressinc.com/enduser.pdf
Logged
jemmyell
Active Member

Offline Offline

Posts: 106


View Profile WWW
« Reply #5 on: January 23, 2009, 11:19:33 AM »

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
Logged

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!