Search:

Type: Posts; User: M.Hamdy

Search: Search took 0.01 seconds.

  1. 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...
  2. 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...
  3. 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...
  4. Re: Creating VB.NET Records: The magic of Roslyn and source generators!

    You can start here:
    https://github.com/DualBrain/Samples/tree/master/SourceGenerators
  5. 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...
  6. 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
  7. 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....
  8. Re: Create ASP.NET Core 3.1 app in VB.NET today

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

    That's OK. Thanks.
  10. Creating VB.NET Records: The magic of Roslyn and source generators!

    https://www.vbforums.com/images/ieimages/2021/06/16.png
    I created a Record Generator to allow you to use Records in your VB.NET prpjects.
    These are three possible variations of the record syntax:
    ...
  11. Re: Small Visual Basic: A VB.NET WPF open source project

    > Here you are writing a Visual Interface for a language that was written purposely to get away from having a Visual Interface.

    Seems that your are confusing graphical programming with UI....
  12. Re: Small Visual Basic: A VB.NET WPF open source project

    Never heard of, and find no mention of anything other than MS Small Basic. Have you any link of such a language?
    The only thing I found is SmallBasic:
    https://en.wikipedia.org/wiki/SmallBASIC...
  13. Re: Small Visual Basic: A VB.NET WPF open source project

    No, it is:
  14. Small Visual Basic: A VB.NET WPF open source project

    In this VB.NET open source project, I add the form designer and a prototype for a mini winforms to convert the Small Basic Language to Small Visual Basic!...
  15. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    This was well said. OK, we have a common background to built on.
    I agree that techs change, So, I never said I want to stuck to a particular compiler of framework (though, we invested a long time to...
  16. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    VB syntax is the highest level that I know, and the nearest thing to a natural language. Defining that is the most logical thing to do. I am not attached to a compiler or a set of tools. The Basic...
  17. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    MS is taken VBers for granted, as they will eventually move to C#. We are trying to shake this confidence at different levels:
    1. VB community is angry of sabotaging his beloved language...
  18. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    Thanks



    Disagree. There is a big difference between VB6 and VB.NET situations, as VB.NET is an open source, and we are in the GitHub era, so, basically, there is nothing we can't do.
    And...
  19. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    Why should I write a 1000 wrapper over years, while I solved the issue, with one line of code?

    Besides, wrappers is not always possible. In fact this is was the first approach I tried to allow vb...
  20. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    This is not a performance issue. Because of the stack-only types best performance, they are now breeding like rabbets in .NET core and 3rd party libs, so, we began to find VB unable to use those...
  21. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    Sorry, but it must said that way. And not understanding an importance of thing doesn't imply understanding nothing at all. I am made that VB devs are throwing away its diamond thinking it is just a...
  22. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    It seems that if I accidentally piplished in a C# forum :)
    You seem that you don't know anything about BASIC, VB, VB.NET nor Roslyn.
    These tradistional propaganda about BASIC and VB should be dead...
  23. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    Can't happen, as I explained: runtime will throw an exception when a VB code violates ref structs rules.



    They are insisting to push vb out of the game, so, Syrus suggesting adding a new...
  24. Re: Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    The same answer as why can't we write the whole app in C# or Rust or Python.

    And by the way, VB always has a way to deal with unsafe code thought API, COM, and Marshal. This is an odd situation,...
  25. Use C# ref struct in VB.NET Today. And vote against preventing this in Roslyn

    This trick will allow you to use Span(Of T), and System.Text.Json library and more!
    Please fight with me to keep this working, as I feel that there is a war against VB .Net, and unfortunately, VB...
  26. Create ASP.NET Core 3.1 app in VB.NET today

    Hi all.
    We can say that VB.Net finally made it to ASP.NET Core.
    I published eShopOnWeb_VB.NET which is the VB.NET version of the Microsoft full web sample eShopOnWeb
    I used Vazor and ZML to design...
Results 1 to 26 of 27



Click Here to Expand Forum to Full Width