WebBrowser control question

  • Thread starter Thread starter Starbuck
  • Start date Start date
S

Starbuck

Hi

I want to display a local file in a webBrowser control which is set in a
Form.
Hard coding the URL value of the control to file://c:\\filecom\\filecom.htm
works fine but when I try to do this in code with -
wb1.Navigate(new Uri(address));
The variable address also has the value 'file://c:\\filecom\\filecom.htm'
but all I get is a blank web control.
Can anyone tell me what I am doing wrong please.

Thanks in advance
 
Back
Top