Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Run Python Script from VB.Net?

$
0
0
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

Viewing all articles
Browse latest Browse all 2485

Trending Articles