Click here to Skip to main content
15,922,407 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a error in my application WindForms C#,

my application excute correctly, but  i can't open my forms !


Erreiur1 — imgbb.com[^]

(Sorry for the language of the picture error isn't in English)

message of error: You must have a license to use this ActiveX control 

How can I fix it?

thanks,


What I have tried:

change the .net framwork from 4.5 to 4
Posted
Updated 22-Jan-18 0:07am
v2
Comments
CHill60 22-Jan-18 5:42am    
Buy the licence

Joking apart,

You appear to be using a control on your forms for which you need to have purchased a licence.

If you are able to build the application on your own machine then you appear to have bought the licence. But if it won't run on another machine then you need to include the runtime licence for the control in your install package.

You can use the SysInternals[^] suite of tools to help you find out where it is expecting to find the licence file (look at FileMon)

But without seeing any designer code nor knowing which control is at fault we can't really help
 
Share this answer
 
Is this error is only in form design page, If so then there is some design and code mismatch. You could have accidentally deleted a piece of code in .cs file where it is still referred in the form.deigner.cs .For example you may have created button and a click event , you have deleted a click method in code but it will be still referred in " deign auto generated code" . Try "Ignore and continue" (Ignorer et continuer) in the warning , the particular control with error will not be loaded . Please verify
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900