Run Python Script from VB.Net?

Discussion created by dalejs on Jun 6, 2014
Latest reply on Jun 9, 2014 by dalejs
Hi, thanks for talking the time to look at my question.

I am attempting to execute a Python script from and existing form in VB.net.

I just select a radiobutton on the form and on the checkedchanged event I am calling a shell command to execute the script.

Shell("C:\Python27\arcGIS10.2\python.exe ""C:\QualityCheck\Comparison.py""", AppWinStyle.MinimizedNoFocus) 

When this runs the window opens blank for a few seconds, a message is then displayed, but it closes before I can read it.

The script is not executed.

If you have any ideas, just point me in the right direction.

Thanks, Dale