Changeset: 583 fdbozzo - 01/01/2015 19:17:03:
- Mostrar los mensajes de error siempre maximizados, para evitar que queden ocultos
This commit is contained in:
@@ -119,13 +119,13 @@ Else
|
|||||||
MsgBox cConvCancelByUserMsg & "! [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cConvCancelByUserMsg & "! [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
||||||
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
||||||
WSHShell.run cErrFile
|
WSHShell.run cErrFile,3
|
||||||
|
|
||||||
ElseIf oVFP9.Eval("oFoxBin2prg.l_Error") Then
|
ElseIf oVFP9.Eval("oFoxBin2prg.l_Error") Then
|
||||||
MsgBox cEndOfProcessMsg & "! (" & cWithErrorsMsg & ") [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cEndOfProcessMsg & "! (" & cWithErrorsMsg & ") [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
||||||
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
||||||
WSHShell.run cErrFile
|
WSHShell.run cErrFile,3
|
||||||
Else
|
Else
|
||||||
MsgBox cEndOfProcessMsg & "! [p:" & nProcessedFilesCount & "]", 64+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cEndOfProcessMsg & "! [p:" & nProcessedFilesCount & "]", 64+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -125,13 +125,13 @@ Else
|
|||||||
MsgBox cConvCancelByUserMsg & "! [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cConvCancelByUserMsg & "! [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
||||||
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
||||||
WSHShell.run cErrFile
|
WSHShell.run cErrFile,3
|
||||||
|
|
||||||
ElseIf oVFP9.Eval("oFoxBin2prg.l_Error") Then
|
ElseIf oVFP9.Eval("oFoxBin2prg.l_Error") Then
|
||||||
MsgBox cEndOfProcessMsg & "! (" & cWithErrorsMsg & ") [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cEndOfProcessMsg & "! (" & cWithErrorsMsg & ") [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
||||||
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
||||||
WSHShell.run cErrFile
|
WSHShell.run cErrFile,3
|
||||||
Else
|
Else
|
||||||
MsgBox cEndOfProcessMsg & "! [p:" & nProcessedFilesCount & "]", 64+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cEndOfProcessMsg & "! [p:" & nProcessedFilesCount & "]", 64+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -110,13 +110,13 @@ Else
|
|||||||
MsgBox cConvCancelByUserMsg & "! [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cConvCancelByUserMsg & "! [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
||||||
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
||||||
WSHShell.run cErrFile
|
WSHShell.run cErrFile,3
|
||||||
|
|
||||||
ElseIf oVFP9.Eval("oFoxBin2prg.l_Error") Then
|
ElseIf oVFP9.Eval("oFoxBin2prg.l_Error") Then
|
||||||
MsgBox cEndOfProcessMsg & "! (" & cWithErrorsMsg & ") [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cEndOfProcessMsg & "! (" & cWithErrorsMsg & ") [p:" & nProcessedFilesCount & "]", 48+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
oVFP9.DoCmd("oFoxBin2prg.writeErrorLog_Flush()")
|
||||||
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
cErrFile = oVFP9.Eval("oFoxBin2prg.c_ErrorLogFile")
|
||||||
WSHShell.run cErrFile
|
WSHShell.run cErrFile,3
|
||||||
Else
|
Else
|
||||||
MsgBox cEndOfProcessMsg & "! [p:" & nProcessedFilesCount & "]", 64+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
MsgBox cEndOfProcessMsg & "! [p:" & nProcessedFilesCount & "]", 64+4096, WScript.ScriptName & " (" & oVFP9.Eval("oFoxBin2prg.c_FB2PRG_EXE_Version") & ")"
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -2357,12 +2357,12 @@ DEFINE CLASS c_foxbin2prg AS CUSTOM
|
|||||||
CASE lnCodError = 1799 && Conversion Cancelled
|
CASE lnCodError = 1799 && Conversion Cancelled
|
||||||
MESSAGEBOX( loLang.C_CONVERSION_CANCELLED_BY_USER_LOC + '! [p:' + TRANSFORM( THIS.n_ProcessedFilesCount ) + ']', 0+48+4096, 'FoxBin2Prg', 60000 )
|
MESSAGEBOX( loLang.C_CONVERSION_CANCELLED_BY_USER_LOC + '! [p:' + TRANSFORM( THIS.n_ProcessedFilesCount ) + ']', 0+48+4096, 'FoxBin2Prg', 60000 )
|
||||||
THIS.writeErrorLog_Flush( )
|
THIS.writeErrorLog_Flush( )
|
||||||
loWSH.Run( THIS.c_ErrorLogFile, 1, .F. )
|
loWSH.Run( THIS.c_ErrorLogFile, 3 )
|
||||||
|
|
||||||
CASE THIS.l_Error
|
CASE THIS.l_Error
|
||||||
MESSAGEBOX( loLang.C_END_OF_PROCESS_LOC + '! (' + loLang.C_WITH_ERRORS_LOC + ') [p:' + TRANSFORM( THIS.n_ProcessedFilesCount ) + ']', 0+48+4096, 'FoxBin2Prg', 60000 )
|
MESSAGEBOX( loLang.C_END_OF_PROCESS_LOC + '! (' + loLang.C_WITH_ERRORS_LOC + ') [p:' + TRANSFORM( THIS.n_ProcessedFilesCount ) + ']', 0+48+4096, 'FoxBin2Prg', 60000 )
|
||||||
THIS.writeErrorLog_Flush( )
|
THIS.writeErrorLog_Flush( )
|
||||||
loWSH.Run( THIS.c_ErrorLogFile, 1, .F. )
|
loWSH.Run( THIS.c_ErrorLogFile, 3 )
|
||||||
|
|
||||||
OTHERWISE
|
OTHERWISE
|
||||||
MESSAGEBOX( loLang.C_END_OF_PROCESS_LOC + ' [p:' + TRANSFORM( THIS.n_ProcessedFilesCount ) + ']', 0+64+4096, 'FoxBin2Prg', 60000 )
|
MESSAGEBOX( loLang.C_END_OF_PROCESS_LOC + ' [p:' + TRANSFORM( THIS.n_ProcessedFilesCount ) + ']', 0+64+4096, 'FoxBin2Prg', 60000 )
|
||||||
|
|||||||
Reference in New Issue
Block a user