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

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,660

    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
    318

    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
    318

    Re: TwinBasic

    twinBASIC GUI/Forms Designer progress:

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

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

    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
    318

    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,660

    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
    318

    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
    318

    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
    318

    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,660

    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
    318

    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,660

    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,495

    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,660

    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,234

    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
    318

    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
    301

    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
    318

    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,234

    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.

  22. #502
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,731

    Re: TwinBasic

    The namespace idea would be a good one. What would be ideal would be the ability to easily toggle on and off the old way would make it easy for somebody to see where they were using the inferior such that they can focus on changing those. Once they have them all changed, they could turn off the inferior way for good. It's good to allow the old way to work, but it's also good to have a means to push people away from it.
    My usual boring signature: Nothing

  23. #503
    Junior Member
    Join Date
    Nov 2018
    Posts
    26

    Re: TwinBasic

    Heh, that's almost exactly what MS did with the Net Core transition...

    (net framework (net standard) net core)

    Net standard was just a bridge. As soon as enough people crossed it, they burned it to the ground.

  24. #504
    PowerPoster
    Join Date
    Feb 2017
    Posts
    3,527

    Re: TwinBasic

    Quote Originally Posted by Shaggy Hiker View Post
    Once they have them all changed, they could turn off the inferior way for good.
    I don't think that will ever happen with VB6 --> tB.
    There will keep appearing new programmers (to tB) coming from VB6 for many years.

  25. #505
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    twinBASIC update...

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

    Highlights include initial support for a Clipboard object, a new custom control sample (Wayne's TextBox), and support for Return as an alias for Exit Sub.

  26. #506
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,660

    Re: TwinBasic

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

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

    Highlights include initial support for a Clipboard object, a new custom control sample (Wayne's TextBox), and support for Return as an alias for Exit Sub.
    This literally made me laugh:-
    Supporting this feature would break backward compatibility in a very narrow way. The issue is that a bare Return statement with no matching GoSub in VBx is a runtime error and not a compile error. So, it is theoretically possible that some madman out there is relying on a bare Return raising a runtime error and when that code gets converted to twinBASIC...and does not raise an error...then his code will stop working. But, you know what? Screw that guy.
    I love this dude, whoever he is.
    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

  27. #507
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,731

    Re: TwinBasic

    Yeah, that's a good answer. Anybody who is relying on that behavior...has issues.
    My usual boring signature: Nothing

  28. #508
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    twinBASIC update:

    https://nolongerset.com/twinbasic-up...vember-7-2021/

    Highlights include our first look at a working twinBASIC form, the early makings of inheritance support, and the promise of custom ActiveX control development.

  29. #509
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    A new release of twinBASIC v0.12.117 is available.

    The licence key requirement for the Custom Controls is removed from this version so anyone can test/try it.

    See Sample6 for an example of using a form with custom controls.

    This shows the Form Designer using custom controls. This is an early implementation of the form designer.
    The intention is to develop this further in 2 ways:
    1) to develop a VB6 compatible form designer using all basic controls and supporting ActiveX controls.
    2) to support multi-platform (Windows, Linux, Mac and Android) where ActiveX controls aren't supported.

    https://marketplace.visualstudio.com...false#overview
    Last edited by VB6 Programming; Nov 10th, 2021 at 01:15 PM.

  30. #510
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    twinBASIC update:

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

    Highlights include temporary removal of the license key requirement for CustomControls and partial inheritance support using Implements ... Via.

  31. #511
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    twinBASIC major milestone release - PREVIEW 2 - v0.13.x - 64 BIT SUPPORT

    Full 64-bit compilation support, including EXE/DLL builds, integrated debugger, integrated linker, etc.

    To get started, first you need to create a win64 build configuration in your projects. To help you, when you first open your projects in v0.13.1, the IDE will prompt you to create one.

    Now you should be able to activate the win64 build configuration.
    After selecting win64, you'll be prompted to restart the compiler. After doing so, you'll be debugging and compiling in full 64-bit.

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

    64-bit compilation for non-licence holders is allowed, though EXE and DLL compilations will display an embedded twinBASIC splash screen for 5 seconds at startup. twinBASIC licence holders will of course not be subjected to this.
    Last edited by VB6 Programming; Nov 20th, 2021 at 04:47 AM.

  32. #512
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    twinBASIC update...

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

    Highlights include 64-bit compilation support (no license required!) and a discussion about early binding and reference handling.

  33. #513
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    twinBASIC release 0.13.5

    Latest additions to twinBASIC:

    Initial support for File I/O statements: Open (Binary / Random modes only), Put, Get

    Implementations for VBA.FileSystem members: FreeFile, EOF, LOF, FileAttr, Loc, Seek, Reset

  34. #514
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,660

    Re: TwinBasic

    No link this time?
    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

  35. #515
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    Quote Originally Posted by Niya View Post
    No link this time?
    Links

    File I/O support

    twinBASIC Preview 2 out now

    twinBASIC install

  36. #516
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,660

    Re: TwinBasic

    Quote Originally Posted by VB6 Programming View Post
    I was actually referring to the links to your site with all the "around the web" stuff. I enjoy reading those updates....

    Quote Originally Posted by VB6 Programming View Post
    The file I/O discussion is pretty interesting. I think Unicode support it should be part of the Open statement syntax for the reasons stated by bclothier. It would encourage defensive coding practices that would just be messy.
    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

  37. #517
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    Quote Originally Posted by Niya View Post
    I was actually referring to the links to your site with all the "around the web" stuff. I enjoy reading those updates....
    ?

    Are you meaning this site... https://nolongerset.com/

    That's not me, it's Microsoft MVP Mike Wolfe's site. He does a summary every Sunday of the status of twinBASIC.

  38. #518
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,660

    Re: TwinBasic

    Ah ok.
    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

  39. #519
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    318

    Re: TwinBasic

    twinBASIC update:

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

    Highlights include the first major release of file handling statements and functions in twinBASIC, along with talk of providing a tB license to the Rubberduck project.

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