A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Homebuilt PC's
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

A strange weakness in all MS Windows versions



 
 
Thread Tools Display Modes
  #11  
Old February 17th 20, 05:29 PM posted to alt.comp.hardware.pc-homebuilt
Charlie
external usenet poster
 
Posts: 51
Default A strange weakness in all MS Windows versions

On 2/16/2020 8:28 PM, wrote:
I was wondering what happened to (q)basic. It seems to have evolved into VBScript, I never used it much didn't even know it exists on windows or that it can run by default.

I was just made aware for this by somebody showing me this:

Store this line in a file called HelloWorld.vbs

MsgBox("Hello, World!")


And there is a good chance it will run on your windows if it is somewhat recent

This kinda reminds me a little bit of "melissa virus".. so yes... I do kinda know windows does have some kind of visual basic thingy... but not exactly sure where or what it is, it turns out it's everywhere... on the command line... in the browser.... in the server. YUP bill gates like this stuff... so now it's everywhere =D

Here is some more interesting information:

https://en.wikipedia.org/wiki/VBScript

What interests me for this topic/thread is the build in support in the operating system itself, seems usefull for administrators to automate things... apperently it can also do GUIs... so maybe it can also do some decent graphics, don't know about that =D

"
VBScript can also be used to create applications that run directly on a workstation running Microsoft Windows. The simplest example is a script that makes use of the Windows Script Host (WSH) environment. Such a script is usually in a stand-alone file with the file extension .vbs. The script can be invoked in two ways: Wscript.exe is used to display output and receive input through a GUI, such as dialog and input boxes. Cscript.exe is used in a command line environment.

VBScript can be included in two other types of scripting files: Windows Script Files, and HTML Applications.

A Windows Script File (WSF) is styled after XML. A WSF file can include multiple VBS files. As a result, WSF files provide a means for code reuse: a library of classes or functions can be stored in one or more .vbs files, which can be included in .wsf files, so the functionality can be reused in a modular way. The files have extension .wsf and can be executed using wscript..exe or cscript.exe, just as a .vbs file can.

An HTML Application (HTA) is styled after HTML. The HTML in the file is used to generate the user interface, and a scripting language such as VBScript is used for the program logic. The files have extension .hta and can be executed using mshta.exe.

VBScript (and JScript) can also be used in a Windows Script Component, an ActiveX-enabled script class that can be invoked by other COM-enabled applications.[10] These files have extension .wsc.

VBScript is simple to create and can be coded using an easy to use text editor like Notepad. A simple VBScript saved by the .vbs extension can be run on a Windows system by double clicking it.
"

One open question that remains is, is this "just a script"... or is this a "programming language"


What would be the technical difference between a "script" and a "language".



Supposedly, the main difference is that a "script" is interpreted every
time it runs and a "programming language" is compiled once to machine
language and the resulting file is run from then on.

Charlie


Maybe it was just called "script" to make it sound a little bit more cool or light weight not sure.

For now I am kinda happy to see that there is at least some programming possibility for windows build-in... not all versions, windows 95 might not have it, but since windows 98 and windows nt 4.0 it seems it does have this ! =D

Bye for now,
Skybuck.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ms-Dos and Windows 7 have a major weakness related to date/times when copieing files. Skybuck Flying[_4_] Homebuilt PC's 12 November 15th 15 06:51 PM
Windows 7 versions, upgrades, installation options? Phred Dell Computers 11 January 28th 10 12:56 PM
WTB: URGENT NEED - MICROSOFT OFFICE SOFTWARE ALL VERSIONS/TYPES -MICROSOFT WINDOWS XP PRO, WINDOWS 2000 PRO, WINDOWS HOME ALL VERSIONS/TYPES- NEED AS MANY AS YOU CAN SELL US none Homebuilt PC's 0 April 16th 09 02:18 PM
OT trivia: Strange Windows clipboard behavior John Doe Homebuilt PC's 12 November 28th 06 10:10 AM
laserwriter and windows 2000 - strange code Philipp Albig Printers 0 June 22nd 05 06:27 PM


All times are GMT +1. The time now is 06:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.