-
April 12th, 2010, 02:59 PM
#1
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.
-
April 12th, 2010, 03:06 PM
#2
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.
-
April 13th, 2010, 01:41 AM
#3
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?
-
April 13th, 2010, 09:47 AM
#4
Re: Find the full path of a specific exe file
-
April 14th, 2010, 03:35 AM
#5
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!
-
April 14th, 2010, 09:18 AM
#6
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 ?
-
April 21st, 2010, 01:19 AM
#7
Re: Find the full path of a specific exe file
-
April 21st, 2010, 10:52 AM
#8
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|