Run-Time Licensing For VB6 Controls in C#
-
Can anyone tell me how to acquire a run-time license specifically for the MSComm.ocx that shipped with Visual Basic 6 to be used in a C# project? I have searched both here and in the MSDN KB, I found a reference to adding a run-time license to a C++.Net project, but even that wasn’t functional. I have a C# project in which I am using this control, and it works great in the development environment, however, when I tried deploying my application, I got the obnoxious “You-don’t-have-a-run-time-license” BS. To anyone that can help, thanks ever so much in advance! :) As for Bill, those of us using C# that MUST use serial ports would like to say, “Thanks for nothing, !@#$%^.....” :mad:
-
Can anyone tell me how to acquire a run-time license specifically for the MSComm.ocx that shipped with Visual Basic 6 to be used in a C# project? I have searched both here and in the MSDN KB, I found a reference to adding a run-time license to a C++.Net project, but even that wasn’t functional. I have a C# project in which I am using this control, and it works great in the development environment, however, when I tried deploying my application, I got the obnoxious “You-don’t-have-a-run-time-license” BS. To anyone that can help, thanks ever so much in advance! :) As for Bill, those of us using C# that MUST use serial ports would like to say, “Thanks for nothing, !@#$%^.....” :mad:
RelmBK wrote: As for Bill, those of us using C# that MUST use serial ports would like to say, “Thanks for nothing, !@#$%^.....” I'd like to see you writing a framework for a modern OS and supporting every feature with your first release. Regarding your problem, I don't think using a COM component to access the serial ports is a good idea as they only encapsulate the Win32 API and there actually are serial communication classes written in C# (Use P/Invoke to Develop a .NET Base Class Library for Serial Device Communications[^] for example). Besides, the .NET Framework 2.0 contains a class called SerialPort[^]. Best regards Dennis