App code to web code

I currently have a small app build from xojo… Can i compile it as a web app from the same code ?

Not directly. I normally copy/paste the code from the app project to the web project and modify the code where needed (like replacing controls). Should not be a lot of for for a small project unless you use ‘exotic’ controls (non-webenabled) in the app project.

I create a modules full of all the methods and properties you want to share. Make this module external (right-click on it). Then drag it into the second project. Now create a desktop/web interface in each project that calls up the methods in that module.