PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Scripting

I'm playing with VBS, trying to learn a few things. I remember there was once a post here of some software that added a scripting feature.

Or can I run VBS on the PocketPC? Is there something like the WSH on it?
Yes,
there is VBScript support
on PocketPC. I've
used in in PocketAdventures.

No, there's no WSH in pocketpc,
but making a VBScript
interpreter is very easy!
It would take me a week to create a WSH
clone.

Kaiton
I guess I'm not understanding the VBS support in the PPC then. I put a small MSGbox test script on the PPC, try to run it from File Explorer or DEX and I get the error: there is no program associated with this file.
There is no WSH, that's why that wouldn't work. VBS IS implemented in PocketPC, just not the WSH.
You need an application that will interpret and execute the script. Under Windoze there are two programs wscript.exe and cscript.exe that can interpret .vbs files. As previously mentioned there is no interpreter for vbscript for PPC. Pocket IE supports jscript though.
More info here:
http://msdn.microsoft.com/library/defau ... 142000.asp
Thanks Zinger, that's good info. I'm always amazed when someone can actually find something on MSDN.

I do have the Embedded VB 3.0 SDK. So now I think I might be getting a clue about scripting on the PPC.
angedelamort · 04 Dec 2002, 16:03 UTC
Thanks Zinger, that's good info. I'm always amazed when someone can actually find something on MSDN


For my part, when I'm looking for something on MSDN, I use google and write MSDN as a keyword :)
It works 80% of the time.