PIC USB to VB.NET


Closed Thread
Results 1 to 40 of 54

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240

    Default Re: VB.NET Program

    Quote Originally Posted by mark_s View Post
    Thanks for posting Gadelhas,

    Been wanting to try USB for a long time. But it seems everything changes rapidly. Windows, Visual Studio, .net etc. This was a popular subject a few years back. So most of the examples seem to be VB6 or in this example VS 2008

    Can anyone tell me if the code in posts 1 and 2 can be used with Visual Studio Community 2015? I was able to download VS 2008 sp1 ISO, which may be good enough?

    Also can't seem to find where to download EasyHID, maybe its out of date. HIDmaker FS looks great, but $399 is hard to justify for casual use.

    Thanks
    Mark
    It's been a long time since i don't use this project. It was made in VB.net 2008, so it should be easy to use with VS 2015.

    At his moment i really don't have the time to port the code to VS2015, lost of projects at the same time, but i'll put it on my list.

    I not even know if EasyHID still exists, but i never used it, its to expensive.

    Also let me know what are you trying to do with USB.
    Thanks and Regards;
    Gadelhas

  2. #2

    Default Re: VB.NET Program

    Thanks for answering. I don't have a specific project in mind, just looking for a templet to build on. Your example is perfect, a small app written in VB to read and write to a pic's ports and modules.

    I worry a little, starting projects based on VB6, mister-e and DT's great work. Some of this material is 10 years old now and they are no longer here to answer or modify these routines.

    Found this site which sells a DLL for Visual Studio that looks very interesting. It can be used with VS 2015 and examples in MikroC. I have Mikrobasic so this may be the best path. The only reason I have not purchased it, the examples and videos are not in English, so I need a little more time to study.

    http://www.usbhidnetclass.com/

    Regards
    Mark

  3. #3
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240

    Default Re: VB.NET Program

    Quote Originally Posted by mark_s View Post
    Thanks for answering. I don't have a specific project in mind, just looking for a templet to build on. Your example is perfect, a small app written in VB to read and write to a pic's ports and modules.

    I worry a little, starting projects based on VB6, mister-e and DT's great work. Some of this material is 10 years old now and they are no longer here to answer or modify these routines.

    Found this site which sells a DLL for Visual Studio that looks very interesting. It can be used with VS 2015 and examples in MikroC. I have Mikrobasic so this may be the best path. The only reason I have not purchased it, the examples and videos are not in English, so I need a little more time to study.

    http://www.usbhidnetclass.com/

    Regards
    Mark
    Hi mark_s;

    I'm aware of that dll, but i didn't use it.
    You can probably use this to try out, but only in C and C#
    http://libstock.mikroe.com/projects/...on-ad-and-leds
    http://libstock.mikroe.com/projects/...oe-development

    Nowadays i only program in C ( embedded) or C#/python/Java (desktop app).
    I few months ago i did an application with MicroC and PIC18F4550 to emulate a HID Keyboard. In this way you don't even need the desktop app.
    The worst part is the descriptor, but after that it works great.

    What language you usually work? PicBasic, MikroBasic, Visual Basica, C#?
    Thanks and Regards;
    Gadelhas

  4. #4

    Default Re: VB.NET Program

    Hi,

    I program in PBP also Mikrobasic for pic, dspic, and pic32. I'm going to learn visual basic. I have not programmed in C or C#, but have learned how to read and understand code. These days most code examples are in C so it's hard to avoid.

    Thanks for the links, some of these projects are by the guy who sells the DLL.

    Regards

  5. #5
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704

    Default Re: VB.NET Program

    Hi,

    Does anybody have a new version of this code for PBP3 and VB.NET 13, 15, or 17? I tried the VB NET code in the first post and it gave me all kind of errors. Does anybody knows where I can get this code?

    Thanks,

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts