Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

GUI not appearing using Run but does from command line -- How to solve

$
0
0

Hello all.

I have a VB.net app (I'm just trying to learn Python) and when I run: ipy Program.py at the command line in the directory for the solution (where Program.py) is located the GUI appears fine.

When I click the created .exe file after a Build (with no errors) it does not appear (tho' does appear to be doing something behind the scenes<G>).

When I create a very simple test (like in IronPython in Action book) then I get the GUI as expected.

When I first started testing/learning this worked (running the .exe or from the "Run" button) but at times failed---I fixed this in the past by commenting out code I just entered and when it ran was able to isolate where some errors were hiding. This doesn't work now. I've commented out the entire MainForm.py code except the controls initialization portion and still not GUI form appears.

Can anyone suggest some things for me to try?  I've added IronPython to my path. I've added the BackEndBindings Python subdir to my path (from Sharpdevelop).

Thank you in advance for your time and help

Steve

 

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles