Search found 192 matches

by guest
Thu May 28, 2020 1:09 pm
Forum: Liberty BASIC Language
Topic: URL to Internet
Replies: 13
Views: 20529

Re: URL to Internet

URL$="http://tgftp.nws.noaa.gov/data/observations/metar/stations/KPHL.TXT" That should be ftp:// rather than http:// surely? If it's also available via the HTTP protocol you should be able to use httpget$() which is a built-in function in Liberty BASIC 4.5 and is available in LBB via the ...
by guest
Wed May 27, 2020 4:45 pm
Forum: Liberty BASIC Language
Topic: URL to Internet
Replies: 13
Views: 20529

Re: URL to Internet

JackKelly wrote: Wed May 27, 2020 3:40 pmHow can this be done in LBB?
(edited)

URLDownloadToFile seems to work fine for the file you specified. I've only tested it in BBC BASIC but it should certainly work in LB/LBB as well:

https://www.rosettacode.org/wiki/Web_sc ... erty_BASIC
by guest
Mon May 25, 2020 10:17 pm
Forum: Liberty BASIC Language
Topic: URL to Internet
Replies: 13
Views: 20529

Re: URL to Internet

As I recall, it sent a message to one of your websites and printed the reply, HTML code, to the mainwin. The nearest thing I can find to that description is this by Brent Thorn: ' Minimal TCP/HTTP client ' By Brent D. Thorn, 10/2010 ' A minimalistic TCP client which just happens to send the right s...
by guest
Mon May 25, 2020 6:26 am
Forum: Liberty BASIC Language
Topic: URL to Internet
Replies: 13
Views: 20529

Re: URL to Internet

JackKelly wrote: Mon May 25, 2020 12:20 am In the meantime could you possibly re-post the demo program from a couple of years ago, or a link to the OP if you can locate it.
I don't remember that demo program, what did it do?
by guest
Sat May 23, 2020 5:57 pm
Forum: Liberty BASIC Language
Topic: URL to Internet
Replies: 13
Views: 20529

Re: URL to Internet

At this point I don't know which weather service I would use, or what the message specs might be. In which case code isn't going to be any use to you! Whether it's TCP or UDP is the first and most fundamental thing you will need to ascertain, after that you will need to understand the message proto...
by guest
Fri May 22, 2020 3:38 pm
Forum: Liberty BASIC Language
Topic: URL to Internet
Replies: 13
Views: 20529

Re: URL to Internet

JackKelly wrote: Fri May 22, 2020 12:33 pmDoes anyone remember how to code those functions?
TCP or UDP? It makes quite a bit of difference.
by guest
Wed Feb 19, 2020 6:00 pm
Forum: Program editor
Topic: Text Entry Cursor stops blinking
Replies: 19
Views: 46697

Re: Text Entry Cursor stops blinking

guest wrote: Wed Feb 12, 2020 3:32 amIt turns out that it's controlled by a registry setting: HKEY_CURRENT_USER\Control Panel\Desktop\CaretTimeout.
It would of course be quite easy to write a LB/LBB program to make the necessary change to the Registry, to avoid having to do it manually.
by guest
Wed Feb 12, 2020 3:32 am
Forum: Program editor
Topic: Text Entry Cursor stops blinking
Replies: 19
Views: 46697

Re: Text Entry Cursor stops blinking

I eventually found the solution here . It turns out that it's controlled by a registry setting: HKEY_CURRENT_USER\Control Panel\Desktop\CaretTimeout . By default this is set to 5000 (0x1388), which means the caret stops blinking after 5 seconds. If you want it to continue blinking indefinitely you c...
by guest
Mon Feb 03, 2020 9:48 pm
Forum: Program editor
Topic: Left Border of Editor Window
Replies: 7
Views: 13145

Re: Left Border of Editor Window

For me this does not occur with any editor other than the LBB IDE. It's evidently a peculiar feature of the Rich Edit control. It is mentioned at MSDN here : " the selection bar is an unmarked area to the left of each paragraph that when clicked, selects the line " (so it's not the bevel)...
by guest
Sat Feb 01, 2020 6:37 pm
Forum: Program editor
Topic: Left Border of Editor Window
Replies: 7
Views: 13145

Re: Left Border of Editor Window

The standard Text Editor and Text Box controls don't have a 'bevel' by default. Isn't the presence of a 'bevel' principally a function of the window style, not what kind of control the window contains: nomainwin WindowHeight = 470 statictext #w.st1, "No Stylebits", 50, 20, 200, 32 stylebi...