All,
Most of my work involves VB.*. I am familiar with defining a VB Class with a
VB Code:
Public Event thisEvent(args)
Now I am working with a C# Class, which is consumed by VB code. I need to make the C# Class "Raise an Event" which can be handled by the VB consumer code.
Here is a code snippet, of what I think I want to do:
Code:namespace SNAPI_App { public partial class mainForm : Form { MotoSnapi.SnapiScanner scanner1; MotoSnapi.SnapiScanner scanner2; int status = 0; /* Return values of function calls */ static short[] paramsList /* Parameter information list */ = new short[SnapiDLL.MAX_PARAM_LEN]; int selectedScanner = 0; static ArrayList scannerList = new ArrayList(); public mainForm() { Public Event thisEvent; // <- this doesn't work... // ...




Reply With Quote