G
Guest
I have code like this:
SHDocVw.WebBrowserClass webCtl= new SHDocVw.WebBrowserClass();
object theURLobj;
string theURL="overview.htm";
theURLobj= (object)theURL;
object nullObj = null;
webCtl.Navigate2(theURLobj,nullObj,nullObj,nullObj,nullObj);
//GIVES ERROR :
Argument '1': cannot convert from 'object' to 'ref object'
.....
Argument '5': cannot convert from 'object' to 'ref object'
What does anyone suggest ! Thanks Andrew
SHDocVw.WebBrowserClass webCtl= new SHDocVw.WebBrowserClass();
object theURLobj;
string theURL="overview.htm";
theURLobj= (object)theURL;
object nullObj = null;
webCtl.Navigate2(theURLobj,nullObj,nullObj,nullObj,nullObj);
//GIVES ERROR :
Argument '1': cannot convert from 'object' to 'ref object'
.....
Argument '5': cannot convert from 'object' to 'ref object'
What does anyone suggest ! Thanks Andrew