Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 06:14:42 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
| | |-+  Find mach version from VB?
Pages: 1   Go Down
Print
Author Topic: Find mach version from VB?  (Read 997 times)
0 Members and 2 Guests are viewing this topic.
mvcalypso
V4 Screen Contributor

Offline Offline

Posts: 48


View Profile
« on: June 02, 2009, 12:33:09 PM »

Hi -
I've loopked thru docs and the wiki but id not find this -
Does anyone know of a call to find the mach version info from VB?
Dave
Logged
zealous
Active Member

Offline Offline

Posts: 486



View Profile WWW
« Reply #1 on: June 02, 2009, 10:08:55 PM »

Having one would help us all out Smiley %90 if a customer has a issue it is because they are using an older version of Mach.

You would be best requesting at the Yahoo forum for one...but there is a trick that I know if you can parse a XML file that I can share:

Under:
C:\Mach3\Uninstall\uninstall.xml

Find this value:

<Name>%SourceFilename%</Name>
<Value>C:\Documents and Settings\MyComputer\Desktop\Mach3Version3.043.000.exe</Value>


If you would like I can write VB code to do this for you.
Logged

Regards, Jason Blake

www.Fusioncnc.com
mvcalypso
V4 Screen Contributor

Offline Offline

Posts: 48


View Profile
« Reply #2 on: June 03, 2009, 01:47:04 PM »

Now that's an interesting tidbit - thanks Jason.
Thanks for the offer, but I'll whip up the parsing code if I decide to use this tip.

Seems odd that this basic ability is missing from mach - I'l ping Brian to see if I can get any interest in adding it.
Sure would make writing extensions to mach feel safer - I use features that I know require a certain rev or later - I wanted to make the extensions check for an appropriate mach level before running.

Dave

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!