Is this even possible? Or do I have to make the user download the program before they can use it.

Not possible to use in-browser, the user has to download and execute it.