Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path of executing file (non WinForm)
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00906176
Message ID:
00906187
Vues:
20
HI Gary

Try using Application.ExecutablePath.
Note: you are going to have to remove the executable file's name.

Good Luck !!



>> Hi
I'm trying to get the path of the program that is executing. I only found
Environment.CurrentDirectory. However that only returns the Current Set Directory not the directory of the file executing. Same with FileInfo.DirectoryName or FullName.


Thanks
Gary
"If glory comes after death, I have no hurry"
Marcial
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform