Here is my template for hid communication(VB6+PicBasic)
http://www.picbasic.co.uk/forum/show...812#post106812