471,354 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Licensing ActiveX Controls at Runtime


I need to license AxMSCommLib.AxMSComm at runtime, I'd rather not mess
with the registry at install. I have seen this code posted all over the

AxMSCommLib.AxMSComm com;
string strLicense = "kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun";
System.Reflection.FieldInfo f =
System.Reflection.BindingFlags.NonPublic |

f.SetValue(com, strLicense);

This code DOES NOT WORK. Any ideas why?


Dec 17 '05 #1
0 952

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Shawn | last post: by
3 posts views Thread by Evan Delodder | last post: by
reply views Thread by Dan | last post: by
7 posts views Thread by Jarod_24 | last post: by
4 posts views Thread by Wilfried Mestdagh | last post: by
4 posts views Thread by Mr Seth T | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.