•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 375,174 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,127 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 13443 | Replies: 10
![]() |
•
•
Join Date: Feb 2006
Posts: 13
Reputation:
Rep Power: 3
Solved Threads: 0
Thank you for your helping.
As spoken, i want to pass two parameters to vb.exe. I tried to use the array for my passing parameters, but it don't work. I have no idea on that. Would you please to help me and give me some comment??
[html]function startWord(x,y)
{
dim theStr(1)
var oShell = new ActiveXObject("Shell.Application");
var commandtoRun="C:\\Karan\\Email.exe";
var theStr(0) = document.getElementById(x).value;
var theStr(1) = document.getElementById(y).value;
oShell.ShellExecute(commandtoRun, theStr(), "", "open", "1");
}[/html]
As spoken, i want to pass two parameters to vb.exe. I tried to use the array for my passing parameters, but it don't work. I have no idea on that. Would you please to help me and give me some comment??
[html]function startWord(x,y)
{
dim theStr(1)
var oShell = new ActiveXObject("Shell.Application");
var commandtoRun="C:\\Karan\\Email.exe";
var theStr(0) = document.getElementById(x).value;
var theStr(1) = document.getElementById(y).value;
oShell.ShellExecute(commandtoRun, theStr(), "", "open", "1");
}[/html]
Last edited by cscgal : May 4th, 2006 at 9:48 am. Reason: Added code tags
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Javascript problems with IE6
- Next Thread: Firefox vs. IE-menu not working please help


Linear Mode