Re:TwinBASIC: A modern BASIC aiming for 100% compatibility w...
by int_19h on Tuesday July 05, 2022 @03:01AM
(#31985209)
Given than VB6 mostly used native widgets, you can make apps written in it look modern simply by adding a manifest with the appropriate incantations.
Re:TwinBASIC: A modern BASIC aiming for 100% compatibility w...
by Jaruzel on Tuesday July 05, 2022 @03:40AM
(#31985454)
True, but I think you also have to add a VisualStyles API call as well to the Form_Load() Sub ? It's been a long time since I've done it though.
Re:TwinBASIC: A modern BASIC aiming for 100% compatibility w...
by orra on Tuesday July 05, 2022 @07:22AM
(#31986852)
Looks like you need to call InitCommonControls(Ex), in addtion to the manifest. https://jeffpar.github.io/kbarchive/kb/309/Q309366/ I'll forgive your slight misremembering, because it's probably been 20 years.
Re:TwinBASIC: A modern BASIC aiming for 100% compatibility w...
by VB6-Programming on Tuesday July 05, 2022 @09:52AM
(#31988191)
>Looks like you need to call InitCommonControls(Ex), in addtion to the manifest.
Often all you need is the manifest. If the app won't run at all after you have added the manifest, then add a call to InitCommonControls(Ex)
I can see a use case for TwinBASIC in maintaining these legacy apps, as the VB6 IDE no longer behaves itself under Windows 10/11. If it offers compilation to 64-bit (pseudo)code, then these apps will gain an extension on their usable life.