Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Hi All, very good afternoon.
 
I have a project developed in vb.net 2003(Dotnet 1.0) it consist of AxInterop.MSFlexGridLib. The grid used is MSFLEXgrid. I have migrated the whole project to VS 2005 then while opening the form that consist of the grid throws me a error as below:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. 
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) 
Hide     
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
at
Please help.
Posted 23-Apr-11 0:18am
Edited 23-Apr-11 4:59am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It looks like whichever program or process you're trying to initialize either isn't installed on your machine, has a damaged installation or needs to be registered.
Either install it, repair it (via Add/Remove Programs) or register it (via regsrv32.exe).
 
You should resister your MSFlexGridLib comm control
because it may damage or corrupted
  Permalink  
Comments
santosh dhanawade at 23-Apr-11 6:17am
   
First Add comment instead of adding AnswerSecondYou and get SetUp of AxInterop.MSFlexGridLib.dll in
 
http://www.dllerrorsfixed.com/solutions/AxInterop.MSFlexGridLib.dll.html
 
Install it and then reply
Sandeep Mewara at 23-Apr-11 9:59am
   
Comment from OP:
santhosh thx for the reply
 
i try to regsiter the dll using regsvrr32.exe then i get the following error
iam using a VistaHome premium 4 bit os
 
AxInterop.MSFlexGridLib.dll
[Window Title]
RegSvr32
[Content]
The module "AxInterop.MSFlexGridLib.dll" was loaded but the entry-point DllRegisterServer was not found.
Make sure that "AxInterop.MSFlexGridLib.dll" is a valid DLL or OCX file and then try again.
 
can you please provide the me the dll
AxInterop.MSFlexGridLib.dll
 
regards
Shanavas
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

I think you are trying to reference the old .NET 1.1 interop DLLs. Try removing those references and re-add the COM reference, which will automatically create the .NET 2.0 interop shim DLLs for you.
  Permalink  
Comments
santosh dhanawade at 23-Apr-11 10:52am
   
may be but how we resolved such problem
Nishant Sivakumar at 23-Apr-11 10:54am
   
I'v suggested what you can do. Have you given that a try?
shanavas_sm at 23-Apr-11 11:24am
   
yes iam trying to refer 1.1 interop dlls.but these MSFlexgrid dll are not available with me
Nishant Sivakumar at 23-Apr-11 11:25am
   
You need the original COM DLL to be able to resolve this. The 1.1 interop DLLs will not work any more.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 200
1 PIEBALDconsult 150
2 BillWoodruff 148
3 Jochen Arndt 135
4 DamithSL 130
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 23 Apr 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100