Hello,
I'm trying let the user check off multiple pdf files to print from the browser. I have a VB6 app that was converted to VB.NET project which uses WinApi ShellExecute (we pass the path and the printer to the DLL). It works fine when calling the method from a VB.NET app, but when running from ASP/ASP.NET it won't launch the Acrobat reader (does not err either). It must have something do with ASPNET_wp not being able to launch it??? but I can't seem to get <Identity impersonation=true to work correctly on my local machine.
So, 2 questions:
1. Why can I launch acrobat and print from VB and VB.NET, but not from ASP and ASP.NET?
2. Is there a better way to print a pdf (without user interaction) that won't leave the reader window open (that's what happens when it's successful from VB)?
Any light on this subject is greatly appreciated.
Thanks much
I'm trying let the user check off multiple pdf files to print from the browser. I have a VB6 app that was converted to VB.NET project which uses WinApi ShellExecute (we pass the path and the printer to the DLL). It works fine when calling the method from a VB.NET app, but when running from ASP/ASP.NET it won't launch the Acrobat reader (does not err either). It must have something do with ASPNET_wp not being able to launch it??? but I can't seem to get <Identity impersonation=true to work correctly on my local machine.
So, 2 questions:
1. Why can I launch acrobat and print from VB and VB.NET, but not from ASP and ASP.NET?
2. Is there a better way to print a pdf (without user interaction) that won't leave the reader window open (that's what happens when it's successful from VB)?
Any light on this subject is greatly appreciated.
Thanks much