Tech Off Thread

4 posts

Port Programming

Back to Forum: Tech Off
  • User profile image
    dhavalhirdh​av

    well, I have veen always wondering is there anyway to do port programming with .NET, port programming means not a socket one but Serail Port and Parallel Port programming, also USB one.. in VB I used to do with MSComm Component, so using MSComm Component in .NET wont be a managed code programming, so is there any .NET way to do it? or I need to write a device driver for it?

  • User profile image
    Bryn Waibel

    Duncan Mackenzie recently wrote an arcticle about controlling a serial LCD device with VB.NET.

    He also mentioned in his blog that the Visual Basic Resource Kit includes a control which can be used to interface with serial ports.

    Duncan's Coding4Fun articles are a must read for anyone wanting to play with .NET in their spare time, he writes some really cool stuff.

    -Bryn

  • User profile image
    JKelley

    Does anyone think it likely that a future version of the .NET Framework will incorporate some method of interfacing with parallel ports directly?  The product I work on interfaces with proprietary hardware out of the parallel port and currently we use a third party driver to do simple in and out calls in Win2K and above.  It doesn't seem that unreasonable to have at least inp / outp available for use by an application without needing a full on kernel mode driver developed by us ( okay maybe it is unreasonable but I can dream! ).

    -Jeremy

  • User profile image
    sriram_2001

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.