Quantcast
Channel: Xojo Programming Forum - Latest topics
Browsing all 3600 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Drag file to desktop in WKWebViewControlMBS

My html in WKWebViewControlMBS contains images which represent files. I can double click the images to open the files or have a context menu to do the same. But if I drag such an image to the desktop...

View Article


Window, DesktopWindow; Win 11; 2024r3.1;

I use this code to hide a windows border while using a WebView2 controlled window, see below. When using this with DesktopWindow class, border of window as “plain box” is still shown. When using this...

View Article


Create AppleScript as application programatically

Hello, I would like to create an AppleScript as an application, from my XOJO app, so that when it is launched it runs immediately. I did this: Dim TheAppleScriptScript as FolderItem...

View Article

Value vs. Reference Variables

My heading above – Value vs. Reference Variables – I got from ChatGPT since I don’t know what I’m talking about. At any rate, here’s my question: I create a variable (QstDft) from a class I made...

View Article

piDog Holiday sale and New release

Hi everyone, just wanted to post here that all piDog licenses (new and renewals) are on sale 25% off now through Monday December 2nd. I’ve also updated Dataview with some important fixes and...

View Article


I want a datetime from "2024-11-28"

I have dates in a Text file and I want to “validate” them in storing them in a DateTime object before display. One problem is… I lost my hair trying to apply a date in a string to a DateTime variable....

View Article

Location of user defined dynamic library for deployment

It turned out that in MacOS, foo.app/Contents/MacOS folder is the location where user defined dylib file is placed on deployment of the application. But the problem is where is the location for user...

View Article

Preemptive Threads in Webapp

Hello guys, I have a scenario where i need to use a WebApp and a lot of files to process so the idea was to do all that in the background , to use as much as possible the resources available, that...

View Article


Decimal precision

Hello my friends, I know this topic has been discussed before but I haven’t found a solution yet. I would like to print all the decimal places of a real number. I use this method: Dim i As Integer Var...

View Article


Mouse disappearing on windows on the application

Hello, some of our customers have an issue where their cursors are disappearing from the applicatin on Windows. No pattern really but when this occurs (random time) the cursor is showing normally on...

View Article

Run shell as root

Hi, I’d like to execute a shell command as root using “sudo” using the shell class inside a desktop app. For this, I’d have to either ask the user’s password and pass it to the shell, or “elevate” the...

View Article

Image may be NSFW.
Clik here to view.

Dealing with Emojis that are too new for a macOS version

My app can make PDFs out of emails where the name of the PDF mainly is the subject of the email. How do I deal with emojis which are available on a newer version of macOS and are not available on an...

View Article

Image may be NSFW.
Clik here to view.

Sudden memory spike in Webapp

Something strange is happening with my Webapp deployed on a DigitalOcean Debian 12 droplet. The memory graph shows sudden spikes in memory usage: Currently: Running the top command on the server’s...

View Article


Error "Unexpected token pair" in JavaScript code

I want to parse some nasty Mork data from Thunderbird. I found Javascript class and want to use the code in JavaScriptEngineMBS. However, my JavaScript is a bit basic and I can’t make sense of the...

View Article

Same console app runs ok when Xojo2021r3.1, crash if compiled with 2024r3.1

Hi there, I have a console app (helper app for a desktop app) compiled with 2021r3.1 which runs trouble free on multiple client Macs. I’m now trying to compile this app using Xojo 2024r3.1 but when...

View Article


Picture.SaveToPhotos crash

I’ve been trying to use pic.SaveToPhotos in an iOS app to save a copy of a photo taken with the PicturePicker to the Photos library on the device. Photos read/write access is enabled in the iOS...

View Article

Popup Menus and Mouse Down Events?

Does anyone know if MouseDown events will be or have been added for Web Apps? I could really use the ability to know which mouse key is used. Or a work around?? Thanks, Tim 2 posts - 2 participants...

View Article


Excel not launching

HI, I am unable to launch an Excel file using the following code: var excel As New ExcelApplication Var book As ExcelWorkbook var f as folderitem var lPth as string lPth = “D:\Desktop\Test\Test1.xlsm”...

View Article

Parallels Desktop 20 Upgrade

Good morning (o; My Parallels Desktop license expired a while ago and now I received an email where I could upgrade with 55% off… On their website I see that a new license is only 20% off… And even...

View Article

Übersetzungsprobleme

Ich nutze für die Übersetzung meines Programms Textdateien, die zu den genutzten Strings die übersetzten Texte enthalten. Bei mir (macOS) sieht das alles gut aus. Allerdings scheint es mit anderen...

View Article
Browsing all 3600 articles
Browse latest View live