Ms Flex grid in c#

Well I am trying to use the msflex grid control in c# but while dropping the control it gives an error that "You don't have license to use this activeX control". The ocx for this control is msflxgrd.ocx
What is the solution please let me know ASAP?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
You would have to install VB6 in order to use it .

You could use ComponentOne FlexGrid which is available for free at
If you are using the Flexgrid then MSFLXGRD.OCX needs to be distributed
with your application and registered on the target machine. In addition,
be sure to distribute the two managed wrapper classes that were generated
when you sited the control on the form.

The reason I asked about how you are using the control is because when you
use the control at design-time you need to have a design-time license for
the control. This license will get installed on your dev machine when you
install VB6. However, it shouldn't need that license at runtime. For some
reason it sounds like it is checking for a license for the control at
runtime. I have seen this happen if a control is not cited on a form but
dynamically by code.

It seems like the flexgrid is depending on other dll's from VB6 or even need's a design license on the target machine. I've tried to include other dll's, but I haven't gotten any further. I have converted my usercontrol to use a datagrid. It works ok, but it isn't as flexible as the flexgrid solution.
Try this - may be of help....
Add this reference to your project.. AxInterop.MSFlexGridLib.dll

But i am not sure of using in c#


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.