Solved

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

Posted on 2009-05-05
11
616 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

679 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