Hello Guest it is March 29, 2024, 03:49:53 AM

Author Topic: Find mach version from VB?  (Read 3728 times)

0 Members and 1 Guest are viewing this topic.

Find mach version from VB?
« on: June 02, 2009, 01: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

Offline zealous

*
  •  489 489
  • HI!
    • View Profile
    • Artsoft Solutions
Re: Find mach version from VB?
« Reply #1 on: June 02, 2009, 11:08:55 PM »
Having one would help us all out :) %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.
Re: Find mach version from VB?
« Reply #2 on: June 03, 2009, 02: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