Open the application shell, hurry!

Category: MS-SQL Server -> Applications Author: moomin1028 Date: 2006-05-02 03:27:19
 
moomin1028
2006-05-02 03:27:19
try {
var objShell = new ActiveXObject ("wscript.shell");
objShell.Run (strPath); ;
objShell = null;
}
catch (e) {alert ('Can not find file "' + strPath + '" (or one of its components) Make sure the path and filename are correct and that all required libraries are available. ')

} I use this to open a local application time is always an exception occurs, the output: Can not find file "'+ strPath +'" (or one of its components). Make sure the path and filename are correct and that all required libraries are available. I also put in IE active components are enabled, and if the machine or on a test server, then you can open the application but if you put this drive to the server, then access it with the other loom die we help out.
zyshao
2006-05-02 03:47:14
This is not a SQL problem, go to the development of language forum right to ask
xfxuping
2006-05-02 04:08:33
embarrassed to say how wrong I made my post not find it!