Find the full path of a specific exe file
I am trying to run compare.exe araxis from VB.
As long as I have the full path of the compare.exe file, then, I have no problem running the exe via the shell command.
However, since the exe location might differ from one machine to another I want my code to be flexible enough so that it will automatically recognize the compare.exe path for every machine that uses my code.
Notice the following:
1. The FindExecutable solution does work in finding docs, xcel and other types of executables however in my case it will not work since there is no file extension for araxis.
2. The Environ option will not work since it is not a must to have the compare.exe definition under the ENVIRON(“PATH”). Therfore this solution is not reliable.
I am really desperate for a solution!
Thanks, Tami.
Re: Find the full path of a specific exe file
Unless Araxis sets a registry key telling you where it is installed, I believe your only option is to have a configuration that allows the user to specify where the compare.exe file is located.
Re: Find the full path of a specific exe file
If it does show the path in the reg do yo know how I can use it?
Re: Find the full path of a specific exe file
Re: Find the full path of a specific exe file
Thanks HanneSThEGreaT,
However I still can't manage to get this working.
I still don't quite understand how to pull out from the regestry the full path for for my "compare.exe" file.
could you (or anyone) please provide me a simple code example.... Thanks!
Re: Find the full path of a specific exe file
Hello again.
OK, let me ask you this:
Did you find the registry key in which Araxis saves info ?
Re: Find the full path of a specific exe file
Re: Find the full path of a specific exe file
Do you have any documentation on Araxes, I suggest you go through them, or contact their help desk