I use VB a lot in my programming and I want to use the abilities of VBScript. But what are the problems with it, like I can't use APIs can I?
Printable View
I use VB a lot in my programming and I want to use the abilities of VBScript. But what are the problems with it, like I can't use APIs can I?
You can't use APIs. ActiveX dll's can be used though. I believe that any COM component will work but it needs to be a dll because IIS will not allow running processes outside of its own. (or rather NT will not allow it)
I guess you'd need to be more specific on what your trying to do.
I just was wanting to know its limits because I might want to use it to make my programs more adaptable i.e. You can't recompile a exe at run time (well I don't know how to) but with a .vbs file its easy to rewrite it.
And this could be quite useful.
Yes, but a vbs has to run inside of a container application like Outlook or IE or one you wrote yourself (which would require the MS VBScript license.. about $50k). As a standalone language, VBScript is not even a contender.
Best thing to do is continue to use VB and create dll's for routines that are succeptable to frequent change. They are much easier to replace/update.