Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
Hello everyone

I am using the WebBrowser Control navigate function to navigate to "about:blank" in my application.
smartbrowser.navigate("about:blank").
The same code works find in Windows XP.
In Windows 7, I get the following error.

about:blank is not accessible.You might not have permission to use this network resource.Contact the administrator of this server to find out if you have access permissions.
The parameter is incorrect.


smartbrowser is a browser that is created by inherited by usercontrol

SmartBrowser: UserControl

Is there any configuation setting for ie or win7 that could fix this issue.

Or do i need to add any code to fix it.

Please help ASAP.

Thanks u in advance
Posted
Comments
db7uk 3-Jan-14 17:19pm    
when you say using the webbrowser control. Could you be a little more specific? is this wpf or winforms?

1 solution

its a windows form application
 
Share this answer
 
Comments
db7uk 5-Jan-14 15:09pm    
Hi, I missed the response as this was updated in a solution. It would have been better to reply to my comment. That said, I have tried to re-create the issue but I am not getting the same problem. Do you have any code that you can post or send over the project / part of the project?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900