Clarification:
"VB.NET, C#, and Java can even do so in GUI environments. Though then the code you write for support of the GUI will be *completely* different from what you write when you incorporate the language into web pages."
The *logic* will be the same, of course. If you wrote a function that took some text as input and spit it back out with the internal letters of words scrambled, you could use that function in either a Web page or in a standalone GUI environment. It's just that then the code to accept the user input text and display the function result will be a lot different.