473,668 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Corrupted Program?

18 New Member
I installed a third party piece of software designed to add mroe user control to the datagridviewer control and then uninstalled it. I found that it has somehow corrupted a Program I'm working on, so that I got the message "Type 'System.Windows .Forms.Form' is not defined" as I rolled over my "inherits system.windows. form.form" line in the code. This happens in all my clases of this project.

When I click on design tabs, I see the error "An error occured while loading the document. Fix the error, and ten try loading the document again. The error message follows: The designer could not be shown for this file because none of the classes within it can be designed."

All othe projects I'm working on work normally. I did a fix install, maybe will completely uninstall and reinstall soon, but haven't yet. I don't really expect that to work since all other projcts work fine. Any other ideas?
May 21 '08 #1
5 1571
Plater
7,872 Recognized Expert Expert
Reinstalling .NET should fix the problem. Don't think you need to "uninstall" it first.
Just to a re-install?

There might be some sneaky commands you can run tocorrectly re-register your DLLs with the system, but I don't know them and re-installing might be easier.
May 21 '08 #2
crusson
18 New Member
I already did the reinstall. And I don't get the error message in any projects except for one. The reinstall did not fix this problem. Could it be that the project is corrupted somewhere in some file that I don't know about. I know nothing about vb.net project structure and whether there is some master file that holds project properties that may have been corrupted or whether there is a way to troubleshoot such a problem.
May 21 '08 #3
Plater
7,872 Recognized Expert Expert
If you go to the project in question, does the references have the correct .NET dll to handle that namespace?
May 21 '08 #4
crusson
18 New Member
I copied the code from the corrupted project into a new one and it works fine. Still stumped about the problem though.

It appears to be referenced. The suspect code is 'Inherits System.Windows. Forms.Form'

References includes "System.Windows .Forms"
This is how all of my other projects are as well.
Glad I found a workaround, but I cannot distinguish this project (which is broken) from the rest (which work).

Thanks Plater.
May 21 '08 #5
Plater
7,872 Recognized Expert Expert
Heh, well if copy/pasting to a new project worked, I suggest deleting the old one and pushing it from memory.
May 21 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2389
by: advance scout | last post by:
HELP! My database is suddenly corrupted. My computer was acting funny (very sluggish) and was shut down. Access had been already been closed down but computer was acting very slow , so perhaps it was still open. I am now getting a "The data base ... is corrupted and needs to be repaired" error . I have made copies of the corrupted database so that I could try to repair and still have a corrupted copy available. When I try to repair , it...
4
3565
by: Mike | last post by:
Hi, I am building a windows app. I have two threads that continually run in the background pulling information from a website. The data I extract from the two separate threads needs to be put into various columns of the same datatable (which is defined in a dataset on my form in design time). The threads take different amounts of time to cycle so the updates to the datatable frequently overlap. I have run into various issues in the...
6
38203
by: oskar | last post by:
Hello everyone. I have a problem with my program... and i kinda dunno what to do.. everything seems to work ok, but i'm getting corrupted double-linked list error =\. *** glibc detected *** corrupted double-linked list: 0x080aff40 *** Program received signal SIGABRT, Aborted. 0xaf7037b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 (gdb) bt #0 0xaf7037b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
2
19175
by: zl2k | last post by:
hi, I have one program runs fine on my i386 linux box but get the "glibc detected *** corrupted double-linked list" error on the x86_64 linux box. Please help me to figure out if it is my program's problem or the library's problem. The libraries I am using is the boost and stl. The original program is quite long and I shrink it short and still able to duplicate the error. Basically, I first create a priority queue and after several round...
4
2123
by: Hypnotik | last post by:
Hello everyone. I'm working on a program that crashes whenever I enter the value that is supposed to stop the program. The program takes in various pieces of info, has a struct and a class. The error says the stack around employee (which is the class variable) is corrupted. I cannot figure out the problem...and I think I need fresh eyes to look at it. Posted is the entire program. #include <iostream> using namespace std; struct...
0
8890
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8791
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8577
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8653
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2786
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2018
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1783
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.