error in web page loaded on window form
-
hiya i'm back i'm using the following code to load the webpage
private void setHtmlPage()
{
object p1="";
object p2="";
object p3="";
object p4="";
string URL1 = Application.StartupPath + "\\introduction.html";axWebBrowser1.Navigate(URL1,ref p1,ref p2,ref p3,ref p4); }
however the page that is displayed is of the page cannot be diplayed.... it doesn't show the contents of my web page. what is it that i'm missing ????:sigh:
-
hiya i'm back i'm using the following code to load the webpage
private void setHtmlPage()
{
object p1="";
object p2="";
object p3="";
object p4="";
string URL1 = Application.StartupPath + "\\introduction.html";axWebBrowser1.Navigate(URL1,ref p1,ref p2,ref p3,ref p4); }
however the page that is displayed is of the page cannot be diplayed.... it doesn't show the contents of my web page. what is it that i'm missing ????:sigh:
Why do you need to provide four objects ? I never do. I think I set the Url directly tho. Get the path in question ( the value of URL1 ) and try it in IE, to make sure it is valid.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Why do you need to provide four objects ? I never do. I think I set the Url directly tho. Get the path in question ( the value of URL1 ) and try it in IE, to make sure it is valid.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
thanks dude, i just found the mistake. untill the next problem regards:rose: