Sorry, this is not possible within VBScript. You have to use or create a com object to do that. Which API call are you looking at? I may be able to point you to a ActiveX control or DLL that exist already.
Clarence
Check it out
http://cwashington.netreach.net
Win32 bit scripting. Everything you need to get up and running,
A script repository containing almost 100 sample scripts,
downloads, reference files, and technical support via an
online discussion forum.
(Pursuant to US Code, Title 47, Chapter 5, Subchapter II, 227, any and all
unsolicited commercial E-mail sent to this address is subject to a download
and archival fee in the amount of $1000 US. E-mailing denotes acceptance of
these terms.)
How do I make a WIN32 API call from within wsh? Preferably using Jscript,
but a vbs answer would also be welcome.
Thanks...
--
Dennis B. Meilicke
Penta Technologies, Inc.
(414) 780-2423
Views expressed are mine, and do not necessarily
represent those of Penta Technologies, Inc.