AnswerBun.com

code for bar-code scanner for Rasberry Pi 3 not working on Windows 10 for IoT

Raspberry Pi Asked by BiigV on December 6, 2020

I am trying to help my little sister with a project she is stuck on. She is trying to get a bar-code scanner to work with a Raspberry Pi 3 (scanner connected via Ethernet). She has found and worked on a piece of code (attached) that works no problem on Windows 10 on her laptop, but it will not work on the Raspberry Pi running Windows 10 IoT Core. The code is written in C# on Visual Studio. When opened on Visual Studio on the Raspberry, the code looks like it doesn’t recognize all the functions that it does on the laptop, and it obviously doesn’t work.
Any ideas? What to try? What would you recommend for the next steps?

PS: my apologies for the probable lack of useful information and misuse of terminology as I am not familiar at all with any of this. But I really would like to help my sister who is pulling her hair out right now. She is not as comfortable in English as I am, so I figured I would try to post in English and hope that someone can figure out how to get her going with this.
Thank you.

She has spent a lot of time (and frustration) on this and she is a very experienced industrial programmer so I know she tried quite a few things already but I don’t know exactly what. I don’t have enough expertise myself to know what to ask her and what is important/interesting to share with you. But let me know if you have any specific question and I will definitively relay the questions and answers.

One Answer

If the code your sister wrote was a winform app,it would not work on the raspberry pi with win 10 IoT obviously.You should build an UWP(Universal Windows Platform) application,it can be run on the raspberry pi with win10 IoT. The api of UWP is great diffenent from winform.If you want to build a UI for your app you may learn about the WPF.

Answered by JyunJung Syung on December 6, 2020

Add your own answers!

Related Questions

Raspberry Pi 3 high IO

3  Asked on December 28, 2021 by cx24

   

Run application with other user than root

2  Asked on December 28, 2021

       

Raspberry Pi Zero W Semi Freeze

0  Asked on December 26, 2021 by david-kester

     

How to change the Menu Icon in Raspbian

3  Asked on December 24, 2021 by yanko

 

LED matrix won’t light up properly

1  Asked on December 22, 2021 by maiki

   

How to autostart Kodi at boot?

7  Asked on December 21, 2021 by mario-serda

     

Resolution Issue

2  Asked on December 19, 2021 by matt-mas

   

How to disable wifi in Raspberry Pi 4

3  Asked on December 14, 2021 by jb

     

Booting up feh at launch

2  Asked on December 12, 2021 by simyo-paris

 

pigpio I2C reply value

2  Asked on December 12, 2021 by user3435167

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir