G
Guest
I am using an AxWebBroswer in a C# project. (.Net 2002
If I use it to touch external sites, then thing work as expected. I can open multiple windows with AxWebBrowsers in them and everything still works
If, on the other hand, I open a local file (e.g., d:\index.html) then nothing is displayed and the hourglass is shown when the cursor in on the viewing area. Any forms with a web broswer after this,show the same behavior (blank viewing area with hourglass) even if the window is trying to hit an external web page. If I change the URL in any of windows to point to a local directory rather than a local html file, then I see a directory shown. If I then enter a url (local file or remote web site) then pages work fine. for that window. I need to do this on each form to get the forms to work.
To make clear, if I use d:\index.html as the first URL touched by an AxWebBrowser then the view area is blank and an hourglass shown. If I then try http://www.microsoft.com as the URL for that AxWebBrowser, I get the same behavior. If I then try d:\ as the URL for that AxWebBrowser, I get a directory listing. If I then try http://www.microsoft.com as the URL for that AxWebBrowser, I get the microsoft site shown. If I then try d:\index.html as the URL for that AxWebBrowser, I get the index.html web page shown, as I expected for the first tim
1. Has anyone seen this behavior
2. Does anyone have an idea on why this is
3. Any ideas on workarounds
Thanks
Ralph
If I use it to touch external sites, then thing work as expected. I can open multiple windows with AxWebBrowsers in them and everything still works
If, on the other hand, I open a local file (e.g., d:\index.html) then nothing is displayed and the hourglass is shown when the cursor in on the viewing area. Any forms with a web broswer after this,show the same behavior (blank viewing area with hourglass) even if the window is trying to hit an external web page. If I change the URL in any of windows to point to a local directory rather than a local html file, then I see a directory shown. If I then enter a url (local file or remote web site) then pages work fine. for that window. I need to do this on each form to get the forms to work.
To make clear, if I use d:\index.html as the first URL touched by an AxWebBrowser then the view area is blank and an hourglass shown. If I then try http://www.microsoft.com as the URL for that AxWebBrowser, I get the same behavior. If I then try d:\ as the URL for that AxWebBrowser, I get a directory listing. If I then try http://www.microsoft.com as the URL for that AxWebBrowser, I get the microsoft site shown. If I then try d:\index.html as the URL for that AxWebBrowser, I get the index.html web page shown, as I expected for the first tim
1. Has anyone seen this behavior
2. Does anyone have an idea on why this is
3. Any ideas on workarounds
Thanks
Ralph