Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Run-Time Licensing For VB6 Controls in C#

Run-Time Licensing For VB6 Controls in C#

Scheduled Pinned Locked Moved C#
csharpc++helptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DTWC_Lawrence
    wrote on last edited by
    #1

    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:

    D 1 Reply Last reply
    0
    • D DTWC_Lawrence

      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:

      D Offline
      D Offline
      Dennis C Dietrich
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups