Would MS introduce Small Visual Basic to kids?

Small Visual Basic 401 Reputation points
2022-09-15T22:15:54.3+00:00

I've built Small Visual Basic (sVB) on top of Small Basic, with many enhancements in syntax and code editor, in addition to an easy to use form designer and a small windows forms library.
sVB is still a dynamic language, but it offers good support for basic data types like String, Double, Date, Array and Color by inferring the variable type from its initial value.
sVB is semi object oriented, as it makes variables act like objects by accessing extension methods from Text, Math, Date, Array, Color and Control classes. All of this happens behind the scene to make the code shorter and easier for kids. The kid has only to drag a TextBox and a Button on the form, double click the button to switch to its click event handler, and write the code directly, such as:
TextBox1.Text = "Hello sVB!"
The source code of sVB is fully written in VB .NET:
https://github.com/VBAndCs/sVB-Small-Visual-Basic
So, can MS introduce this enhanced version to kids?
It is compatible with SB with a few breaking changes (esp variable domains), and it can be more attractive to nowadays kids, that kept asking me about opening new forms, dealing with dates, and using AI (the latter is still missing of course, and this is why kids are eager to learn Python, and thi sis why I am thinking of some support of ML.NET in sVB in the future!)

Small BASIC
Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
277 questions
{count} votes

22 answers

Sort by: Most helpful
  1. Small Visual Basic 401 Reputation points
    2023-05-15T06:08:02.8666667+00:00
    2 people found this answer helpful.
    0 comments No comments

  2. Small Visual Basic 401 Reputation points
    2024-02-09T05:35:53.3066667+00:00

    In sVB 2.9, The form designer now has a menu designer, which allows you to add menu items and set their properties like name, title, and shoutcut keys. To show the menu designer, right-click the form surface and click the "Menu Designer" command from the context menu. 1d

    After closing the menu designer, menu items willl appear on top of the form designer, where you can click any of them to add its OnClick event handler to the code editor. You can also double-click main menu items to add its OnOpen event handler to the code editor. User's image

    Using the designer to set the shortcut keys for the menu items makes the form auto-handle these keys for you without having to write any more code for them. See the "sVB Notepad 2" application in the samples folder, where the menus are created by the menu designer, and compare that to the rewrote the "sVB Notepad" application where they are crated by code.

    1 person found this answer helpful.

  3. Small Visual Basic 401 Reputation points
    2024-02-13T02:11:58.98+00:00

    I just published the first book of the "Small Visual Basic Kid Programmer" series on Amazon. sVB1

    1 person found this answer helpful.

  4. JR 126 Reputation points
    2022-09-16T20:16:15.103+00:00

    Downloaded your new version from the above link. Went into the bin Folder. Clicked on SB.exe. It wanted to know if I wanted to run it from an unknown source. I had it run anyway and it did nothing. Also, tried to run it as Administrator and it did nothing.

    JR


  5. JR 126 Reputation points
    2022-09-16T21:35:08.397+00:00

    I am running windows 11, with that 4.8 is preinstalled. The anti-virus is just windows anti-virus. Language is
    English. If I run it from the bin folder, SB.exe does nothing. If I run it from SVB 1.8.2.exe it just shows the splash screen and dies. I think that is when SB.exe should start.

    JR