Having Problems Executing Command Using Shell Function
Posted on 2000-03-21
I am trying to Execute a Command from VB using Shell Function.
'Sorts the data in the file.
FName = "D:\Rpsort102\Rpsort.com /+1:11 /D H:\X.txt H:\X_sort.txt"
This Code works if I create Project with only this piece of code .
But When i use the same code in my project is doesn't work.
I have tried using ShellExecute, ShellExecuteEx,ShellExecuteInfo API but none of them run a Command from VB(In the Sense they don't Execute commands)
Please suggest me a way to solve my problem.