Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 10:10:23 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
| | |-+  FileOpen Dialog And Loading G-Code?
Pages: 1   Go Down
Print
Author Topic: FileOpen Dialog And Loading G-Code?  (Read 751 times)
0 Members and 1 Guest are viewing this topic.
HimyKabibble
V4 Screen Contributor

Online Online

Posts: 1,346



View Profile
« on: March 16, 2009, 01:29:02 PM »

How can I create a macro that will display a FileOpen dialog to open a G-Code file, then load the file?  The GetOpenFilename method that I use in Excel doesn't seem to work in Mach - gets a syntax error.  I want to create a dupliciate of the Open G-Code File button with some extra functionality.

Regards,
Ray L.
Logged

Regards,
Ray L.
Greolt
Global Moderator
*
Offline Offline

Posts: 872


View Profile
« Reply #1 on: March 16, 2009, 03:59:27 PM »

Ray

Get familiar with this page,  http://www.machsupport.com/MachCustomizeWiki/index.php?title=OEM_Buttons

Also looking at other screens will reveal OEM codes that are more obscure sometimes.

OEM button 216 is the one you are looking for.

Greg
Logged
HimyKabibble
V4 Screen Contributor

Online Online

Posts: 1,346



View Profile
« Reply #2 on: March 16, 2009, 08:35:11 PM »

Ray

Get familiar with this page,  http://www.machsupport.com/MachCustomizeWiki/index.php?title=OEM_Buttons

Also looking at other screens will reveal OEM codes that are more obscure sometimes.

OEM button 216 is the one you are looking for.

Greg

Greg,

Yup....  Sometimes, you look at the list, and just don't see the one you're looking for.  Then you find it, or someone points it out to you, and you realize what a dope you are.....

Thanks!

Regards,
Ray L.
Logged

Regards,
Ray L.
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!