-
June 28th, 2017, 03:49 PM
#1
Shell command not executing my .py file from vb.net
Hello
I wonder if anyone can point me in the right direction
I am trying to write a VB application that runs a simple python program of about 10 lines , then is supposed to return to VB and wait for the excel file that xyz.py created to read a cell from it.
Problem is I cannot get the file to execute
I have tried
Shell("C:\Users\Clive\AppData\Local\Programs\Python\Python36\python.exe C:\Users\Clive\Documents\xyz.py")
also
System.Diagnostics.Process.Start("C:\Users\Clive\Documents\xyz.py")
none of these work
before we carry on double clicking xyz.py give me a correct result as well as running from the command line
am I missing a reference or something?
thanks in advance
Clive
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|