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?