Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Using a compiler named Liberty Basic (www.libertybasic.com), I have written a program (compiled as an .exe application) which extracts data from a .dat file and creates a calendar somewhat similar to the one found here: torahcalendar.com As this website has done, I now need to embed my application on my website in order to enable visitors to run it. Please bear in mind that I am a real novice at coding of any kind. Thanks for your help.

What I have tried:

I have spoken with coders who have told me this would be very difficult.
I have searched various topics online. Some look as though they might be helpful but are beyond my coding capabilities.
I have asked my website host for help. They weren't interested.
I have spoken with website developers who say they could do it, but would require 1000s of $$$. I am a pensioner so this solution is prohibitive.
Posted
Updated 22-May-23 9:49am
Comments
k5054 22-May-23 17:29pm    
In addition to what OriginalGriff has said in solution 1, consider that the web is not a homogeneous sea of Windows X86 systems. What about people on Apple OSX or Linux? Or any of the other multitude of OS's out there. There's even Windows on ARM these days, which may or may not be able to execute a windows x86 .exe.

1 solution

You can run it, but only on the server with no access at all to the client computer or the data on it. If you get the user to upload the .DAT file to the computer, then it's possible (though that would depend on your hosting service - some have restrictions on what EXE files you can execute for security reasons.

You cannot run any applications on the client computer unless you persuade them to download the EXE file and run it - the security implications if you could should be obvious as to why this is impossible. It used to be possible with ActiveX controls decades ago, but since they were immediately highjacked by malware that was turned off in all browsers pretty quickly!

If you recode the app to run in Javascript you could run it within the browser which would mean it runs locally to the client, but even then it couldn't access the client file system directly.

I suspect you might need to think again about what you are trying to do, and how you can do it - then restructure it to fit with your current skill level.

[edit]
I just googled for LibertyBasic and I think you are really on the wrong path - you can't use a GUI app on the server at all - the client can't see it even if the server is connected to a monitor which is pretty uncommon!
You are almost certainly going to have to learn Javascript, HTML,CSS, and a server language (PHP or C# probably) to get this site up and running - a "dialect of the BBC Micro Basic language" isn't going to work at all!

I realize that this all sounds negative, and probably depressing - but us older folk can learn new stuff (I'm about to start collecting my pension as well and I'm nowhere near the oldest person here!) so it might be worth you looking around to see what you can pick up.
[/edit]
 
Share this answer
 
Comments
bman444 23-May-23 13:39pm    
OriginalGriff: I may not be understanding your advice correctly, and maybe I need to clarify a couple things.

"You can run it, but only on the server with no access at all to the client computer or the data on it." My program needs no access to client or its data.

"If you get the user to upload the .DAT file to the computer...." If the 'user' is the 'client', program needs no information from the website visitor using it.

"You cannot run any applications on the client computer unless you persuade them to download the EXE file and run it...." I only need my program to run on the website. All the website visitor does is choose from options that the program presents.

"If you recode the app to run in Javascript you could run it within the browser which would mean it runs locally to the client, but even then it couldn't access the client file system directly." Again, assuming 'client' refers to the website visitor, no access to client files is needed.

"... you can't use a GUI app on the server at all...." My program's .exe format doesn't solve this?

What do you think of the information here: https://www.thoughtco.com/add-exe-files-to-web-sites-2654719

Thanks so much for your help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900