Search found 17 matches

by xxgeek
Sun Sep 06, 2026 5:42 pm
Forum: General Board
Topic: How to create a password?
Replies: 7
Views: 4460

Re: How to create a password?

Here is what I believe you are looking for. No Random, and no RND(). Uses the system timer. ' Example usage: print a 16-character password - can be changed to any number print generatePassword$(16) end function generatePassword$(length) ' Define the character pool: lowercase, uppercase, and numbers ...
by xxgeek
Fri Sep 04, 2026 1:06 pm
Forum: General Board
Topic: How to create a password?
Replies: 7
Views: 4460

Re: How to create a password?

Here is a short bit of code to create passwords, but does use random letters and numbers from a variable. nomainwin WindowWidth = 500 WindowHeight = 220 statictext #main.l1, "Password length:", 15, 30, 150, 25 textbox #main.len, 165, 27, 80, 25 button #main.gen, "Generate", [gene...
by xxgeek
Thu Sep 03, 2026 4:08 pm
Forum: General Board
Topic: How to create a password?
Replies: 7
Views: 4460

Re: How to create a password?

Did you get an answer to your question there?

Not exactly sure what you're trying to do.
by xxgeek
Wed Sep 02, 2026 5:57 pm
Forum: General Board
Topic: How to create a password?
Replies: 7
Views: 4460

Re: How to create a password?

Not an answer, although you may find something to help at the JB forums under the "Code Discussion" section.

xcoder has been writing encryption code for quite a while using a few different methods.

https://justbasiccom.proboards.com/boar ... iscussions
by xxgeek
Thu Jun 27, 2024 8:15 pm
Forum: Showcase
Topic: Weather METARs
Replies: 6
Views: 42880

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: 42880

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: 102487

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: 38972

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: 38972

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: 53852

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