MSCom32.ocx

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am trying to use the MSComm32.ocx control in my .NET class library for
serial communcation to a cash register.

After adding the reference to the control, I am able to add the namespace to
my project, define the MSCommClass variable and initialisation code.
Everything compiles fines, with no errors.

However, I get a "System.IO.FileNotFoundException" at runtime when the
initialisation code is executed.
============
using MSCommLib;

public class RS232
{
private MSCommClass commsLib = null;

private void Initialise()
{
commsLib = new MSCommClass();
}
}
============

I have no idea why or what it's not finding.
Any ideas would be much appreciated.

Tazz
-------------------------------------
 
Hhhmmn, they do POS now?

Cool, thanks for letting me know, gonna steal of a couple of minutes quickly
to check it out!
(Damn, I need to make more TIME for staying up to date with what's out
there...)

Chou
Tazz
--------
 
Back
Top