Hi. My vb6 program calls a script which does some stuff, then waits for the WshShell.AppActivate "" method to become true. When it does equal true, I want to set a variable in the script to 1 (or some value) and pass it back to the vb6 program that initially launched the script, so it knows that the portion of the script prior to WshShell.AppActivate "" method turning true, has executed. How can I pass the value of the variable in the script, to the vb6 program? Thanks in advance.
cold25
cold25