url - Trying to open an application with parameter via an Application Protocol Handler -


i trying figure out issue application protocol handler i've created. following directions listed on msdn (http://msdn.microsoft.com/en-us/library/aa767914%28v=vs.85%29.aspx), able register application, pdf annotator, open via url. issue experiencing when try pass parameter along call. application open, file parameter gets passed not opening within application.

my registry key verbatim dictated msdn. html code follows:

pdfannotator:c:\path\to\file\file.pdf 

the way understood protocol handler takes url , tries launch via command line. being said, able open pdf file in pdfannotator following command in prompt:

pdfannotator.exe c:\path\to\file\file.pdf 

i've tried formatting file path in html differently thinking issue too. has else come across issue or similar?

obligatory update future generations (http://xkcd.com/979/):

the reason doing because half of pdfs application handled editable while other half read-only. trying keep read-only ones in browser acrobat plugin (i'm targeting chrome only) while protocol allow me set links of editable ones open annotator. tried, on whim, reverse (setting default annotator , creating protocol acrobat). did this, first trying acrobat's uri scheme (acrobat://), didn't work outside of opening acrobat. then, tried creating protocol acrobat. when fired off, gave me error stating path wrong file name, path name, or volume. so, progress? i'm giving on other priorities have come up, helps down road.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -