Below is an example to display image file (or folder content) by using a web browser:
1) Define region of a "webbrowser" component in a windows form
2) Call below command to activate the browser:
webBrowser1.Navigate(g_strPath); // System.Windows.Forms.WebBrowser()
Example of g_strPath: http://myclick.cn/mcs/MIU/testmmsii.htm");
Example of activate a window form:
Form2 webObj = new Form2(strURL);
webObj.Show();
Monday, February 8, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment