I’m writing a program in VB.NET 2010 that will connect to the PICkit(TM) 1 FLASH Starter Kit‘s USB programmer and send it commands to turn on or off something connected to the attached eLab16m board, for example, an LED. This is all done by using the libhid.net DLL.
The vendor id is &H4D8 and the product id is &H32.
Update I’ve written a console program that outputs what’s happening. Here’s the output:

Where it says device with report id 0x10, I am trying to query the firmware version from the USB Programmer.
Update 2 I’ve fixed the problem with the Wacom Bamboo tablet by uninstalling its software and drivers from my computer. The error has disappeared from the command line, but it still shows the 0x10 error.
It seems that when I was using this code:
…it turned out that the
ReportIDparameter (&H10or0x10in the error message) was the wrong one. Probably because I copy/pasted from the example program included with libhid.net. :SSo basically the answer is that you need to find out the right ReportID for the device you’re using.