?
Solved

Ms Flex grid in c#

Posted on 2004-11-08
4
Medium Priority
?
739 Views
Last Modified: 2012-08-13
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?

0
Comment
Question by:arvsha
4 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12522765
You would have to install VB6 in order to use it .

You could use ComponentOne FlexGrid which is available for free at http://msdn.microsoft.com/vbasic/vbrkit/
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12523460
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.
0
 
LVL 8

Expert Comment

by:rajaloysious
ID: 12524221
Try this - may be of help....
Add this reference to your project.. AxInterop.MSFlexGridLib.dll

But i am not sure of using in c#

-cheers
0
 
LVL 20

Accepted Solution

by:
TheAvenger earned 1500 total points
ID: 12527740
0

Featured Post

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!

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Integration Management Part 2
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

755 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