I admit I have not much ideas when it comes to C# and Windows GUI programming. Now here is the problem, Jan Axelson has written the USB PIC firmware and the host program (in C# and VB.net) as an example to test WinUSB. I have tried the host software and the firmware and they seem to work fine except one bug. If I do nothing and close the program, the program will raise an unhandled exception. Download: http://www.lvr.com/winusb.htm Detailed description of the problem: http://forum.microchip.com/tm.aspx?m=339511 I suppose Jan Axelson will solve the problem sooner or later. But I am thinking this must be not a complicated problem and I'd like to solve it as a learning exercise. But it proved to be more difficult than I thought. Any ideas? By the way, I have written libusb based program to test the firmware under Linux and the program runs fine. http://forum.microchip.com/tm.aspx?m=340892 Regards, Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist