Search found 13 matches

by xxgeek
Thu Jun 27, 2024 8:15 pm
Forum: Showcase
Topic: Weather METARs
Replies: 6
Views: 11544

Re: Weather METARs

Hello again Jack, I noticed it takes a while to load due to a couple of factors. 1. It creates two arrays one after the other using the same info. (Can be changed to create them in the same loop to save time) 2. It loads a 416 item array into the combobox. What I have done is used a stylebit (got it...
by xxgeek
Fri Jun 14, 2024 10:56 pm
Forum: Showcase
Topic: Weather METARs
Replies: 6
Views: 11544

Re: Weather METARs

Hi Jack, Nice work. Will come in handy for travelers I'm sure. Hope you don't mind, I've added a Listbox with Canadian, American, and International Airports to choose from. You can still enter a code into the textbox and hit {Enter] if you know a code......... or select an airport from the List. Als...
by xxgeek
Sun Mar 17, 2024 1:50 pm
Forum: BASIC code examples
Topic: NEW > Quick EXE for Just Basic v2.0 & Liberty Basic 4.5.1
Replies: 0
Views: 1524

NEW > Quick EXE for Just Basic v2.0 & Liberty Basic 4.5.1

The following code will create EXE files from a Selected .bas file using LB Booster. Each EXE file is appended with the date/time and placed in a folder named BAS2EXE which is created in DefaultDir$ on first use. Then Explorer opens to the location of the new EXE file. Please read the top of the cod...
by xxgeek
Fri Mar 08, 2024 1:39 pm
Forum: General Board
Topic: A file delete it's self. How to?
Replies: 8
Views: 2895

Re: A file delete it's self. How to?

Just to add some more info on this....... The syntax for Liberty Basic is a little different than for LB Booster, The Liberty Basic syntax will work with LB Booster as well as Liberty Basic The LB Booster syntax will not work with Liberty Basic. Syntax errors with quotes in quotes. I wrote this litt...
by xxgeek
Thu Mar 07, 2024 2:55 pm
Forum: General Board
Topic: A file delete it's self. How to?
Replies: 8
Views: 2895

Re: A file delete it's self. How to?

Something like this might work, although I've not tried it:

Code: Select all

RUN "cmd.exe /C timeout /t 10 > NUL & del /f /q ""\mypath\myprog.exe"""
END
I have tried this and can confirm it works.
Thanks for posting this. It will be of use to me in future.
by xxgeek
Thu Feb 01, 2024 4:11 pm
Forum: BASIC code examples
Topic: BAS<2>EXE - Convert .bas files to exe (3 methods)
Replies: 0
Views: 1632

BAS<2>EXE - Convert .bas files to exe (3 methods)

P.S. IMPORTANT - Before running - Place file in it's own Folder. Many files and Folders will be created. BAS2EXE v1.9.2c with commandline support for Liberty Basic is a program I have been working on since my first days with Just Basic v2.0 approximately 2 years ago. I have been adding features to i...
by xxgeek
Thu Feb 01, 2024 2:45 pm
Forum: General Board
Topic: Posting test
Replies: 1
Views: 1703

Re: Posting test

Working again.

Thanks Richard
by xxgeek
Tue Dec 05, 2023 1:57 pm
Forum: BASIC code examples
Topic: Automate the Creation of the EXE File
Replies: 3
Views: 5901

Re: Automate the Creation of the EXE File

I just lucked onto a better more reliable way to verify the created exe file. It removes the 9 second pause, and replaces it with a second verification loop. I also commented the line to kill the created .vbs file. Why keep writing the same file over and over, and deleting it. Also once the exe file...
by xxgeek
Tue Nov 28, 2023 6:06 pm
Forum: Compatibility with LB4
Topic: LB TKN file
Replies: 7
Views: 13379

Re: LB TKN file

Thanks!

Small TKN file sent to info@rtrussell.co.uk

Good luck :)
by xxgeek
Tue Nov 28, 2023 5:04 pm
Forum: BASIC code examples
Topic: Automate the Creation of the EXE File
Replies: 3
Views: 5901

Re: Automate the Creation of the EXE File

I think I'm right in saying that if there's an existing EXE (in the default location) the various fields in the Compile dialog are automatically populated from that file, which hopefully simplifies things. I'll need to do some research on "the various fields in the Compile dialog" Also wo...