Thanks for the response, unfortunately I tried that with no success.
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
using System.Diagnostics; System.Diagnostics.Process.Start("C:\\temp\\temp.py");
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.