ZTree.com  | ZEN  | About...  

 Index   Back

Error message 800A0005   [Help!]

By: Robert Baguley       
Date: Apr 08,2020 at 02:57
In Response to: Updated ZTWMenuText.vbs file (Strihafka)

I am setting up a development environment on a new laptop, with Windows 10 Pro 64-bit 1903 this time.

When I run ZTWMenuText.vbs with the /A parameter, I get an error message. I have looked on the web but not found anything helpful.

As far as I know I am using the latest version of ZTWMenuText.vbs (version

Has anyone here seen something similar please, and could give me a pointer as to what I am doing wrong ?

Script: C:\ZTreeWin\ZTWMenuText.vbs
Line: 691
Char: 5
Error: Invalid procedure call or argument: 'Asc'
Code: 800A0005
Source: Microsoft VBScript runtime error

The line in question seems to be
nLevel = Asc(Mid(sInFile, nStartPos + 2, 1)) ' Menu level

If I run the script with the /A /M parameters, the error does not occur.

I downloaded some Application Menu files posted here by Laurent many years ago, but received the same error message. So I don't think my menu file ZTW.ZAM is corrupted or malformed.

There is talk on the web of a bad Microsoft patch affecting VB Script, but it was long time ago and I think it has been fixed in the meantime.

Any pointers would be gratefully accepted.


Messages in this Thread

94,977 Postings in 11,970 Threads, 349 registered users, 44 users online (0 registered, 44 guests)
Index | Admin contact |   Forum Time: May 30, 2020 - 10:08 am EDT  |  Hits:31,266,739  (3,264 Today )
RSS Feed