3 ms·
Isn't VB for Applications (Office) a different thing than VBScript?
by floatboth 8y ago
Isn't VB for Applications (Office) a different thing than VBScript?
- folkrav 8y agoVBScript is a subset of VBA IIRC
- cptskippy 8y agoSorta but not really. You can write a single piece of code that's valid C, C++, C#, and Java but that doesn't make them the same language or subsets of one another. VBScript started out using the same conventions as VB and a subset of the syntax but it was never really related to it beyond that. There are different flavors of VBScript as well. CScript is a console variant, WScript for window environments, and ASP for IIS Web Development. They're mostly compatible but not entirely. When classes were introduced, they weren't immediately available across all the variations and still aren't IIRC. It's all very confusing though ultimately I don't think that it contributed to the negative connotations about it. Being associated with VB was ultimately what tainted it.
- cptskippy 8y agoThose are two different things. VBScript was the Macro language used in Office Products. There is also an SDK for VB/VB.NET for developing plug-ins and other tools that's completely different.
- jetti 8y agoVisual Basic for Applications (VBA) was what is used in Office Products and that is modeled after Visual Basic 6, not VBScript. VBScript was used mostly for Classic ASP development (both front end and backend).
- dvlsg 8y agoYou could use vbscript for, well, scripting. Essentially taking the same position / purpose as batch files on windows. Pretty sure that still works. I wouldn't do it anymore, personally, but I'm almost positive it's still functional.
- jetti 8y agoYou could, but I believe most of VBScript use came from web dev. I have the fortune of working on a classic asp site at work now.