VBScript & API? VBScript & API? Sentinel010 (Programmer) (OP) 11 Jun 02 15:39 Is VBScript capable of utilizing API calls? I've tried the standard 'DECLARE' statement but it doesn't seem to work. Anyone have any ideas? RE: VBScript & API? wsmall73 (Programmer) 12 Jun 02 12:53 Others may be able to speak to this better, but I am under the understanding that VBScript can not access dll on your local machine for security reasons. (think what might be embedded into web sites if this were the case). RE: VBScript & API? dds82 (Programmer) 12 Jun 02 13:22 I think that's true, but what VBScript can do is access any ActiveX/COM objects that are registered on the server. It would seem that if you wanted to access the WinAPI, you'd have to write a COM DLL that contains an object that wraps calls to the WinAPI. RE: VBScript & API? DonQuichote (Programmer) 14 Jun 02 03:49 It's in the variables. VBScript only knows untyped (variant) variables, while API calls must be given parameters of the correct type.