Re: Encoding scripts
From: Alex K. Angelopoulos [MVP] (aka-at-mvps-dot-org)
Date: 07/08/04
- Next message: Michael Harris \(MVP\): "Re: Obtaining HTML Source Code with VBScript"
- Previous message: NewAtThis: "Looking for the two consultants who assisted me in December 2003"
- In reply to: msnews.microsoft.com: "Re: Encoding scripts"
- Next in thread: msnews.microsoft.com: "Re: Encoding scripts"
- Reply: msnews.microsoft.com: "Re: Encoding scripts"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Jul 2004 22:46:37 -0500
msnews.microsoft.com wrote:
> Thanks Alex,
> my script works fine but after encoding it does not work at all and
> does not display any error msg. I have used your test.vbs which works
> fine before encoding but then again the encoded script displays the
> follwoing error regardless On Error Resume Next is turned on or off.
>
> D:\temp\test.vbs(1, 1) Microsoft VBScript compilation error: Expected
> statement
>
That's the error from the _encoded_ script?
Change the extension from "vbs" to "vbe" if you want it to be treated as an
encoded file by the VBScript engine; it can't figure it out for itself.
- Next message: Michael Harris \(MVP\): "Re: Obtaining HTML Source Code with VBScript"
- Previous message: NewAtThis: "Looking for the two consultants who assisted me in December 2003"
- In reply to: msnews.microsoft.com: "Re: Encoding scripts"
- Next in thread: msnews.microsoft.com: "Re: Encoding scripts"
- Reply: msnews.microsoft.com: "Re: Encoding scripts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|