How do I call a sub within a DLL from a VbScript?
Posted on 2004-09-24
Ok, I have tried, but I can't get away from all my errors, and I think posting those is making it worse, So please, will soemone tell me the correct way to call a sub in a DLL from a VBScript.
I am not wroking on a web page, I have written all our file transfer scripts into a DLL because I was asked to. Now in order to run just the one specified program, and not all 64 programs contained wtihint the DLL I need to call teh main function.
The Project and DLL are named DCSJobs
The Module wtihin the DLL that contains the sub I am calling is Main
The sub I am calling is named Main_CISPAYPX
I am not even going to post what I wrote cause I don't want tot confuse things.
I have never worked with VBScript before, I have been trying to search and find out how to do this, but all I get is errors. Please help, and please remember I do not know how to work with VB script at all, so please don't assume I know anything :-).