Link to home
Start Free TrialLog in
Avatar of nasia
nasia

asked on

program parameter and calling

i have a program that will reside on a "Common PC."  Other PCs can run the program by calling that said program thru the network.  The problem is how do i pass parameters to the called program.  I have looked at the Shell command, but i don't think i can use that command on the calling program since it doesn't have fields that accepts parameter passing.  
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nasia
nasia

ASKER

which function/procedure goes where.. are all these for the calling program or some will go to the called program.... ????
Add all in a module, and use the following function

 debug.print ShellExecute("C:\yourDir\yourprogram.exe Param1 Param2")