AxWebBrowser control problem

C

Chuck Bowling

I have a problem and frankly i just don't know enough to understand what it
is. I have a control wrapper that wraps the IE browser control. The wrapper
complies fine as a UserControl. I did have it working but i made some
changes to it without backing up the original. Now i'm stuck.

When i try to get the control to run in a test form i get this except:

An unhandled exception of type
'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll

------------------------------
An unhandled exception of type
'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll

Additional information: Could not find any resources appropriate for the
specified culture (or the neutral culture) in the given assembly. Make sure
"NetBrowser.resources" was correctly embedded or linked into assembly
"NetBrowser".
baseName: NetBrowser locationInfo: NetBrowserLib.NetBrowser resource file
name: NetBrowser.resources assembly: NetBrowser, Version=1.0.1662.16116,
Culture=neutral, PublicKeyToken=null
 
W

Wiktor Zychla

Can someone give me a clue as to what the problem is and how i can fix it?
thanks...

try to comment a line that says

......OcxState =
((System.Windows.Forms.AxHost.State)(resources.GetObject(....)));

I hope this will help
Wiktor Zychla
 
S

Shakir Hussain

Can you send me the solution to (e-mail address removed) in zip format?. If
you want, you can remove the additional code. Just make sure you get that
error before sending it to me. I will try to fix ur problem.
 
C

Chuck Bowling

Wiktor and Shakir, thanks for the replies.

I found the problem. When I changed the name of the namespace in my
sourcefile it didn't update namespace the project settings.
 

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