[RESOLVED] - Whoops - unable to view file" message
I have an application that processes MS-Word files, and I enable the user to view the files through the WebBrowser control (that seemed like the best option to display a Word doc, as the OLE control sucks). Anyway, I have no problems displaying any file in the webbrowser control when I run the app from my development box (Win 98 laptop). However, when the app is run on the user's machine (Win XP Pro), while the app does display most documents without a problem, on longer ones, she is getting the message "Whoops - unable to view this file (GP) - QuickView Plus". Any idea why or how to fix it?
Last edited by BruceG; Nov 12th, 2002 at 02:19 PM.
To simulate the code in question, add the WebBrowser control by going to Project->Components and checking "Microsoft Internet Controls". Place the WebBrowser control and a command button on the form. In the Click event of the command button, place this code:
Code:
Private Sub Command1_Click()
WebBrowser1.Navigate2 "C:\MyDir\MyWordFile.doc"
End Sub
where C:\MyDir\MyWordFile.doc is any MS-Word doc of your choice. See if you can display a doc of 30 pages or so (that's where my user is getting the error, although I can display it fine).
The message indicates that they are using a plug-in called "QuickView Plus", which I don't have. Did you ever hear of it, and if so, can it be disabled when trying to view documents in IE?
QuickVeiw Plus is a utility program (by JASC Software) that you can buy (or download a trial version) free; also it may come bunded with some other software. It lets you read files from programs that you don't have. Example: Someone gives you a spreadsheet (.xls file), but you don't have Excel. With QV+, you can read the .xls file.
I found that you can change the configuration of QuickView Plus to tell it which programs it should or should not integrate with. Having unchecked Internet Explorer, the problem was solved.