Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine EXE location
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01358106
Message ID:
01358122
Views:
17
>>>Is it possible, using C#, to determine the location of a specified EXE? Specifically, I would like to find the install location of the Java SDK.
>>
>>Check http://it.toolbox.com/blogs/paytonbyrd/how-to-use-findexecutable-from-c-3324
>
>Well it was able to find the location of WinWord.exe based on a .doc path, but when I passed it a .java file, it returned an empty string. It's probable a file association problem.

Could be. If you double click on the java file, does it open the Java SDK correctly?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform