Solved

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

Posted on 2009-05-05
11
555 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 69

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
 
LVL 1

Author Comment

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

Expert Comment

by:Éric Moreau
ID: 24313516
which version of VB6 do you have?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

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

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 69

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB error "Type mismatch" 2 49
SSRS expression Issue finding a string 10 66
Reading the Contents of a Directory In Access VBA 5 58
Sending a email via excel using vba 6 72
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

911 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

26 Experts available now in Live!

Get 1:1 Help Now