gchq
Well-known member
- Joined
- Dec 14, 2007
- Messages
- 168
- Programming Experience
- 10+
Hi there
Just moved a .NET 2.0 App from VS2005 to VS2010 and noticed that now when a window containing a WebBrowser tries to retrieve a pdf it thows out an error (unknown file type System.Byte[]). This would usually indicate that Acrobat Reader has not been installed - but open up IE9 and enter the link into the address bar and the PDF displays in the browser without any incident!
Should point out that the app created in VS2005 and installed on Win 7 (actually Server 2008 R2 in 'Workstation Mode') has the same issue..
All works fine in XP and below... Do seem to remember this on a Vista box, but put that down to Acrobat not being installed!
Any ideas?
Thanks
Just moved a .NET 2.0 App from VS2005 to VS2010 and noticed that now when a window containing a WebBrowser tries to retrieve a pdf it thows out an error (unknown file type System.Byte[]). This would usually indicate that Acrobat Reader has not been installed - but open up IE9 and enter the link into the address bar and the PDF displays in the browser without any incident!
Should point out that the app created in VS2005 and installed on Win 7 (actually Server 2008 R2 in 'Workstation Mode') has the same issue..
All works fine in XP and below... Do seem to remember this on a Vista box, but put that down to Acrobat not being installed!
Any ideas?
Thanks