Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:21:40 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
| | |-+  some VB questions
Pages: 1   Go Down
Print
Author Topic: some VB questions  (Read 1425 times)
0 Members and 1 Guest are viewing this topic.
tantan
Active Member

Offline Offline

Posts: 68


View Profile
« on: April 20, 2008, 06:12:19 AM »

hi,

i just started with VB programming in Mach3 (version 2.63). in "general config" i switched "run marco pump" on.

but i have the following questions:

1. my macrocode runs but only if i start it manually. how can i let it run continuously when mach starts.
2. i want an extra button on a standard mach screen (lathe) to jump to my own developed screen. how can i edit de default mach screens.
3. i have a button and a button script on my own developed mach screen. but when i press the button (with my mouse) the VB buttonscript does not run?

thanks,

antoine
the netherlands
Logged
Bodini
Active Member

Offline Offline

Posts: 112



View Profile
« Reply #1 on: April 20, 2008, 07:33:39 AM »

1. my macrocode runs but only if i start it manually. how can i let it run continuously when mach starts.
2. i want an extra button on a standard mach screen (lathe) to jump to my own developed screen. how can i edit de default mach screens.
3. i have a button and a button script on my own developed mach screen. but when i press the button (with my mouse) the VB buttonscript does not run?

1. name it "macropump.m1s" and put it in c:\mach\macros\mach3mill (or whatever profile folder you're using).  you then have to restart mach for it to take effect.  *edit* oops, just noticed youre using lathe, that goes in a different folder.  i dont use lathe, so i dont know what that folder is.
2.  look up "screen4" on the mach site.  thats the program that edits screens.  its located in c:\mach\screen4.  there is a movie on how to use it on the site here.
3. make sure the button is hooked to the script.  that can be set in screen4 too (make it an on-screen script or run a seperate macro).
« Last Edit: April 20, 2008, 07:40:56 AM by Bodini » Logged
tantan
Active Member

Offline Offline

Posts: 68


View Profile
« Reply #2 on: April 20, 2008, 12:28:25 PM »

thank you,

just what i needed. i  Smiley

antoine
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!