A
Alberto Silva - MVP
Hi,
I just started using the above library form OpenNetCF, and I would like to
use it from my vb.net application.
Since it's code is in C#, I'm compiling it as an assembly that I'll
reference in my vb.net project.
However I'm getting the following error in the lines that throw exceptions,
like this one:
throw new ScannerException(i, "Unable to request data events.");
The errors for each of these lines are...
The type caught or thrown must be derived from System.Exception
The type or namespace name 'ScannerException' could not be found (are
you missing a using directive or an assembly reference?)
Why does this happen?
Thanks,
Alberto Silva
I just started using the above library form OpenNetCF, and I would like to
use it from my vb.net application.
Since it's code is in C#, I'm compiling it as an assembly that I'll
reference in my vb.net project.
However I'm getting the following error in the lines that throw exceptions,
like this one:
throw new ScannerException(i, "Unable to request data events.");
The errors for each of these lines are...
The type caught or thrown must be derived from System.Exception
The type or namespace name 'ScannerException' could not be found (are
you missing a using directive or an assembly reference?)
Why does this happen?
Thanks,
Alberto Silva