Click here to Skip to main content
15,883,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, i am working on my thesis project. I have a GUI written in that can print word docs files. I need it to run on raspberry pi. It did run using Mono but when i'm going to choose the files, the program crash and says "operation is not supported on this platform" does anyone knows how to fix this? is there a chance my gui runs on rpi? I have no knowledge in phyton and tkinter so i use for building GUI. Any help would be much appreciated. 

What I have tried:

I tried using mono but still, the program crashed
Updated 18-Apr-20 3:39am
Mehdi Gholam 18-Apr-20 3:18am    
Does you app run on the pi?

Show the file selection code you are using?
Member 14737057 18-Apr-20 4:06am    
If openfile.ShowDialog = System.Windows.Forms.DialogResult.OK Then
Docfilelbl.Text = Path.GetFileName(openfile.FileName)

The app runs in the pi until i choose the file i want to print.
Richard MacCutchan 18-Apr-20 3:45am    
Look at the error message, it is telling you that something you are trying to do is not supported. Find out what that is and remove it from the application.
Member 14737057 18-Apr-20 4:10am    
If i remove what it is telling, the application cant choose the file i want to print.
Richard MacCutchan 18-Apr-20 4:13am    
Well you cannot choose a file if the underlying system does not support that operation.

1 solution

If on Raspberry PI 2 is NOT installed Windows operating system, you cannot run application written under the Windows. Note that the most of OS-s for Raspberry PI 2 are based on FreeBSD and Linux (Debian, Ubuntu, etc.) editions...

You'll need to install Windows 10 IoT[^] and write an UWP application[^] to be able to run it.

Another challenge is to open Office document (Word). You cannot open it via Interop (i think, but i'm not sure). You'll need to use OpenXml.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900