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
-------------------------------------
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
-------------------------------------