No Diagnose File

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Fri Feb 26 06:53:58 CST 2010


On 2/26/10 12:37 PM, "Beatrix Willius" <bwillius at gmx.de> wrote:

> Hi Ruslan,
> 
> had you seen the mail below?

Well, yes, was little discussed here.

Okay first question is:
    if make diagnose file not in tmp folder,
    but on desktop or disk C:/

Will it work ?


We have example it seems in V4RB with diagnose file
Have you try it ?

 
> Regards
> 
> Trixi
> 
> ---------- Forwarded message ----------
> From: Beatrix Willius <bwillius at gmx.de>
> Date: Wed, Feb 24, 2010 at 7:40 PM
> Subject: No Diagnose File
> To: Valentina Developers <valentina at lists.macserve.net>
> 
> 
> Hi,
> 
> either I'm doing something stupid or something isn't working.
> 
> 
>   dim theDiagnoseFile as FolderItem = GetTemporaryFolderItem
>   if theDatabase.Diagnose(EVVerboseLevel.kNormal, theDiagnoseFile) then
> 
>     'database is okay
>     theDiagnoseFile.Delete
>   else
> 
>     Globals.theErrorLog.DialogErrorProceed "There are Problems within
> the current Database! Please do a Dump/Load Dump to fix this."
>     if theDiagnoseFile = nil or not theDiagnoseFile.Exists then
> Return   -----> bail out here
>     dim theDiagnoseBin as BinaryStream =
> theDiagnoseFile.OpenAsBinaryFile
>     if theDiagnoseBin = nil then Return
>     dim DiagnoseResult as String = theDiagnoseBin.Read
> (theDiagnoseBin.Length)
>   end if
> 
> I wrecked a database on purpose so that theDatabase.Diagnose is true.
> But the FolderItem is never created. Using Realbasic 2009r5 and
> Valentina 4.3.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list