I can't seem to get the scripter example in the masm's com folder to work. It runs the vbscript, but the inputbox doesn't show up and the Application.Settext doesn't worth either. I changed that code around to a messagebox just to see if that object was being called and it doesn't appear so. If anyway can give me any help would be much appreciated. Oh btw I tested this on win2k advanced server(sp3).
Posted on 2005-01-23 14:34:12 by Webring
the script engine needs type information to know the app's object model. IIRC the author of this little sample forgot to provide code to register the type info.

You can use comview to do this forgotten step:

1. start comview
2 select "Load type library"
3. load the .TLB file from the sample dir
4. button "register typelib" should be enabled. click it

Now the type lib is registered and the sample should run
Posted on 2005-01-23 16:03:58 by japheth
Thanks man :-D
Posted on 2005-01-23 16:48:55 by Webring