Does the registered version come with instructions?

new BookmarkLockedFalling
donnybowers
Junior Member
**

donnybowers Avatar

My website was created in the mid 2000s. Unfortunately I lost the code somehow.
Posts: 70Male

Post by donnybowers on Nov 6, 2024 22:43:22 GMT -5

Does the paid version come with instructions on how to set up a home network server offline using a PC as the server, as well as instructions for a www server? I'm thinking about maybe using it as a personal home or business network server for a family appointment calendar, home inventory, maybe some ebooks (using the SHELL$ command) and some frequently used links. I thought I saw some information on the forum at one time that explained how to use it as a home network server, but I can't seem to find it now. I want to make sure these instructions are available to me if I purchase the pro version. I have zero experience with setting up networks.

EDIT: changed the term "pro version" to "registered version" and "paid version".
Last Edit: Dec 21, 2025 0:23:53 GMT -5 by donnybowers
Any code I share on this forum is released to the public domain and may be used freely any way you like unless for some reason I specifically indicate otherwise in the post.
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
donnybowers
Junior Member
**

donnybowers Avatar

My website was created in the mid 2000s. Unfortunately I lost the code somehow.
Posts: 70Male

Post by donnybowers on Apr 19, 2025 21:02:15 GMT -5

If I remember right, the instructions I once saw on this forum for setting up the server looked fairly easy to follow. At that time I was focusing on trying to figure out if I could use Run BASIC for what I wanted to do, and I never ended up getting the pro version. Mostly because Linux dropped support for 32 bit compatibility on 64 bit machines.

I'm hoping that once the new version is out this kind of information will again begin to flow on the forum.
Last Edit: Apr 19, 2025 21:02:57 GMT -5 by donnybowers
Any code I share on this forum is released to the public domain and may be used freely any way you like unless for some reason I specifically indicate otherwise in the post.
carlgundel
Administrator
*****
Creator of Run BASIC

carlgundel Avatar

Posts: 975

Post by carlgundel on Apr 21, 2025 8:40:22 GMT -5

donnybowers Avatar
If I remember right, the instructions I once saw on this forum for setting up the server looked fairly easy to follow. At that time I was focusing on trying to figure out if I could use Run BASIC for what I wanted to do, and I never ended up getting the pro version. Mostly because Linux dropped support for 32 bit compatibility on 64 bit machines.

I'm hoping that once the new version is out this kind of information will again begin to flow on the forum.

What are you trying to do?

Just to be clear there is no Pro version like there is in Liberty BASIC. There is free, and paid (or registered). The paid version adds password security so that the server can be outward facing.

-Carl
donnybowers
Junior Member
**

donnybowers Avatar

My website was created in the mid 2000s. Unfortunately I lost the code somehow.
Posts: 70Male

Post by donnybowers on Oct 2, 2025 21:30:02 GMT -5

Sorry, I should have said the paid version.

For now I would just like to set up a home server using a router, mainly to run a calendar so that my wife and I can more easily co-ordinate our schedules and appointments. Once I've accomplished that I might add some other apps that we can share.

I would actually prefer to set the network up on a separate router so that it's not in any way connected to the internet, but using my internet router would be acceptable. I have some old laptops, so I thought I'd dedicate one of those to serving the network and directly connect it to the router or else connect it using WiFi if that's possible. I'll probably just use Windows XP since I have both 32 and 64 bit versions of it. I would imagine Run BASIC is probably compatible with either, just not the Linux version. Later when the new version comes out I might get the Windows, Linux, Mac and the Raspberry Pi versions. But I'm thinking with the simple apps I want to write for now, RB v1 will probably suffice.

My problem is that I know very little about networking. I just finally learned how to connect a blue tooth speaker I bought months ago to use with my phone.

Eventually I would like to host a website from home using Run BASIC, but I thought I'd take it one step at a time and set up a home network first. I have a Facebook Group for my local community with a little over 5,000 members that I'm thinking of eventually creating a website for, and RB would be perfect for that. But that's down the road.
Last Edit: Oct 2, 2025 22:29:41 GMT -5 by donnybowers
Any code I share on this forum is released to the public domain and may be used freely any way you like unless for some reason I specifically indicate otherwise in the post.
badbug
New Member
*

badbug Avatar

Posts: 7

Post by badbug on Oct 3, 2025 3:27:50 GMT -5

I've been running a server with RB for years. No problem. I'm running it on the same PC I use. Easier to maintain the programs since everything is on one machine. Most of my stuff is small, normally less than 300 users. So the traffic is small, but some databases are huge with over 70,000 records.

Calendar events are a good place to start.

You could create a Calendar table with your specific needs. Maybe something like this;

CREATE TABLE calendar (
schNum INT(3),
calDate DATE,
name VARCHAR(12),
timeBeg TIME,
timeNeed DECIMAL(5,2),
event TEXT )
This has the date, when time begins and ends, the name of the person the event is for, and a description of the event.

You could create a monthly wall calendar showing the schedules in the proper boxes.
Easy to do in a html "<table>"

If you wanted all the dates in the calendar pre filled you could always do something like this in RunBasic;

sqliteconnect #sql, "C:\rbp101\projects\calendar_project\data\cal.db" ' connect to where your calendar db is
year$ = "2025"
date$ = year$ + "-01-01"
for i = 0 to 364
#sql execute("INSERT INTO calendar (calDate) VALUES (date('" + date$ + "', '+" + str$(i) + " day'))")
next i
end

Good luck..
Last Edit: Oct 23, 2025 17:21:11 GMT -5 by badbug
badbug
New Member
*

badbug Avatar

Posts: 7

Post by badbug on Oct 23, 2025 17:37:26 GMT -5

After thinking about it I decided to write a quickie RB program to produce a wall calender with scheduled events..


sqliteconnect #db, "C:\rbp101\projects\calendar_project\data\cal.db"
year$ = "2025"
month$ = "11"

'--- Get number of days in the month ---
sql$ = "SELECT strftime('%d', date('" + year$ + "-" + month$ + "-01', '+1 month', '-1 day')) AS daysInMonth"
#db execute(sql$)
#row = #db #nextrow()
daysInMonth = val(#row daysInMonth$())

'--- Get weekday (0=Sun..6=Sat) of the 1st of the month ---
sql$ = "SELECT strftime('%w', date('" + year$ + "-" + month$ + "-01')) AS firstWeekday"
#db execute(sql$)
#row = #db #nextrow()
firstWeekday = #row firstWeekday()

'--- Build the calendar ---
html "<h2 style='text-align:center'> Month:" + month$ + " Year:" + year$ + "</h2>"
html "<table border=1 width=100%>"
html "<tr bgcolor=lightgray><th>Sun</th><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th></tr>"

day = 1
weekday = firstWeekday
html "<tr height=100ch valign=top>"

'----------------------------------
' Empty cells before first day
'----------------------------------
for i = 0 to weekday - 1
html "<td></td>"
next

'------------------------------
' Fill in days of the month
'------------------------------
while day <= daysInMonth
ymd$ = year$ + "-" + month$ + "-" + right$("00" + str$(day), 2)
'--- Look up calender event info here if
sql$ = "SELECT * FROM calendar WHERE calDate = '";ymd$;"'"
#db execute(sql$)
rows = #db ROWCOUNT() 'Get the number of rows
events$ = ""
for i = 1 to rows
#row = #db #nextrow()
name$ = #row name$()
eventTime$ = #row eventTime$()
hours$ = #row hours$()
event$ = #row event$()
events$ = events$ + "<BR>" + event$ + "<BR>";name$;"<BR>";eventTime$;"<BR>";hours$
next i

html "<td width=15%>";day;events$;"</td>"
weekday = weekday + 1
if weekday = 7 then
weekday = 0
html "</tr>"
if day < daysInMonth then html "<tr height=100ch valign=top>"
end if

day = day + 1
wend

'--- Fill remaining empty cells at end of month ---
if weekday > 0 then
for i = weekday to 6
html "<td></td>"
next
html "</tr>"
end if

html "</table>"

Last Edit: Oct 24, 2025 2:20:13 GMT -5 by badbug