I have a Windows Form containing a WebBrowser, that I'm using to display PDF documents inside my apps. I have a Document class with a FileName property, and the WebBrowser's source is bound to that property.
However, with some networked files, the form can take about 30 seconds (up to 2 minutes sometimes) to display a single PDF file. The network share is hosted on an IBM iSeries.
The issue only happens in Windows 7 (on XP, the file opens instantly), and only once :
- User boots the workstation
- Launches the program
- Tries to view a UNC file : long delay
- Closes the window
- Tries to view the same file or any other UNC file : opens instantly
Any clues as to what may be causing this ?