|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
System.Windows.Forms.WebBrowser and Java and Blank PagesI am writing a class library that takes screen shots of pages of websites. I
am using System.Windows.Forms.WebBrowser to navigate to the web page. I call the Navigate method, and then respond to the DocCompleted event handler. I use the DrawToBitmap method to create a bitmap image and display it to the user or save it to a file. When I navigate to a website that has a java control on it, it always returns a blank page. This has to be a bug in the WebBrowser control. Does anyone have a fix or a workaround for this problem? -- Jon Ebersole Microsoft Certified Solution Developer Hello Jon,
From your description, you're developing a windows form application which use WebBrowser control to programmatically navigate some internet pages and capture the page screenshot. However, you found some pages that contains java control(Applet? ) will display as blank page in webbrowser, correct? Regarding on those pages which contain java controls, can you correctly view them if you use standard webbrowser(IE or firefox) to visit them? Also, since java control(applet) rely on JVM installed on the client machine, have you installed the latest version of the java JVM to see whether it works? Sincerely, Steven Cheng Microsoft MSDN Online Support Lead This posting is provided "AS IS" with no warranties, and confers no rights.
access validation info in client script
Custom Server Control ASP:Menu control Dropdowns show above Main Menu Datagrid on WebPart: After postback Data is disappearing Loading JavaScript files from a class library set dropdownlist selectedindex in datagrid Accessing Controls in LoginView Cause GridView to be sorted from DropDownList GridView Dynamically Inserted Template with RadioButton How to implement ClientScript.RegisterClientScriptInclude |
|||||||||||||||||||||||