WebBrowser control question

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top