Page 13 of 13 FirstFirst ... 310111213
Results 481 to 501 of 501

Thread: TwinBasic

  1. #481
    New Member
    Join Date
    Feb 2015
    Posts
    3

    Re: TwinBasic

    Hello!
    Great job!
    When will it be possible to upload VB6 projects to TwinBasic?

  2. #482
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,520

    Re: TwinBasic

    Quote Originally Posted by lfeche View Post
    When will it be possible to upload VB6 projects to TwinBasic?
    That is still a ways off. It still needs a GUI engine which is in the works but not completed yet. However, it is already fully capable of executing non-GUI VB6 code. It just cannot yet read VB6's project formats. You'd have to manually copy-paste your VB6 code.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  3. #483
    New Member
    Join Date
    Feb 2015
    Posts
    3

    Re: TwinBasic

    Thanks!

  4. #484
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    twinBASIC status update:

    https://nolongerset.com/twinbasic-up...ember-26-2021/

    Highlights include a sneak peek at building custom form controls, the related dynamic property sheet, and a bunch of screenshots teasing the upcoming features.

  5. #485
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    twinBASIC GUI/Forms Designer progress:

    https://github.com/WaynePhillipsEA/t...iscussions/451

  6. #486
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    twinBASIC status update:

    https://nolongerset.com/twinbasic-up...ctober-3-2021/

    Highlights include a glimpse into the possible GUI release timeline and a discussion about data binding with twinBASIC forms.

  7. #487
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    Video of the twinBASIC form designer in action, and a simple grid control (less than 100 lines of code for the OnPaint method).

    twinBASIC form designer video

    This form designer and cross-platform forms engine based on custom-drawn controls is specifically designed for later supporting multi-platforms.

    Later there will be VB6-compatible Forms engine, including implementation of all basic controls and support for ActiveX controls.

  8. #488
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,520

    Re: TwinBasic

    TwinBASIC is starting to look very sexy! Can't wait to get back to testing it.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  9. #489
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    twinBASIC update...

    https://nolongerset.com/twinbasic-up...tober-10-2021/

    Highlights include an extended preview of the yet-to-be-released form designer and a spirited discussion about whether to fork VS Code to create a dedicated tB IDE.

  10. #490
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    The first version of the Form Designer and Custom Controls are now in twinBASIC v0.11.

    Here is a sample project with a grid control...
    https://user-images.githubuserconten...ee2ac68be1.gif

    Initially this is only available to those who have pre-ordered a twinBASIC license.

  11. #491
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    twinBASIC update...

    https://nolongerset.com/twinbasic-up...tober-17-2021/

    Highlights include the alpha release of CustomControls, a twinBASIC wiki, and a revived discussion around "Quirks Mode" in twinBASIC.

  12. #492
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,520

    Re: TwinBasic

    Quote Originally Posted by VB6 Programming View Post
    twinBASIC update...

    https://nolongerset.com/twinbasic-up...tober-17-2021/

    Highlights include the alpha release of CustomControls, a twinBASIC wiki, and a revived discussion around "Quirks Mode" in twinBASIC.
    That quirks mode discussion is interesting. Not sure how I feel about it. On the one hand, all these quirks and bugs in VB6 are no good and need to be gone but on the other hand it's necessary for backward compatibility with VB6. It seems the aim of 100% compatibility with VB6 would demand some sacrifices. Hope it doesn't become so much that TwinBASIC becomes just as broken and painful to use as VB6.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  13. #493
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    Quote Originally Posted by Niya View Post
    It seems the aim of 100% compatibility with VB6 would demand some sacrifices.
    Backwards compatibility is never as straightforward as it sounds. But it has to be the overriding aim. Otherwise (as happened with VB.Net) developers simply won't migrate existing apps.

    So you have to replicate VB quirks in twinBASIC.

    That may sometimes mean you have 2 ways of coding something - the old, quirky, way and a new (more) correct way - each potentially giving different results.

    In some cases you may get 2 different results from the same code, depending whether the old or new way is selected. I don't like this, and would prefer the old statements gave the old quirks and new, improved code to give the correct result.

    Old quirky statements could be optionally disabled with options/flags, but I think I would still allow them but mark them as 'deprecated'.

  14. #494
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,520

    Re: TwinBasic

    I think Microsoft already showed us the way when it comes to how to handle this. In VB.Net, they provided a namespace with most of the VB6 stuff that works the way it did in VB6 but you could opt to use the Framework to do it the .Net way.

    TwinBASIC could take a similar approach. They could have all the quirky behavior be the default but then they could provide a bunch of modern replacements with no quirks in the form of a new set of classes, or a modules. This way all of the old VB6 programs still work but anyone that wants to get away from the legacy stuff could use the new classes or whatever to opt-in to the new way of doing things. Those of us that left VB6 to go into VB.Net took a similar path. We started by doing things the old way but slowly learned how to do it the modern way.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  15. #495
    Frenzied Member PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Newport, UK
    Posts
    1,486

    Re: TwinBasic

    Quote Originally Posted by VB6 Programming View Post
    In some cases you may get 2 different results from the same code, depending whether the old or new way is selected. I don't like this, and would prefer the old statements gave the old quirks and new, improved code to give the correct result.
    You also have to contend with code that might need to work either way - if a library exists it might need to accept an "old" data type or a "new" data type that conceptually are the same. Making sure a library can cope with both versions, including all the quirks can quickly start to get complicated.

  16. #496
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,520

    Re: TwinBasic

    Quote Originally Posted by PlausiblyDamp View Post
    You also have to contend with code that might need to work either way - if a library exists it might need to accept an "old" data type or a "new" data type that conceptually are the same. Making sure a library can cope with both versions, including all the quirks can quickly start to get complicated.
    Yea, this definitely a big problem.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  17. #497
    Frenzied Member
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    1,166

    Re: TwinBasic

    It should always run in quirks mode and any 'advances' or changes to original spec. should be switched on an individual basis, item by item, flag by flag.

    Improvements are welcome but not required. The same code compiled to 64bit with quirks should be the minimum.
    By the power invested in me, all the threads I start are Niya and Olaf free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  18. #498
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    twinBASIC update...

    https://nolongerset.com/twinbasic-up...tober-24-2021/

    Highlights include the addition of 4 new custom control events, ElementTabStop/Index properties, and a Spanish presentation on twinBASIC.

  19. #499
    Hyperactive Member Episcopal's Avatar
    Join Date
    Mar 2019
    Location
    Brazil
    Posts
    297

    Re: TwinBasic

    Quote Originally Posted by Niya View Post
    I think Microsoft already showed us the way when it comes to how to handle this. In VB.Net, they provided a namespace with most of the VB6 stuff that works the way it did in VB6 but you could opt to use the Framework to do it the .Net way.

    TwinBASIC could take a similar approach.

    I totally agree... if it's not too much work for the twinbasic developers.

  20. #500
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    306

    Re: TwinBasic

    There have now been over 1000 downloads of the twinBASIC preview.


    https://marketplace.visualstudio.com...false#overview

  21. #501
    Frenzied Member
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    1,166

    Re: TwinBasic

    No need to be complicated.

    The superior alternative path is the best one. All VB6 quirks are coded exactly as the originals, with superior alternatives offered in their place. Then all older code will work but ultimately for any new coding the superior alternative will be the one developers will choose automatically. The better in this case being the enemy of the sufficient... or the quirky.
    By the power invested in me, all the threads I start are Niya and Olaf free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

Page 13 of 13 FirstFirst ... 310111213

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width