PC Review


Reply
Thread Tools Rate Thread

Corrupt project

 
 
Joe
Guest
Posts: n/a
 
      14th Feb 2005
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?


 
Reply With Quote
 
 
 
 
Joe
Guest
Posts: n/a
 
      14th Feb 2005
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-Mail Removed)...
> 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?
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The VBA project in the database is corrupt ggg Microsoft Access 1 5th Jun 2008 02:26 AM
The VBA project in the database is corrupt ggg Microsoft Access 0 4th Jun 2008 01:03 PM
VBA project is Corrupt =?Utf-8?B?c2FwNG9yYQ==?= Microsoft Access Forms 4 25th Oct 2006 11:04 PM
Error:VB for App project is corrupt Veli Izzet Microsoft Access 4 18th Oct 2005 02:57 AM
VBA project corrupt Sharyn Microsoft Access 0 5th Feb 2004 03:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:43 PM.