The sVB full reference book: https://drive.google.com/file/d/1pCnB4_7pEBc_wT2u258MmutYCuXwpvjN
The sVB 2.8.2 installer: https://marketplace.visualstudio.com/items?itemName=ModernVBNET.sVBInstaller
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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!)
The sVB full reference book: https://drive.google.com/file/d/1pCnB4_7pEBc_wT2u258MmutYCuXwpvjN
The sVB 2.8.2 installer: https://marketplace.visualstudio.com/items?itemName=ModernVBNET.sVBInstaller
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.
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.
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.
I just published the first book of the "Small Visual Basic Kid Programmer" series on Amazon.
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
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