Solved

Microsoft Hierarchical FlexGrid (MSHFlexGrid) and Microsoft FlexGrid (MSFlexGrid) controls not found

Posted on 2009-05-05
11
566 Views
Last Modified: 2013-12-26
Hi,

The project has designed on another machine which had used MSFlexGrid. When I copied that project on my machine it says "object or class does not support the set of events". When I debug the code I found the MSFlexGrid is  the source of problem. I read http://msdn.microsoft.com/en-us/library/aa241752(VS.60).aspx and it says "Goto->Project->Components" to find MSFlexGrid but I cann;t see it has been installed on my machine.

Could any one please tell me where the dll file will be so that I can browse it or Do I need to install it?

Thanks,
0
Comment
Question by:deshaw
  • 7
  • 4
11 Comments
 
LVL 1

Author Comment

by:deshaw
ID: 24311717
I couldn't find C:\WINNT\System32\msflxgrd.ocx
Thanks.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 24313243
If I am not mistaken, MSFlexGrid was part of VB5 (but could be used in VB6) while MSHFlexGrid was part of VB6.

do you have both VB5 and VB6 properly installed on your PC?
0
 
LVL 1

Author Comment

by:deshaw
ID: 24313290
Nop..I think I have only VB6...
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 1

Author Comment

by:deshaw
ID: 24313303
but i couldn;t find MSHFlexGrid  as well.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 24313516
which version of VB6 do you have?
0
 
LVL 1

Author Comment

by:deshaw
ID: 24313772
Microsoft Visiul Studio 6 I have intalled.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 24314203
BTW, the name of the files are MSFLXGRD.OCX and MSHFLXGD.OCX

have you tried to install SP 6: http://msdn.microsoft.com/en-us/vstudio/aa718360.aspx
0
 
LVL 1

Author Comment

by:deshaw
ID: 24314558
Yes, I got C:\WINNT\System32\msflxgrd.ocx but when I tried to add it, attached error getting displayed. Please let me know what to do?
Thanks.

err.JPG
0
 
LVL 1

Author Comment

by:deshaw
ID: 24314971
Ok, I have just restarted the application and it works fine now... !!!
Thanks for your help.
0
 
LVL 1

Author Closing Comment

by:deshaw
ID: 31578343
thanks
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 24314980
Have you changed the threading model of your project?

can you create a brand new project and try adding the component?
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

813 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now