
Originally Posted by
Modifier
The Visual Studio package is the best that you can find out there. In Visual Basic 6.0, if you do not specify ByVal or ByRef for a procedure parameter, the passing mechanism defaults to ByRef. This allows the variable passed into the procedure to be modified in the calling program. Assuming it is, there might be another thing you need to change. Let say for example "abc" and "bcd" are string variables. Then using Shell "n:\aa.bat abc bcd" passes the values "abc" and "bcd" to the batch file. Using Shell "n:\aa.bat " & abc & " " & bcd passes the contents of abc and bcd to the batch file instead. You may need to change this in your code.
Bookmarks