Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine EXE location
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01358106
Message ID:
01358122
Vues:
16
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform