Hello Guest it is March 29, 2024, 07:55:42 AM

Author Topic: Auto-detecting Mach3 Installation directory  (Read 2153 times)

0 Members and 1 Guest are viewing this topic.

Auto-detecting Mach3 Installation directory
« on: March 29, 2014, 04:26:30 PM »
Hi Everyone,

Is there a way I can auto-detect the Mach3 installation directory? I have some VB code that right now assumes the installation directory is C:\Mach3\... as a temporary measure.  Is there any way to tell where the program is installed from the VB code itself on the fly?

Thanks,
Ryan

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Auto-detecting Mach3 Installation directory
« Reply #1 on: March 29, 2014, 05:09:55 PM »
GetMainFolder()
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Auto-detecting Mach3 Installation directory
« Reply #2 on: March 29, 2014, 05:31:01 PM »
Cool, it works thanks!