The code below in LauncgGV.vbs
' Launch GridView
' Wait for GridView to be shut down by the user,
' and display error code returned from GridView when it exits:
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("GVWin.exe", 1, true)
MsgBox "Return Code: " & Return
seems to always return 0 as the return code.
Perhaps you could paste your code snippet here so we can have a look.