I have inherited the following bit of code:
sBuf = "isql -U sa -P iamthedba -S ntserv-sql1 -d ryans -Q "exec asp_3ManWithOutPREditData '5/31/2006'" -o \\ntserv_pdc\common\sharedat\performancegriddocs\txtfiles\threemanagerbonus.txt"
Shell sBuf
When the app gets to this point it errors with file not found. However, when i run the same isql command in the command prompt the entire thing runs without a problem. I only get the error when running in the VB6 project environment.
Please help...Someone...Anyone...
Thanks,
TJ
sBuf = "isql -U sa -P iamthedba -S ntserv-sql1 -d ryans -Q "exec asp_3ManWithOutPREditData '5/31/2006'" -o \\ntserv_pdc\common\sharedat\performancegriddocs\txtfiles\threemanagerbonus.txt"
Shell sBuf
When the app gets to this point it errors with file not found. However, when i run the same isql command in the command prompt the entire thing runs without a problem. I only get the error when running in the VB6 project environment.
Please help...Someone...Anyone...
Thanks,
TJ