components disappeared

Posted on 2003-03-07
Medium Priority
Last Modified: 2012-05-04
i get the following message in the task list

The referenced component 'AxMSDataGridLib' could not be found. Could not load the type library. Library not registered.

many of my components have suddenly disappeard and i cannot get them back i have tried reinstalling and that didnt work can someone please help (some of these components are on forms upgraded from vb6)

thank you
Question by:cwi2k
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8090564
So you had a VB6 app which you upgraded to .NET, and now some of the components are missing?  Or it was already a .NET app with those components working fine and then they suddenly disappeared?  If it's former, you probably need to add references to the Dll's.
LVL 70

Expert Comment

by:Éric Moreau
ID: 8090606
LVL 28

Accepted Solution

iboutchkine earned 200 total points
ID: 8091050
If you have the previous version of your project then compare the Initialize Component section of the Windows Form Designer generated code in the program that doesn't work with one that does and see if you can see the error.
The error removed the form.controls.addrange line in the ini code.
The solution was to put the line back in with each of the controls.
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.btnClear,
Me.btnLoad, Me.Grid})
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments


Author Comment

ID: 8091202
it was a vb6 app upgraded to vb.net it has worked for ages but suddenly it lost controls, though the controls are not available on other apps either so i think it is .net rather than the app

you answered the same post but that is not it

Author Comment

ID: 8091339
there are also no tools in the toolbox but the .net framework components do have tools selected in them

Author Comment

ID: 8091360
ignore that

Author Comment

ID: 8091443
i think that the components have become unregistered when i removed the package that i made of my program while i was testing it how do i re register these components

Author Comment

ID: 8091590
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.btnClear,

was the problem do you know why this was caused

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question