Corrupt project

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Some how I believe my project got corrupt.

I added a new form to my project and the keyword highlighting and intelsense
stopped working. If I would complie it would come back for a short time.

I saw a message about a blank line in the licenses.licx file. I removed the
blank line and it seemed to fix my problem. But now I have another major
problem. My ActiveX control doesn't work anymore.

When I run my application I get and error:
An unhandled exception of type 'System.InvalidOperationException' occurred
in system.windows.forms.dll

Additional information: Unable to get the window handle for the 'AxDCube'
control. Windowless ActiveX controls are not supported.

Everything has been working fine up until I added the form.

I can add the same control to another project and it works.

What could have gone wrong with my project that would cause this?
 
More info:

It seems if I drop the same control on another form within the same project
it works BUT the form can't be a MdiChild form. If I try it on a child form
I get the same error as before.

This was working fine and just stopped working when the IDE got weird.

One more point worth mentioning: I left my computer running the other day
with the project open and running in debug mode. When I come back to it the
next day, the machine was locked up and I needed to hit reset. I don't kow
if this has anything to do with it.
 

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

Back
Top