paper: Dashreader custom control dll

Thread created automatically to discuss a document in CD-Media.

Dashreader custom control dll
by: Ameya

_This is the compiled dll containing a VB .NET custom control that reads data from the dashboard port.

Instructions:

  1. Extract dashreader.dll
  2. In your VB .NET project, right click on “Windows Forms” in the Toolbox
  3. Select “Customize Toolbox”
  4. Click on the ".NE…_

    This is the compiled dll containing a VB .NET custom control that reads data from the dashboard port.

Instructions:

  1. Extract dashreader.dll
  2. In your VB .NET project, right click on “Windows Forms” in the Toolbox
  3. Select “Customize Toolbox”
  4. Click on the “.NET Framework Components” tab
  5. Click “Browse”
  6. Find and select “dashreader.dll”
  7. Draw the dashreader anywhere on the form–it disappears at runtime.

The “Port” property determines which port it tries to connect to. Use the “start()” method to actually connect to that port. The “NewPacket()” event is raised whenever a new packet of data is read. There are methods that return values for all of the data sent to the dashboard port (except for mode variables–I don’t know how to interpret them).

If I have time, I’m going to modify the control so it inherits from the Timer Class and doesn’t take up any space on the form at design-time. For now I’m too lazy :stuck_out_tongue:

I think the dll might work in VC++ .NET and C# .NET, but I haven’t tried it.

1043808649dashreader_dll.zip (11.9 KB)