Log in

View Full Version : White Paper Discuss: 2004 .NET dashboard control dll


CD47-Bot
29-01-2004, 12:21
Thread created automatically to discuss a document in the White Papers.

2004 .NET dashboard control dll (http://www.chiefdelphi.com/forums/papers.php?&action=single&paperid=256) by Ameya

AustinPowers
29-01-2004, 12:23
Can you post the instructions and source code again?

Ameya
29-01-2004, 13:14
Can you post the instructions and source code again?

Instructions:

1. In your VB .NET project, right click on "Windows Forms" in the Toolbox
2. Select "Customize Toolbox"
3. Click on the ".NET Framework Components" tab
4. Click "Browse"
5. Find and select "dashreader.dll"
6. 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).

--

Hmm, is it okay if I wait to release the source until I'm asbolutely certain the new control is accurate? Otherwise, let me know and I'll upload it ASAP.

Jeremy_Mc
29-01-2004, 17:28
Instructions:

1. In your VB .NET project, right click on "Windows Forms" in the Toolbox
2. Select "Customize Toolbox"
3. Click on the ".NET Framework Components" tab
4. Click "Browse"
5. Find and select "dashreader.dll"
6. 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).

--

Hmm, is it okay if I wait to release the source until I'm asbolutely certain the new control is accurate? Otherwise, let me know and I'll upload it ASAP.

I keep receiving an exception when "InitializeComponent()" is called on the form...

I get this in debug:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in dashBoard-uG.exe

Additional information: File or assembly name dashreader, or one of its dependencies, was not found.

Any clues? :(

Ameya
03-02-2004, 13:17
Hmm, I'm not sure. I do know that all of the special classes used by dashreader are compiled with it in dashreader.dll, so I don't think it can't find one of the dependencies. But if you can place the dashreader on the form, clearly the dll can't be missing. Maybe it has to do with the permissions for the folder dashreader.dll is in?

Jeremy_Mc
03-02-2004, 16:41
Hmm, I'm not sure. I do know that all of the special classes used by dashreader are compiled with it in dashreader.dll, so I don't think it can't find one of the dependencies. But if you can place the dashreader on the form, clearly the dll can't be missing. Maybe it has to do with the permissions for the folder dashreader.dll is in?

Yes I managed to fix that one (school permissions are really weird...) but now I get an arithemetic error...

Any ideas on that one?

Paladino
19-02-2004, 21:31
Have you decided about releasing the source code yet. I noticed that you have left out the userbytes. Any reason?

Thanks

stephenthe1
13-01-2005, 17:32
will this dll work with c# .net? (vs 2003 .net)