473,395 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1753
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Vinay | last post by:
Hi I have a corrupt word file. I am able to open it with the code given below tr Dim pInfo As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo( pInfo.UseShellExecute...
12
by: Nick Stansbury | last post by:
Hi, Access 2003. Running over terminal server on a Windows Server 2003 box. The error occurs on every machine that I've tried copying the file to. Latest Jet SP & Office SP. Database hasn't been...
4
by: Harris | last post by:
Can anyone please help? I have read the postings on the error "The Visual Basic for Applications Project in the database is corrupt" but none report the particular problem I am experiencing, i.e.,...
1
by: Trond A. S. Andersen | last post by:
Hi all, I'm working on a project in which i need to send mail attachments in the form of Excel documents from a .NET C# application. I've written a class which creates the Excel document using...
2
by: Simon | last post by:
Dear reader, I can't repair this with Tools>>Database utilities>>Compact and repair database.... And another way around: after creating a new database and start import all
3
by: rdemyan via AccessMonster.com | last post by:
One of my users had a corrupt front end that wouldn't open. My app is launched using a launching application (logon app). The logon app has a button for downloading a "fresh" copy of the front...
4
by: GS | last post by:
How do I fix this corrupt resource file header problem? Corrupt .resources file. Got an unexpected EndOfStreamException while trying to read the ResourceReader header. When I open up properties,...
2
by: wevans | last post by:
I designed a db in Access 07 and opened it up once in Access 2003. No when I open it up in 07 again I get this message... "The database cannot be opened because the VBA project contained in it...
1
by: ianoble | last post by:
Hi all, I am running a simple command line Get for a networked VSS database. The command executes properly until it reaches a directory that is corrupted. Because the database is not local, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.