mercredi 31 octobre 2018

Passing File Path throught URI Protocol launch appilcation

I have URI Protocol like this

Key Name: HKEY_CLASSES_ROOT\testap Class Name: Last Write Time: 31/10/2018 - 11:32 AM Value 0 Name: URL protocol Type: REG_SZ Data:

Key Name: HKEY_CLASSES_ROOT\testap\shell Class Name: Last Write Time: 31/10/2018 - 11:27 AM

Key Name: HKEY_CLASSES_ROOT\testap\shell\open Class Name: Last Write Time: 31/10/2018 - 11:27 AM

Key Name: HKEY_CLASSES_ROOT\testap\shell\open\command Class Name: Last Write Time: 31/10/2018 - 11:37 AM Value 0 Name: Type: REG_SZ Data: "E:\MyApp.exe" "%1"

I Want pass file path like this "E:\ShortHelp_English.pdf"

when I run testap:E:/ShortHelp_English.pdf My application return an Error like this

Error application not found path Any one Can show me right way to passing my file path throught application ?




Aucun commentaire:

Enregistrer un commentaire