Re-3: using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread [EMAIL PROTECTED]
Hello

This HTML-Page starts immediately (after a security warning on xp sp3 but this 
I think can be avoided)

!DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN
html
head
BODY onLoad=scanner.CurrentSource=2;scanner.ShowUI = 
'False';scanner.AcquireToFile('c:\test.jpg')
object ID=scanner
CLASSID=CLSID:A96AC4E0-6EBF-11D0-AA7C-00608CC9A71F
/object
/body
/html

Question: How to translate this in vbs code which I can send to the wsh using 
do in runrev?

Regards Franz


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re-3: using an ActiveX (twiz32.ocx) from runrev by vbs

2008-09-25 Thread Ken Ray


 Question: How to translate this in vbs code which I can send to the wsh
 using do in runrev?

Sounds like you're trying to implement an OCX, which when I looked it up on
the web was from back in 1999 when VB4 was around. OCXes are controls that
are placed on a form in VB (like the 3-D buttons, grid controls, etc.). I
don't know if you can use those from just plain VBScript files.

One thing you *can* do, is to use VB6 to create a DLL that has the Twain
Wizard OCX attached, and then call it from a VBScript file (which would mean
that it could also be called from Rev's do script... command).

Check out this page on how to use non-Rev DLLs with Rev:

http://www.sonsothunder.com/devres/revolution/tips/ext002.htm


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution