Re: Probelm with Process and shortcut

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello,

It works fine on my system. Have you tried it with different links or documents other than Acrobat Reader?

Regards.


"sebseb" <sebseb@xxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje news:3FBFF7A7-B9DA-4272-8C48-7262D6ACAE75@xxxxxxxxxxxxxxxx
| Thank you for answering, but the result is same... still not work, and still
| the same exception with the same message
|
| The French version of this message could be a help, maybe, since it's bit
| different from the English message, it says : "Aucune application n'est
| associée au fichier spécifié pour cette opération" which means "There is no
| application associated to this file for this operation"
|
| The English equivalent was : "The specified executable is not a valid Win32
| application"
|
| I still need help, my whole project will be affected if I can't resolve it,
| I can bypass by changing strategy, but it will but much much less useful for
| end-users :S
|
|
| "José Manuel Agüero" wrote:
|
| > Hello sebseb,
| >
| > Try the following:
| >
| > Process p;
| > p.StartInfo.FileName = "path\\of\\my\\shortcut\\file.lnk";
| > p.StartInfo.Verb="open";
| > p.Start();
| >
| >
| > Regards.
| >
| >
| > "sebseb" <sebseb@xxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje news:ABD158B7-AF8A-4368-AC6A-392A3AEC3D06@xxxxxxxxxxxxxxxx
| > | Hello
| > |
| > | I directly go to the problem, I create a Process, I set the Filename to the
| > | full path and filename of a shortcut file (.lnk) and then I start my process,
| > | like this :
| > |
| > | Process p;
| > | p.StartInfo.FileName = "path\\of\\my\\shortcut\\file.lnk";
| > | p.Start();
| > |
| > | My problem is that I always get a Win32Exception, with this message :
| > | "The specified executable is not a valid Win32 application"
| > |
| > | My shortcut is valid, it links to a PDF file and when I double-click on my
| > | shortcut, I get my PDF document open in Acrobat, properly
| > |
| > | Thank you in advance for any help

.



Relevant Pages

  • Re: Opening with Preview
    ... > I am currently using an iBook G4 and normally when I view a pdf file ... Here are some instructions for changing from Preview to Acrobat Reader ... Part way down the left side of that information box is an arrow next ... That section of the info box opens up to reveal a horizontal window ...
    (comp.sys.mac.apps)
  • RE: FineReader
    ... Open the .pdf file in Adobe Acrobat Reader. ... On the Edit menu, click Select All. ... To copy graphics, follow these steps: ...
    (microsoft.public.word.docmanagement)
  • Re: cant find a way to display and print pdf through python.
    ... will open a pdf file from a shell command line. ... Acrobat Reader is also listed on my system. ... ubuntu linux. ...
    (comp.lang.python)
  • Re: Splitting/Combing data question
    ... Acrobat Distiller to export the PDF file to a different format and use ... > The Import Wizard allows a line at which to commence import. ... > Regards and Thanks. ...
    (microsoft.public.excel.programming)
  • Re: IE6 not opening PDF files
    ... I have acrobat reader 6.0.3 installed and it works fine ... >> have to download and open the local .pdf file. ... configured to display the PDF within the browser window? ... Or perhaps you used some utility that disabled its BHO. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)