Claude 4.5 for creating Xojo desktop apps workflow, and a sqlite browser

didn’t have much time this week but was trying to find a workflow for creating Xojo desktop apps in claude 4.5

some stuff i noticed

everytime i change my prompt, and start a new app regarding

2 days i saw a window saying do you want to try “claude deeper higher blabla thinking”, i didn’t read, i clicked yes,

the result from that day, were different from last days

what i see so far

i have created a Xojo folder project in claude, with this instructions

write code using xojo API 2 for desktop application
use var instead of dim for declaring variable
use file "default.xojo_project" as template to create xojo project file
use file “Window1.xojo_xml_window” file for template for creating windows
use file "'Class1.xojo_xml_code" file for template for creating class

then i uploaded those empty files as reference

i didn’t think creating a xojo project file wouldn’t work, but it does! with some glitches

but it work when saved, older versions blabla

you can prompt creating windows in claude, works very well, with buttons ect, but Claude can’t put code in button, it doesn’t seem it can do it

it just create windows

i tried to upload a module, with a class inside, gave up, not working

when only classes work good

sometimes the properties of the class are not typed or wrongly typed

when there is bug, simply paste a screenshot in claude !

omg crazy !! it works

but overall the caude code worked flawlessly !! O.M.F.G !!! :):collision: :collision:

so here a example, it’s a sqlite browser app

open a sqlite db (here are screens from a complex react native app to manage bookmarks and assets)

once open a db you can search from tables and fields

maybe there is

ps : it took me more time to create this post, than to create a Xojo app :slight_smile:

yes marketing xojo, you can steal this

welcome in 2025 !

1 Like

sqlite11.zip (14.4 KB)

xojo project

you should ask Claude to create the post ! would do in seconds …

anyway I find it easier to create an empty project in xojo, save it as xojo text,

then build a rudimentary user interface, naming correctly the control items with a meaningful name

then ask claude to build the code and it works almost out of the box.

Try using using visual studio code with copilot. Point it to the folder with your text file project files and it can then read all the files. I did a quick test and it added a class to a good sized project, based on other classes with just 1error.

I then had xojo with project open and reverted to saved and compiled to check its work.

there is a vscode plugin to syntax highligh xojo code in the forum as well.

Copilot shows you all the changes it makes and you can approve all or each change individually.

I am hoping xojo is looking at this sort of gui for their implementation of ai assistance in next release

If Xojo would expose some sort of MCP server for the IDE I’d be happy with that. Then we could plug whatever AI we want into it.

Or even better: Make a SDK available so for example apps like Cursor AI can access all code.

or starting with simplier : make the errors and messages pane output as log in the project folder

should be a simple fix and would prevent us from a lot of copy-paste when dealing with any AI.

please vote for this : https://tracker.xojo.com/xojoinc/xojo/-/issues/79733

v2

sqlite11r2.zip (537.1 KB)

updated with possibility to run SQL

good news, when you save a blank Xojo project in XML, and upload it in Claude instructions, it no longer generates a xojo code project thats bugs !! :slight_smile:

it generate a xojo project code, not xml project code maybe the xlm version is more modern format?

i’m confused, xojo project, as xojo code, xml, binaries ? …rtfm ? what for ?xml works :slight_smile:

and now i’m in challenge of an xojo app a day !!

since i’m a news junky, i made my own dope factory

it’s a news viewer. it uses 2100 rss feed of the french language known so far

and display the news in html viewer

History is accelerating, a lot is happening in tech

Hegelian dialectic :

rssfeed.zip (83.1 KB)

“load” button read from the 2100 french news feed from sqlite database enclosed

“import” button reads a TSV file:

colum 1 :name

column 2 url of the rss feed

column 3 type

column 4 scope

and save to db

no, it still kills some source files from time to time, but really less often.

you need to use claude code, and a special agent for xojo to instruct it how to handle xojo source files and then you almost have no more corrupted source files.

2 Likes

yes i was thinking about claude code, , i had more bugs

yes i understand your workflow, opening an existing project, and write code on it

in claude desktop i can upload instructions files as template

i searched the doc for files in instructions file, gave up

claude desktop can create xojo project from template

claude code creates a buggy xojo proj file, like the bugs reported earlier

and it even creates buggy buttons

sorry, how do you do that ? searched the doc a bit didn’t find

well right now, solution is to automate to take screenshot and send it to claude desktop

can claude code interpret screen shots ?

yes claude code can interpret screenshots, but it takes a lot of context tokens

it’s far less token-consume to copy-paste text.

1 Like

and examples

you need claude code to use them, it does not exist with claude desktop. and you need a paid subscription too…

also this new method to build agents with an sdk I have not tried yet.

1 Like

Gemini interpret screen shots !

interpret xojo bug screen shot to correct xojo code ?