Author Topic: client server exe's  (Read 2997 times)

0 Members and 1 Guest are viewing this topic.

Offline meerkat

  • Newbie
  • Posts: 3
    • View Profile
client server exe's
« on: February 01, 2021, 08:47:59 am »
I'm completely new to QB64 and am interested in client/server apps.
I have a fair knowledge of html.
What I was wondering, is it possible to send a 'exe' to a client instead of sending html.
Could it do interactive stuff. I have a avionics system with lots of dials, and dynamic maps and other stuff that is really complex in html. All the files they need are in SQLite on my server. I'd like to send a 'exe' to the client after a server request instead of html.. The client also needs to upload files such as images, video, text and maybe other media to the server

Thanks for the help..
Dan

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: client server exe's
« Reply #1 on: February 01, 2021, 12:25:34 pm »
This subject is outside my interest/knowledge but in interest of trying to help, have you seen this?
https://qb64.buzzsprout.com/1147208/4560233-episode-4-networking-in-qb64?play=true

I assume that's what we are getting at, several discussions on that subject (not sure it is same as your inquiry) if try search.
« Last Edit: February 01, 2021, 12:31:22 pm by bplus »

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: client server exe's
« Reply #2 on: February 01, 2021, 12:35:20 pm »
@meerkat Is this Windows only? If so, I could possibly offer some assistance.
Shuwatch!

Offline meerkat

  • Newbie
  • Posts: 3
    • View Profile
Re: client server exe's
« Reply #3 on: February 01, 2021, 01:27:34 pm »
@pplus
Thanks for the link. It helped a lot. I don't see where they send a exe to the client. The are using HTML. But it told me a lot, and there may be a way.

@SpriggsySpriggs
Should run on any system. But I'd be interested in how it might work with windows. Maybe it will tell me something I can use with other systems.

I currently trying to do it with red-lang on linux, and RFO basic on fuchsia.os

Thanks for all the help

Offline NOVARSEG

  • Forum Resident
  • Posts: 509
    • View Profile
Re: client server exe's
« Reply #4 on: February 01, 2021, 07:21:51 pm »
Is this what you need?


from  https://stackoverflow.com/questions/64893735/how-can-i-create-a-python-exe-file-with-a-sqlite-database-incorporated

Quote
I've programed a code in python that uses a sqlite database. Now i need to send an .exe file to other people and they have to run it properly only using the .exe file and without the .db files. But i don't know how to create an executable that includes the sqlite database. Any help?

Video on sqlite
t=1m14s
« Last Edit: February 01, 2021, 08:11:25 pm by NOVARSEG »

Offline meerkat

  • Newbie
  • Posts: 3
    • View Profile
Re: client server exe's
« Reply #5 on: February 02, 2021, 07:39:59 am »
@NOVARSEG
Not exactly.. It's not the DB I'm worried about. I want to send a exe file instead of html in a client/server.
No problem with SQLite or mySQL on a server is no problem..

Thanks for your help.