eliposen Report post Posted 04/09/2010 03:18 AM this is my script dim iRandomNumber, strResultVariables Randomize() iRandomNumber = Int((1000 * Rnd)) strResultVariables= "[Random]" {"& iRandomNumber & "}" iRet = WriteResultFile(strResultVariables) function WriteResultFile(strResult) const ForReading=1, ForWriting=2, ForAppending=8 Dim filename, fso, ts, outdata, outdata2, outdata3 filename = "VGRUNRESULT_$RV_DEVICEID.TXT" set fso = CreateObject("Scripting.FileSystemObject") set ts = fso.OpenTextFile(filename, ForWriting, True) ts.WriteLine(strResult) ts.Close WriteResultFile = 1 end function i am getting in log file ExitTime returned error. Share this post Link to post
SupportTeam Report post Posted 04/09/2010 08:46 AM You should probably specify the full path where the VGRUNRESULT file should be saved. If you continue to have problems plese post the vgEngine trace capturing the call. Share this post Link to post