Search:

Type: Posts; User: M.Hamdy

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    38
    Views
    2,182

    Re: Visual Small Basic for kids and beginners

    Write and run unit tests in sVB v2.6!
    sVB makes it easy to write unit tests. Every form can define test functions among its normal function, and you can run them all easily just by calling the...
  2. Replies
    38
    Views
    2,182

    Re: Visual Small Basic for kids and beginners

    Create an external library for sVB:
    sVB 2.5.5 can use existing external libraries created for Small Basic (like LitDev). Just insert those libraries dll files in the Lib folder of sVB and you are...
  3. Replies
    38
    Views
    2,182

    Re: Visual Small Basic for kids and beginners

    What's new in sVB v2.5:
    sVB is ready to create productive desktop apps.
    1. The toolbox now contains four new controls:
    * ProgressBar, ScrollBar and Slider: These bars are horizontal only, but you...
  4. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    @georgekar
    Thanks for your feedback.
    Debugging is not supported in this stage. The original SB source code has some sort of edugging support, but it was never enabled, so, I may look at it someday....
  5. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    sVB v2.3 can create a code library!
    For the first time, it is now possible to use an sVB app as a library! Follow these instructions:
    1. Create a sVB project with a global file. Choose a suitable...
  6. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    I took this further in sVB 2.2.5. It now allows to add the GeometricPath to the Label control too, so, it is possible to draw complex shapes on the form. In fact this was possible by adding a new...
  7. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    sVB V2.2 supports creating custom complex shapes using the GeometricPath type.
    For example, you can draw a hex polygon shape, add it to the shapes, then rotate it by this code:

    ...
  8. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    sVB 2.0 is released. It can create a multi form project with a common Global.sb module where you can declare plobal variables and subroutines that can be used from any form in the project via the...
  9. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    This is a SB code that does the same job. There is no Colors.AllColors property, so, I simulated it with an array that contains three colors only:

    TextBox1 = Controls.AddMultiLineTextBox(0, 0)...
  10. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    This is a sVB code to generate a VB.NET class that can be used in small basic lib. I Wrote this code to generate xml documentation to about 140 color name property in the Colors class. Writing the...
  11. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    You can do it if you want. The Small Visual basic project offers you a simple ID with a form designer and a code editor, and all you need to do is:
    1. replace the sVB compiler with a VB.NET...
  12. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    sVB 1.9 now compiles a project!
    https://github.com/VBAndCs/sVB-Small-Visual-Basic/releases/tag/v1.9
    You can design many forms in the form designer, save them to the same folder, which will become...
  13. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    [QUOTE=Peter Swinkels;5581212]M.Hamdy, you learned programming without this "improved" sb... Everyone else did too. What makes you think your project is worthwhile?

    I stated learning programming...
  14. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    The source code is fully written in VB.NET, using WPF as the UI framework:
    https://github.com/VBAndCs/sVB-Small-Visual-Basic
  15. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    I built on the SB source code. There is published a version of it (written in C#):
    https://github.com/sb/smallbasic-editor/tree/master/Source/SmallBasic.Compiler
    but I got the desktop version by...
  16. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    seems that you don't know it was the default mode of VB until VB5, and is still valid today in VB.NET.. Try this:

    Option Explicit Off
    Option Strict Off

    Module Test
    Public Sub Main()
    ...
  17. ModVB: a VB.NET compiler with new features

    ModVB, a Roslyn-based VS.NET_hosted modern VB compiler built on top VB.NET by one of Rolsyn and VB.NET creators:
    https://anthonydgreen.net/2022/08/20/introducing-modvb/
    All you need to use it is to...
  18. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    There are also many videos about SB. This one has 92k views, introduced by a child :)
    https://www.youtube.com/watch?v=fR9w0vQAMtg
  19. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    For those who are willing to teach sVB to kids, take a look first at SB pdf from Microsoft:...
  20. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    As said, sVB is based on SB. The compiler and syntax are very simplified, so, you can't call a method from a module without useing the qualified name.
    In small basic, you can show a message box on...
  21. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    And of course, there are countless resources to learn the original SB, including the pdf that comes with MS SB. sVB is built on top of SB with a few break changes, so, all what the kid learns in SB...
  22. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    The zip file contains the ReadMe file. I will provide a more organized doc file when I hit V 2.0.
    The zip file also contains a link to the GitHub reop, where the readme file is viewed with format. ...
  23. Re: Open source Programmers Editor, WorkItem Manager, Forms Editor released

    Seems nice. Thank you.
    Small Visual Basic uses the Avalon Text Viewer to create its code editor. I converted its code to VB.NET and added a few new features. You may take a look at it in the Tools...
  24. Replies
    8
    Views
    1,509

    Does VB.NET has a future? Yes of course!

    To those who worry about VB.NET future. Please don't!

    1. VB.NET has a new future with ModVB, a Roslyn-based VS.NET_hosted modern VB compiler that is built on top VB.NET by one of Rolsyn and VB.NET...
  25. Replies
    8
    Views
    1,509

    Re: Small Visual Basic v1.3.2

    sVB reached v1.8.5 now, with many new features in compiler, editor, and form designer. Check the source code and the Readme out:
    https://github.com/VBAndCs/sVB-Small-Visual-Basic
    Note that the...
  26. Create ASP.NET Core apps with VB.NET and design views and pages with VB.NET too!

    Hi all.
    Do you now that you can fully write ASP.NET Core 6 apps with VB .NET in VS2019 and VS2022?
    All you need to do is downloading this VS Extension (or use the VS.NET Extension Manager to...
  27. Replies
    38
    Views
    2,182

    Re: Visual Small Basic v1.8.5 for kids and beginners

    Hi Peter Swinkels:
    You can download the sVB 1.8.5 release from this page:
    https://github.com/VBAndCs/sVB-Small-Visual-Basic/releases/tag/v1.8
    you will find the zip link at the bottom of the page....
  28. Re: Small Visual Basic: A VB.NET WPF open source project

    sVB reached v1.8.5 now, with many new features in compiler, editor, and form designer. Check the source code and the Readme out:
    https://github.com/VBAndCs/sVB-Small-Visual-Basic
    Note that the...
  29. Replies
    38
    Views
    2,182

    Visual Small Basic for kids and beginners

    Small Visual basic is based on Microsoft Small Basic. I tried to make it easier for kids starting from 6 years old. They can drag and drop controls on the form, and write one line code to show text...
  30. Replies
    8
    Views
    1,509

    Re: Small Visual Basic v1.3.2

    I like this idea.
    Thanks
  31. Replies
    8
    Views
    1,509

    Small Visual Basic v1.3.2

    You can download the latest version of the language from the Releases page:
    https://github.com/VBAndCs/sVB-Small-Visual-Basic/releases
    Navigate to the latest version of vSB, expand the Assets list...
  32. Re: Small Visual Basic: A VB.NET WPF open source project

    I released sVB 1.2.2: https://github.com/VBAndCs/sVB-Small-Visual-Basic/releases/tag/v1.2
    You can now create dynamic properties with auto-completion support :)


    CarData.Color = Color.Red...
  33. Re: Creating VB.NET Records: The magic of Roslyn and source generators!

    By the way, this my first try to generate vb records:
    https://github.com/VBAndCs/VB-Record-Generator
    It just uses a text template. It is just an utility and you have to copy the generated record...
  34. Re: Creating VB.NET Records: The magic of Roslyn and source generators!

    Source generators can take actions based on the vb source code, and make use of the syntax tree and the compilation/semantics of the current context. This is way advanced than T4 which can only...
  35. Re: Creating VB.NET Records: The magic of Roslyn and source generators!

    You can start here:
    https://github.com/DualBrain/Samples/tree/master/SourceGenerators
  36. Re: Small Visual Basic: A VB.NET WPF open source project

    I just released Small Basic version 1.0-final. Download it now:
    https://github.com/VBAndCs/sVB-Small-Visual-Basic/releases/tag/v1.0-Final

    * SB Code Enhancements:
    I made many improvements to the...
  37. Re: Small Visual Basic: A VB.NET WPF open source project

    https://www.vbforums.com/attachment.php?attachmentid=181874

    https://www.vbforums.com/attachment.php?attachmentid=181873
  38. Re: Small Visual Basic: A VB.NET WPF open source project

    I just published the v1.0 preview. I added many features in the designer and code editor. I even added some new syntax features, like array initializes:
    x = {1, 2, 3}
    please make your kids try it....
  39. Replies
    2
    Views
    1,970

    Re: Create ASP.NET Core 3.1 app in VB.NET today

    I hope you find this useful
  40. Re: Creating VB.NET Records: The magic of Roslyn and source generators!

    That's OK. Thanks.
Results 1 to 40 of 59
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width