C
Chuck Bowling
I have a form with a browser control on it that i want to display a page in
the application directory of a Forms project. I _think_ the browser is
looking for an absolute address but an absolute address would make the app
nonportable. Anybody know how I can feed the browser control a relative
address that isn't dependant on the full path?
public class FoodHelpBrowser : System.Windows.Forms.Form
{
private AxSHDocVw.AxWebBrowser axWebBrowser1;
private System.ComponentModel.Container components = null;
public FoodHelpBrowser()
{
InitializeComponent();
Object o = null;
axWebBrowser1.Navigate("FoodHelp.html", ref o, ref o, ref o, ref o);
this.Show();
}
}
the application directory of a Forms project. I _think_ the browser is
looking for an absolute address but an absolute address would make the app
nonportable. Anybody know how I can feed the browser control a relative
address that isn't dependant on the full path?
public class FoodHelpBrowser : System.Windows.Forms.Form
{
private AxSHDocVw.AxWebBrowser axWebBrowser1;
private System.ComponentModel.Container components = null;
public FoodHelpBrowser()
{
InitializeComponent();
Object o = null;
axWebBrowser1.Navigate("FoodHelp.html", ref o, ref o, ref o, ref o);
this.Show();
}
}