User Name Password Register
DaniWeb IT Discussion Community
All
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 391,873 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 3,450 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: 13940 | Replies: 10
Join Date: Feb 2006
Posts: 13
Reputation: chan karan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
chan karan chan karan is offline Offline
Newbie Poster

Re: Pass parameters between Javascript and ASP

  #11  
Mar 3rd, 2006
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]
Last edited by cscgal : May 4th, 2006 at 9:48 am. Reason: Added code tags
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 6:53 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC