Results 1 to 18 of 18

Thread: Using VB6 on Raspberry PI3

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2017
    Posts
    4

    Using VB6 on Raspberry PI3

    Hi all,
    I have to run a VB6 application on Raspbian using Raspberry PI-3, is it possible?
    How can i do it?

    Regards,
    Vito

  2. #2
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,229

    Re: Using VB6 on Raspberry PI3

    set up WINE to run your apps on linux.

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2017
    Posts
    4

    Re: Using VB6 on Raspberry PI3

    Quote Originally Posted by DEXWERX View Post
    set up WINE to run your apps on linux.
    Thanks for you reply.
    Can i donwload it from internet directly on rasbpian?

  4. #4
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,229

    Re: Using VB6 on Raspberry PI3

    Quote Originally Posted by vito1984 View Post
    Thanks for you reply.
    Can i donwload it from internet directly on rasbpian?
    The issue is that WINE needs an x86 emulator to run on. so it may end up being pretty slow.

    PI-3 Raspbian --> X86 Emulator (Exagear) --> Windows Emulator (WINE) --> VB6 App

    Here's a tutorial.
    http://www.instructables.com/id/How-...aspberry-Pi-1/

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Using VB6 on Raspberry PI3

    Yep. Slow on top of slow on top of slow. Not a good recipe.

    Maybe drink some wine instead.

  6. #6

    Thread Starter
    New Member
    Join Date
    Oct 2017
    Posts
    4

    Re: Using VB6 on Raspberry PI3

    Quote Originally Posted by dilettante View Post
    Yep. Slow on top of slow on top of slow. Not a good recipe.

    Maybe drink some wine instead.
    Hmmm... is there another way, using windows iot maybe?

  7. #7
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,735

    Re: Using VB6 on Raspberry PI3


  8. #8
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,598

    Re: Using VB6 on Raspberry PI3

    Of course using windows iot won't help if you "have" to run a VB6 application on a Raspberry PI-3 (an odd requirement).
    That is designed to be a lightweight infrastructure that is capable of running a single Win-10 app, so you would normally have to write a Win-10 app for the device. The device then essentially becomes a single purpose device, supporting only whatever capabilities the running app has.

  9. #9
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: Using VB6 on Raspberry PI3

    Quote Originally Posted by vito1984 View Post
    Hmmm... is there another way, using windows iot maybe?
    The Win10-IOT for the RPI-3 is still requiring the "ARM-target" with regards to the format of the Binaries it is able to run...
    (meaning, you'd have to use .NET with appropriate ARM-target compiler-settings, to produce your own Apps for it,
    there was "talk" about MS coming up with a "Win10 for ARM-platform, that allows to run x86-PE-Binaries",
    but I guess we have to wait for that a while longer, if it ever makes it into a Win10-release).

    Though there are quite a lot of true x86-based Hardware-solutions (which run a "normal", x86-based Win8/Win10)
    in quite small Form-Factors (able to run VB6-compiled Binaries) - as e.g. one of the newest incarnations from Zotac:
    https://www.zotac.com/product/mini_pcs/pi225
    ... but there's other vendors as well, who provide such (mostly Atom-based) Hardware...

    These are all in the price-range of about 100-200$..., surely more expensive than the RPI-3,
    but the 100-150$ price-difference should be bearable, when you only need a single (or a few)
    of these Hardware-Platforms (since you'll surely save quite a few hours of "setup- and config-time")

    HTH

    Olaf

  10. #10
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Using VB6 on Raspberry PI3

    It is disappointing but true that few if any reasonably low cost x86 devices that might run Windows headless are available. I haven't seen any that are practical, under $100 USD, with any kind of GPIO lines.

    A few come close but have been crowded out of the market by ARM devices. You can buy them but it might just be remaining stock. I doubt any are still in production.

    Most are PC/104 devices meant for industrial control use, and start at $250 or so. These are viable products yet but pricey for low volume use.

  11. #11

    Thread Starter
    New Member
    Join Date
    Oct 2017
    Posts
    4

    Re: Using VB6 on Raspberry PI3

    Thank you guys for your replies.
    Maybe I have to rewrite my app using VB15 and compile it with ARM settings. Is it a good solution?

  12. #12
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: Using VB6 on Raspberry PI3

    Quote Originally Posted by vito1984 View Post
    Thank you guys for your replies.
    Maybe I have to rewrite my app using VB15 and compile it with ARM settings. Is it a good solution?
    If you're ging to rewrite the whole thing, then I'd recommend using a language
    which is not a "waste of your time" - as e.g. JavaScript (which runs natively on the PI,
    allowing for a Browser-based GUI then)...

    Here's for example, how to setup Node.js:
    http://thisdavej.com/beginners-guide...-raspberry-pi/

    Or in case you look for a more "integrated" js-based solution, there's also Electron:
    https://resin.io/blog/electronjs-the-ultimate-guide/

    Olaf

  13. #13
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,229

    Re: Using VB6 on Raspberry PI3

    Quote Originally Posted by vito1984 View Post
    Thank you guys for your replies.
    Maybe I have to rewrite my app using VB15 and compile it with ARM settings. Is it a good solution?
    Windows IoT and Targetting ARM might end up being the least amount of headache, and certainly the most efficient as far as performance.

    or you can just write a native linux app in C/C++


    Olaf's JS/Node solution is probably what I would opt for personally. Then you're cross platform, and you can extend Node if you have to.

  14. #14
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Using VB6 on Raspberry PI3

    Or you could write in B4J, since there are usable JVMs for a Pi running Linux.

  15. #15
    PowerPoster ChrisE's Avatar
    Join Date
    Jun 2017
    Location
    Frankfurt
    Posts
    3,129

    Re: Using VB6 on Raspberry PI3

    Hi ,

    I haven't got a clue about this subject, what is
    I have to run a VB6 application on Raspbian using Raspberry PI-3,
    good for

    regards
    Chris
    to hunt a species to extinction is not logical !
    since 2010 the number of Tigers are rising again in 2016 - 3900 were counted. with Baby Callas it's 3901, my wife and I had 2-3 months the privilege of raising a Baby Tiger.

  16. #16
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Using VB6 on Raspberry PI3

    A lot of people get sucked into buying these. They often just end up cluttering the junk drawer.

    Maybe somebody wants to try to get some sort of use out of one, but it is hard to say what. Usually they'd be better off finding a deal on a small Windows box. I got one for like $125 including Win 10 Home a while back and it does fine for low-end tasks. Not bare-bones, a full 2GB PC w/mouse and keyboard. Added another 2GB of RAM and a fast USB3 flash drive for additional storage (it has an eMMC device as the main drive). Total cost under $160 unless you count the monitor.

  17. #17
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,229

    Re: Using VB6 on Raspberry PI3

    Quote Originally Posted by dilettante View Post
    A lot of people get sucked into buying these. They often just end up cluttering the junk drawer.
    I have 3 of them in my junk drawer as we speak. Also boxed up is a tiny Gigabyte Brix i5 with 16GB ram for running VM's, and previously used for tunneling out of corporate networks. The PI-3 is great for emulators, Robotics, etc. But like dil said - they usually just end up in the junk drawer.

  18. #18
    PowerPoster ChrisE's Avatar
    Join Date
    Jun 2017
    Location
    Frankfurt
    Posts
    3,129

    Re: Using VB6 on Raspberry PI3

    Hi Dex and dilettante,

    sounds like i didn't miss to much.

    regards
    Chris
    to hunt a species to extinction is not logical !
    since 2010 the number of Tigers are rising again in 2016 - 3900 were counted. with Baby Callas it's 3901, my wife and I had 2-3 months the privilege of raising a Baby Tiger.

Posting Permissions

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



Click Here to Expand Forum to Full Width