We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 660
» Latest member: RandyMab
» Forum threads: 198
» Forum posts: 2,120

Full Statistics

Online Users
There are currently 20 online users.
» 0 Member(s) | 19 Guest(s)
Google

Latest Threads
Diving into Z-S's SB.js w...
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-26-2025, 05:23 PM
» Replies: 2
» Views: 53
SBJS coming soon
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-25-2025, 01:54 PM
» Replies: 2
» Views: 39
Google Search Terminal SB...
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-24-2025, 01:27 PM
» Replies: 0
» Views: 18
Google Search Terminal SB...
Forum: Standard Small Basic
Last Post: z-s
06-24-2025, 03:46 AM
» Replies: 1
» Views: 23
Google Search Terminal SB...
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
06-23-2025, 09:47 PM
» Replies: 0
» Views: 14
Replace Small Basic?
Forum: Discussion
Last Post: z-s
06-23-2025, 09:37 AM
» Replies: 12
» Views: 189
SB Forms extension
Forum: Extensions
Last Post: sm4llprogrammer2008
06-22-2025, 10:30 PM
» Replies: 1
» Views: 505
ZS Extension.
Forum: Extensions
Last Post: z-s
06-21-2025, 08:58 AM
» Replies: 98
» Views: 13,385
LDGraphicsWindow.Transpar...
Forum: Extensions
Last Post: martmen
06-12-2025, 10:05 AM
» Replies: 2
» Views: 120
Small Basic super slow ??
Forum: Standard Small Basic
Last Post: Elzaimer
06-10-2025, 07:21 PM
» Replies: 24
» Views: 670

 
  LDUtilities.Version() function
Posted by: Scout - 09-10-2023, 08:40 PM - Forum: Extensions - Replies (6)

I downloaded the latest version 1.24 and the beta version 1.25 and copied each into the LIB directory.
The file attribute also shows these versions.
However, the LDUtilities.Version() function always runs to error 403 and shows version 1.23.
The extension manager cannot download the database.
Maybe the old URL is still accessed here?

Print this item

  Do we need a new SB Q&A forum?
Posted by: litdev - 09-10-2023, 04:41 PM - Forum: Discussion - Replies (2)

I've been doing a bit of looking and see that MS Q&A is still active with Small Basic questions, so not sure if this forum is needed.

The MS Q&A somewhat suffers from Small and Basic questions that have nothing to do with Small Basic programming, so there may be benefit from this dedicated forum.

Anyway, I will leave the forum here and if there is interest it may grow.

Print this item

  Get LitDev Extension
Posted by: litdev - 09-09-2023, 04:26 PM - Forum: Extensions - Replies (2)

You can get the LitDev extension from https://litdev.uk/#Extensions, with installation instructions https://litdev.uk/#Usage.

There is plenty of documentation and other utilities, all on https://litdev.uk.

This forum is the best place to ask any questions on this Small Basic extension.

Print this item

  Challenge 1 - TextWindow login
Posted by: litdev - 09-04-2023, 09:18 AM - Forum: Challenges - Replies (1)

Write a TextWindow login program.

It should have options to:

  • create and account and set a password
  • login using existing account and password (checking the password)

To extend the program you could:
  • have a reset password option
  • save the passwords so that the program can be rerun
  • consider how to 'encrypt' the passwords
  • write a GraphicsWindow version

Print this item

  Welcome
Posted by: litdev - 09-02-2023, 08:38 PM - Forum: Standard Small Basic - Replies (19)

Welcome,

Good places to start with Small Basic programming include:

Small Basic - Install Small Basic
Introduction to Small Basic - Introduction
Small Basic Forum - Now closed, but loads of good stuff there
Tutorials - Class style lessons
Facebook - Lots of cool, mainly graphics examples
YouTube - Nice introductory tutorials
Wiki guides - Some articles I wrote after several years supporting Small Basic

When asking a question, you can share your program using the Publish and Import feature shown below.  Then just post the 10 digit code (e.g. MGMF705.000) to keep posts short.  You can of course include short program segments as well.

   

There is no substitute for just having a go - you can't break anything - and ask questions!

Due the large number of spam users, we are relatively agressive banning and in some cases preventing acount activation.  If you are having trouble with activation, then please contact admin@litdev.uk.

Have fun programming...

Print this item

  Flickr
Posted by: litdev - 09-02-2023, 07:33 PM - Forum: Extensions - Replies (8)

I have previously fixed issues with Small Basic Flickr command, due to changes in flickr api.

I had a look at it again as it doesn't work and determined that this time the api key has expired.  I got a new api key and updated LDUtilities.FixFlickr.  It seems to need to download the file rather than just load with ImageList, but the following works (Beta 1.2.25.0).

Code:
LDNetwork.SetSSL()
flickr = LDUtilities.FixFlickr()
imageURL = Flickr.GetRandomPicture("Car")
tmpFile = File.GetTemporaryFilePath()
LDNetwork.DownloadFile(tmpFile,imageURL)
image = ImageList.LoadImage(tmpFile)
File.DeleteFile(tmpFile)
GraphicsWindow.DrawResizedImage(image,0,0,GraphicsWindow.Width,GraphicsWindow.Height)

Print this item

  Network file transfer
Posted by: litdev - 09-02-2023, 05:27 PM - Forum: Extensions - No Replies

While reinstating website and extension downloader, I found that various webserver requests, like ftp etc failed.  The solution was to set the following (C#) before starting web requests.

Code:
WebRequest.DefaultWebProxy.Credentials = CredentialCache.DefaultCredentials;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
I then tried one of my old programs that uses a web resource image and it failed.  It was the same SSL security issue.  The same fix, implemented with LDNetwork.SetSSL().  The following SB now works, even with standard SB ImageList web access for networked resources.
Code:
LDNetwork.SetSSL()
image = ImageList.LoadImage("https://litdev.uk/game_images/rubic.png")
GraphicsWindow.DrawImage(image,0,0)
This should open up a lot of options for networked resources, and is available with LitDev Beta version (1.2.25.0).

Print this item

  Welcome
Posted by: litdev - 09-01-2023, 08:29 AM - Forum: Discussion - Replies (2)

Welcome to this Small Basic forum.

The idea of this forum is to provide a resource for questions and answers.

Please use this Discussion section for general Small Basic discussions.

Due the large number of spam users, we are relatively agressive banning and in some cases preventing acount activation.  If you are having trouble with activation, then please contact admin@litdev.uk.

Print this item