Re: Bitness, was: 7.4.16.49 - Exceptions log file

2017-09-15 Thread Joerg Schiermeier
Lüko Willms wrote:

>  I simply take the base name of the executable, which is obviously the
>  first part of the name of the exceptions.log

ha, good idea and a nice solution!

-- 
Best regards,

Joerg Schiermeier
Bielefeld, Germany
--
productive: The Bat! pro v7 (32bit) - wine(at)Debian64
test environment (32bit + 64bit): The Bat! pro - latest beta




 Current beta is 7.4.16.49 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Bitness, was: 7.4.16.49 - Exceptions log file

2017-09-15 Thread Lüko Willms
Guten Tag Joerg Schiermeier,

am Freitag, 15. September 2017 um 23:04 schrieben Sie:

> Maxim Masiutin wrote:

>> It seems that this script checks Windows version bitness, not The Bat!
>> version bitness.

 in the end I do not need the bitness at all for my script. 

 I simply take the base name of the executable, which is obviously the first 
part of the name of the exceptions.log
Thus the script should work also with older versions of TheBat! where the 
bitness is not used in the executable's file name. 


-- 
Mit freundlichen Grüßen
Lüko Willms
mailto:wil...@luekowillms.de
 Current beta is 7.4.16.49 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Bitness, was: 7.4.16.49 - Exceptions log file

2017-09-15 Thread Joerg Schiermeier
Maxim Masiutin wrote:

> It seems that this script checks Windows version bitness, not The Bat!
> version bitness.

ah, I shouldn't post something complicate deep in the night.

I use a Perl script to do so, see:
https://stackoverflow.com/a/495305

or a small C program:
https://stackoverflow.com/a/10750035

VBS has also some functions to access the WinAPI - for this please read the 
manual.

Sorry for my mistake.

-- 
Best regards,

Joerg Schiermeier
Bielefeld, Germany
--
productive: The Bat! pro v7 (32bit) - wine(at)Debian64
test environment (32bit + 64bit): The Bat! pro - latest beta




 Current beta is 7.4.16.49 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 7.4.16.49 - Exceptions log file

2017-09-15 Thread Lüko Willms
Guten Tag Maxim Masiutin,

am Freitag, 15. September 2017 um 06:09 schrieben Sie:

>>>BTW, does anybody have an idea how I could -- using VBscript -- find
>>>out if the 32bit or the 64bit version of TheBat! is installed?

>> You may try this:
>> https://stackoverflow.com/a/3583703

> It seems that this script checks Windows version bitness, not The Bat! 
> version bitness.

  Excactly. I had found that entry in Stackoverflow before. 

  I think it is safe to use the number in the file name of the TheBat 
executable file, 
being either thebat32.exe or thebat64.exe 

  I get the path from the Registry key "HKCU\Software\RIT\The Bat!\EXE path",
then the EXE file's version using the GetFileVersion method of the File System 
Object (fso),
and the directory where the TheBat!'s mail store and the Exceptions.log files 
are stored
from the "EMAIL" environment variable (USER environment space). 
So no hard coded path and file names are being used.

  The file version -- currently 7.4.16.49 -- will be part of the ZIP archive's 
file name, as well as the creation and change time stamps of the Exceptions.log 
file. 

  I have still to adapt my script for the above method, and I will publish it 
on my ITK website
as soon as it is ready. So anybody may use it then to ZIP Exception logs for 
submission to Ritlabs. 


Cheers,
Lüko Willms

Frankfurt am Main
 Current beta is 7.4.16.49 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 7.4.16.49 - Exceptions log file

2017-09-14 Thread Maxim Masiutin
Hello Joerg,

Friday, September 15, 2017, 3:45:09 AM, you wrote:

>>BTW, does anybody have an idea how I could -- using VBscript -- find
>>out if the 32bit or the 64bit version of TheBat! is installed?

> You may try this:
> https://stackoverflow.com/a/3583703

It seems that this script checks Windows version bitness, not The Bat! version 
bitness.


-- 
Best regards,
Maxim Masiutin
Director
Ritlabs, SRL
www.ritlabs.com



 Current beta is 7.4.16.49 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 7.4.16.49 - Exceptions log file

2017-09-14 Thread Joerg Schiermeier
Lüko Willms wrote:

>BTW, does anybody have an idea how I could -- using VBscript -- find
>out if the 32bit or the 64bit version of TheBat! is installed?

You may try this:
https://stackoverflow.com/a/3583703

-- 
Best regards,

Joerg Schiermeier
Bielefeld, Germany
--
productive: The Bat! pro v7 (32bit) - wine(at)Debian64
test environment (32bit + 64bit): The Bat! pro - latest beta




 Current beta is 7.4.16.49 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 7.4.16.49 - Exceptions log file

2017-09-14 Thread Lüko Willms
Hello out there,

am Donnerstag, 14. September 2017 um 16:59 schrieb Lüko Willms:

  regarding those 


I still get lots of "External exception C01D". 

   I have written a little VBScript to ZIP and move the current 
"TheBat32_Exceptions.log" in the folder where the TheBat mail folders etc are 
located (found via the "EMAIL" environment variable). 
 
  I am using the 32-bit version of TheBat!, and wonder if using the 64bit 
version, the above mentioned file is being called with a "64" in the file name 
instead of a "32", i.e. 

   "TheBat64_Exceptions.log"

   Is that correct? 

   I would have to make provisions for that in my script. 

   BTW, does anybody have an idea how I could -- using VBscript -- find out if 
the 32bit or the 64bit version of TheBat! is installed? 


-- 
Mit freundlichen Grüßen
Lüko Willms
mailto:lueko.wil...@t-online.de
 Current beta is 7.4.16.49 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html