Results 1 to 3 of 3

Thread: Vb6

  1. #1
    Newbie
    Join Date
    Jun 2008
    Posts
    6

    Vb6

    Hi

    where can i find a VB6 source code for control the Fusion Brain?

    thanks

  2. #2
    Constant Bitrate mx270a's Avatar
    Join Date
    Aug 2003
    Location
    Iowa
    Posts
    167
    I don't think anyone has released anything for VB6. I don't know how different VB6 is from VB.Net, but there is a VB.Net example you might be able to reference.

  3. #3
    Newbie
    Join Date
    Sep 2002
    Posts
    9
    Well, I also needed to control the Fusion Brain in VB6 or actually VBA and I came up with a working demo!

    First of all this is absolutely based on mx270a work . Thanks a lot to you! I even kept your comments...

    The idea was to build a wrapper COM DLL to interface with the .Net FusionBrain_WinUSB.dll. This was done pretty easily using VB.Net 2010 Express.

    Note: For the COM dll to work properly I had to use the /CodeBase option of the RegAsm.exe dll registring utility. This is not nice especially since I could not be bothered to create a strong name for the COM dll… You get a warning as the dll registers. What it means is that the path of the dll will be saved in the registry. So if you move it, register again using RegAsm. Remember to also move the .Net dll along (FusionBrain_winUSB.dll).

    The rest is a straight port of mx270a's app into the VB6 world. I added a little Digital Output demo of my own (caterpillar).

    Now, I did not have VB6 on hand so I just made it in Access 2007 VBA. Migrating it to VB6 project is very easy though. One would just have to recreate the form and its controls. Also, for the sake of not pointing to any other ActiveX object I did not use a slider control (besides in Access they look ugly).

    Screenshot:



    Download (includes installation notes and all sources).

    Let me know what you think!

Similar Threads

  1. Converting VB6 into an RR Pluging??
    By Iceman_jkh in forum RR Plugins
    Replies: 6
    Last Post: 03-16-2009, 03:27 PM
  2. VB6 vs VB 2005 Express
    By alimh in forum Road Runner
    Replies: 11
    Last Post: 01-28-2009, 05:43 AM
  3. how to do autoit's "ControlClick" in vb6
    By Sonicxtacy02 in forum Coders Corner
    Replies: 8
    Last Post: 07-18-2008, 01:47 PM
  4. Questions about Destinator 3 SDK and VB6
    By gsova in forum Coders Corner
    Replies: 4
    Last Post: 01-17-2007, 07:36 AM
  5. SDK - VB6 App
    By Gobby in forum RR Bug Tracker
    Replies: 2
    Last Post: 05-08-2005, 05:58 AM

Bookmarks

Posting Permissions

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