G
Guest
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
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