468,268 Members | 1,717 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

Corrupt project

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?
Nov 16 '05 #1
1 1569
Joe
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.

"Joe" <J_no_spam@_no_spam_Fishinbrain.com> wrote in message
news:#E**************@TK2MSFTNGP15.phx.gbl...
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?

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Trond A. S. Andersen | last post: by
3 posts views Thread by rdemyan via AccessMonster.com | last post: by
4 posts views Thread by GS | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.