Click here to Skip to main content
11,702,396 members (73,324 online)
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 22-Apr-11 23:18pm
Edited 23-Apr-11 3: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 Maciej Los 455
1 Sergey Alexandrovich Kryukov 310
2 OriginalGriff 265
3 CHill60 145
4 Andy Lanng 99
0 OriginalGriff 8,369
1 Sergey Alexandrovich Kryukov 7,547
2 CPallini 4,922
3 Maciej Los 4,411
4 Mika Wendelius 3,556


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 23 Apr 2011
Copyright © CodeProject, 1999-2015
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