Page 1 of 2 12 LastLast
Results 1 to 40 of 71

Thread: twinBasic "installer"

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    twinBasic "installer"

    I did this for myself (because clicking links is hard ) and thought I'd share it. It is very simplistic, select where to download the zip file, select where twinBasic is locally, select what to do with the zip file once downloaded, click download. It finds the latest available and does what is asked.

    Do with it as you will.

    https://github.com/jdelano0310/GettbZip

    Thank you wqweto for cZipArchive.cls

    **no error trapping currently as using On Error Goto causes the project to no longer work https://github.com/twinbasic/twinbasic/issues/1911

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    A quick video of updating to 662 just now. https://1drv.ms/v/c/7b44a6c9bbfcba41...OK_kA?e=YcfPiq

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Small update to add the change log and switched to using HTMLDocument, string was fine for just getting the version, https://imgur.com/a/j9Qn5ho

  4. #4
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Re: twinBasic "installer"

    Perhaps one day, twinbasic will become an NPM package that gives vba,vb6 Compile 64-bit DLL, exe, you only need a command line, it can automatically download, automatically you can be compiled into PE files.

    In the Linux world, only the command line is not installed. Next step, next step, there is no need to download manually.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Quote Originally Posted by xiaoyao View Post
    Perhaps one day, twinbasic will become an NPM package that gives vba,vb6 Compile 64-bit DLL, exe, you only need a command line, it can automatically download, automatically you can be compiled into PE files.

    In the Linux world, only the command line is not installed. Next step, next step, there is no need to download manually.
    Anything is possible.

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Added the change log to the screen. There is a local copy of the releases page being used here, why it says debug in the status, as there isn't a newer version than what I am using.
    Attached Images Attached Images  

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Video with new options to check for a newer version on load of the utility and launch the new version of twinBASIC after it is extracted to the folder.
    https://1drv.ms/v/c/7b44a6c9bbfcba41...s7lZQ?e=CKOwuw

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Updated to now grab the current version number from build.js.

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Added code to return the change log of each version between the currently installed version and the current release.
    Attached Images Attached Images  

  10. #10

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    So, I've added a few things to this, renamed it tBHelper and a new repo where I upload the exported files from the source folder instead of the twinproj file, I can upload that if requested.

    Here is the new repo https://github.com/jdelano0310/tbHelper

  11. #11
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    Thank you, I use this excellent utility daily!

  12. #12

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    I am happy that you find it useful.
    I'm working on a GUI rework; I was doing that first but then pivoted to just a few feature updates.

  13. #13
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    Since you're working on the UI, one feature request would be to allow for font size adjustments on the Change Log window. My old eyes have a hard time with the font at the current size.

  14. #14

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Good call.

    edit: better???
    Attached Images Attached Images  
    Last edited by jdelano; Jun 26th, 2025 at 10:42 AM.

  15. #15

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Hey AAraya, would you be willing to help me test this new GUI in the next week or two (ish)??
    Currently this form is just the GUI with test data, I'm getting closer to adding the code into it. I've been creating user controls to create this version. Sans the revert and view log buttons from Krool's collection.
    Attached Images Attached Images  

  16. #16
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    Absolutely would be willing to help test that!

  17. #17

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    excellent, thank you. I'll keep you posted.

  18. #18
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    3,560

    Re: twinBasic "installer"

    Looks good.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  19. #19

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    thank you! coming from the master creator that means a lot.

  20. #20
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    3,560

    Re: twinBasic "installer"

    I know an nice interface when I see one. Just because it isn't steampunk/diesel doesn't reduce its usability/ attractiveness to my eyes.

    Making VB6 do more than it should be naturally able to, always impresses me.

    PS. Do you release your code or just a binary? I'd like to dig into it for examples, if you are happy with that.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  21. #21

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    It'll be here https://github.com/jdelano0310/tbHelper, I'll post the exported files - I'll make a sub folder for this GUI project that will then become the next tbHelper app.

  22. #22

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Too blue?
    Attached Images Attached Images  

  23. #23
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    That blue in the upper portion looks to be a fairly standard Windows blue so that's not so out of place.

    I'm not an artist but the violet blue filter colors is the one that seems to clash with the blue on top

  24. #24
    New Member
    Join Date
    Nov 2020
    Posts
    1

    Re: twinBasic "installer"

    Quote Originally Posted by jdelano View Post
    Too blue?
    twinbasic herhangi bir kütüphaneye ba?l? m?? mesela .net framework gibi zorunluluklar? var m? ?

    VB6 Kodlar? ile %100 uyumluluk devam ediyor mu .

  25. #25

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    That blue in the upper portion looks to be a fairly standard Windows blue so that's not so out of place.

    I'm not an artist but the violet blue filter colors is the one that seems to clash with the blue on top
    Indeed and agreed.

  26. #26
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,654

    Re: twinBasic "installer"

    Quote Originally Posted by saraybilisim View Post
    twinbasic herhangi bir kütüphaneye ba?l? m?? mesela .net framework gibi zorunluluklar? var m? ?

    VB6 Kodlar? ile %100 uyumluluk devam ediyor mu .
    This is an English language forum, you couldn't be the one to put your comment through a translator? It's also not about this specific community project.

    To answer your question, no, there's no library dependencies for twinBASIC-compiled exes beyond the standard OS components that exist on all Windows computers (currently back to Windows XP; Windows 2000 may be supported in the future, but Windows 95/98/ME/NT4 will not).

    The twinBASIC IDE depends on WebView2, which requires Windows 7.

    100% compatibility with the VB6 language and documented features/behaviors is the goal, and it's nearly there, but as the "BETA" status suggests, there's still some bugs and a handful of unimplemented features, although many large and complicated VB6 projects run without modification right now.

    Please post future questions and comments in their own thread or at least the main twinBASIC thread.

  27. #27

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Still plugging away, learning GDI+ is a fickle beast, when you have a few custom controls, there are hoops and many other considerations.

  28. #28
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    I used GDI+ extensively in a tool I recently worked on and found AI invaluable at providing the correct API definitions, GDI+ calls, ensuring all objects were properly cleaned up. I couldn't have done the work without it - other than spending 10x the amount of time and effort on it.
    Last edited by AAraya; Aug 23rd, 2025 at 09:53 AM.

  29. #29

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Am using copilot, it has been a learning experience. I'm an old function over form developer, emphasis on old. Good to keep the grey matter malleable.

  30. #30
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,654

    Re: twinBasic "installer"

    Quote Originally Posted by AAraya View Post
    I used GDI+ extensively in a tool I recently worked on and found AI invaluable at providing the correct API definitions, GDI+ calls, ensuring all objects were properly cleaned up. I couldn't have done the work without it - other than spending 10x the amount of time and effort on it.
    It's ok for common API defs in 32bit only, but mistakes go up quickly when there's no existing def or no x64 supporting def in its training. I'm not perfect either but WinDevLib is going to have a far lower error rate for API definitions, and it's even more efficient almost never needing to worry about them again. It's a whole different ballgame from old VB6 libs like winu.tlb that only covered a small fraction... WDL has complete coverage of hundreds of SDK headers for everything common. GDI+ is covered 100%.
    .
    For VB6 you'd need to remove PtrSafe and a couple other tB enhancements but a centralized source is nice.

  31. #31

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Nice, I was reading that thread recently too. As I feel like the time is nigh to rethink the user control GDI processing in my project, I'll revisit it. Thank you.

  32. #32

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    @fafalone - thanks for the WinDevLib, it has been a value add for sure!
    @AARaya - if you'd like to take this beta for a spin, let me know what all breaks.
    Known
    The download button state is incorrect if the setting is to look for a new version at launch and there isn't one (it is disabled and blank)
    If twinBASIC is reverted, there is no visual indication that the process was successful or not.
    If twinBASIC is reverted to an older version, the main form isn't properly updated to the proper installed version

    Looking at these 3 tomorrow and that'll move the version to beta 2, if you think of something you'd like, let me know. One thing I'm adding is a resource feature with links to websites that a relative (twinBASICs, VBForums twinBASIC, and nolongerset.com, maybe report a bug with most of the template prefilled)

    The images will be added as a resource as well, and the awful disabled cursor is going away.

    EDIT: the zip https://1drv.ms/u/c/7b44a6c9bbfcba41...FSIiA?e=cmfEwr
    my quota is exceeded again LOL

  33. #33

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    If anyone is particularly adventurous a new zip starting with beta 2 https://1drv.ms/u/c/7b44a6c9bbfcba41...zexAA?e=oQCB0z

  34. #34
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    I look forward to playing with this new version. It'll be much easier when regular tB updates are being released. Initial impressions are that the UI looks much improved.

    I'd suggest possibly pre-populating the download location with the default Downloads folder

  35. #35

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Quote Originally Posted by AAraya View Post
    I look forward to playing with this new version. It'll be much easier when regular tB updates are being released. Initial impressions are that the UI looks much improved.

    I'd suggest possibly pre-populating the download location with the default Downloads folder
    Good idea!

    EDIT: this beta 2 version auto finds the user download folder (even if it has been moved) and twinBASIC folder, if there is no settings file to read it from.
    https://1drv.ms/u/c/7b44a6c9bbfcba41...GpUdw?e=W940dE
    Last edited by jdelano; Sep 23rd, 2025 at 04:33 AM.

  36. #36
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    Now that a new version of tB has been released I've had a chance to run the new version.

    Two issues:
    1. Still deletes the install folder and doesn't install the new version when not run as an administrator. Install folder is C:\Program Files\TwinBasic
    2. I'm at 150% DPI and this appears to cause issues with the confirmation messages (text too small) and the grid on the main window - both images and text (both cut off).

    I can provide screenshots but it should be easy enough for you to reproduce.

    Other than that, so far so good!
    Last edited by AAraya; Sep 30th, 2025 at 06:06 PM.

  37. #37

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Awesome, thank you. I have been working on the DPI, I haven't had the time to upload it. Absolutely, yes on then require admin rights for certain folders. I haven't revisited it in this version as of yet.

    Thank you for testing it.

    Latest exe: https://1drv.ms/u/c/7b44a6c9bbfcba41...3pncw?e=l0P7F5

  38. #38
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: twinBasic "installer"

    Does that EXE address either of the issues I reported?

  39. #39

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    The DPI in the logs

  40. #40

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2022
    Location
    Buford, Ga USA
    Posts
    630

    Re: twinBasic "installer"

    Which makes more sense to you, regarding extracting to a folder in the Program Files folders.

    1) Once you select the location of tB and it is in one of those folders, the app alerts you that elevated rights will be required, it sets itself as requiring it to run, you're asked to relaunch the app, Windows will alert you it is requesting admin rights each time going forward.

    2) There is an associated exe that is responsible for extracting the files to the tB location (only used if the location is in one of those folders) it is already set up to ask for admin rights to execute. This only runs if an extraction is required (getting a new version or reverting to an older version)

Page 1 of 2 12 LastLast

Tags for this Thread

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