If I understand your question correctly, no, you cannot call Win32 API methods from VBScript, because VBScript does not support declaring a function from a .dll.
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

"Pavel Rosoi" <PavelRosoi@discussions.microsoft.com> wrote in message news:E5A6F3D3-BD82-42CB-961D-69FB58EB9FE7@microsoft.com...
> Thank you for your answer. Does this work for not COM dll, as Win32 API
> native code?
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> You'd use CreateObject() to instantiate an object exposed by the DLL, then call that object's publish methods.
>>
>> "Pavel Rosoi" <PavelRosoi@discussions.microsoft.com> wrote in message news:E6C2DB90-956D-465D-A4AD-AD61BCC46870@microsoft.com...
>> > Hi,
>> >
>> > Does is any way to call DLL code from VBScript code-behind? Thank you.
>> >
>>
23 JunCall DLL code from VBScript code-behind.Pavel Rosoi
23 Jun\ Re: Call DLL code from VBScript code-behind.Sue Mosher [MVP-Outlook]
23 Jun   \ Re: Call DLL code from VBScript code-behind.Pavel Rosoi
23 Jun      \ Re: Call DLL code from VBScript code-behind.Sue Mosher [MVP-Outlook]
All times are in (US) Eastern Daylight Time (GMT -4:00)