Questions tagged [xojo]
Xojo is a cross-platform development tool that creates apps for Windows, OS X, Linux and the web.
119
questions
0
votes
0
answers
22
views
AdMob with Xojo iOS
Is there anybody on here who uses Xojo for iOS app development and managed to integrate Google AdMob ads in an app? Would appreciate some guidance because I’m stuck pretty early in the process.
Thank ...
1
vote
1
answer
28
views
When a if case is true, it should run another if case
I'm programming with the languege xojo and I want my computer to first run an if case and if that case is true, it should run another if case. How can I do that with xojo ?
0
votes
1
answer
24
views
Random Background change with programming languege xojo
I've tried to create a button with the programming languege xojo, so every time I press it the background color should randomly change. The name of my window is just Window1. I can't figure out how to ...
0
votes
0
answers
32
views
Xojo crashes when selecting page setup or print from file menue
I'm new to both Linux and Xojo. I have been very impressed with Xojo until now. I'm running it on Linux Mint, 20.2 64 bit. Same error on Xojo 2.1, 3.0, and 3.1. On a clean install of Linux and Xojo, ...
0
votes
1
answer
174
views
Upload file to Google Drive from web file chooser using chilkat
I am developing a web application in Xojo and I use the Chilkat plugin to manage the Google Drive cloud but I am a bit lost with uploading files to the Google cloud with this plugin.
In my web ...
1
vote
2
answers
255
views
How To Update Xojo Objects From HTML/Javascript?
I am working on a Google map web application under Xojo. The map has a draggable marker that updates the values of latitude and longitude textboxes. Since the UI for mapping is entirely made with HTML/...
1
vote
1
answer
183
views
VB.Net Parse JSON Array into Dictionary for Key:Value pairs to achieve same result as Xojo Code, (example)
I need to duplicate what I can do in Xojo in VB.Net. THis will be for custom Code on Kodak Rules Based Automation that uses embedded VB.Net. How do I make VB.net code do the same thing that the Xojo ...
1
vote
1
answer
39
views
Launch multiple HTMLViewer Controls isolated
I'd like to launch multiple HTMLViewer controls. Each should be manage its own cookie storage. If HTMLViewer_1 is already logged in on a site, e.g. HTMLViewer_2 should be able to log in using another ...
1
vote
1
answer
64
views
Swift Process() and Xojo Shell
A question for someone who speaks both Swift and Xojo…
As shell objects in Xojo can be run both synchronously and asynchronously, how can a Swift Process() be run the same way?
With Xojo I can run a ...
1
vote
1
answer
131
views
FASTEST way to find and count files recursively in a directory
I'm building a small program to compare file contents of two directories.
These directories SHOULD mirror each other but that may not be the case if someone forgot to copy files to the second ...
1
vote
1
answer
57
views
Translating JS crypto.createHmac to Xojo Crypto.HMAC
I am trying to translate this block in Javascript:
const crypto = require('crypto'),
shared_key = 'kw4qSnpSwXzgiv5yxYpZZmFEd9QAeiKTQ6OuyMja',
signing_string = 'licenseSpring\ndate: Tue, 07 Jun ...
2
votes
0
answers
84
views
How can I use the OpenCV library with Xojo?
I'm trying to get OpenCV to work with Xojo.
I've downloaded the OpenCV folder for Xojo and followed the 'Getting Started' instructions here, where I copy the OpenCVX file (not folder as stated in the ...
1
vote
1
answer
158
views
Xojo Type mismatch error. Expected String, but got Boolean
(I started learning about arrays today.) Edit: I realized the = is apperently causing the error because it's seen as a "compare if equal" vs "assign this".
i don't see which part ...
1
vote
0
answers
54
views
is there a method in xojo to not duplicate the same rows?
i did this grid in xojo, the problem is that it duplicates me the same rows as before even if I go out and back,
that's the original table with only 3 records: first screenshot
then i made a method to ...
4
votes
3
answers
125
views
Can someone help deconstruct this terse Java function into plain English?
I'm trying to port the PriorityQueue class from the OpenJDK implementation to another language (Xojo) that doesn't have a similar data structure. I'm really struggling to break down the following ...
1
vote
2
answers
1k
views
Problems creating a temporary table in mysql
I want to create a stored procedure in Mysql that removes a certain temporary table (if it exists) and then creates this temporary table in the database 'prs1'.
The procedure that I have created is ...
2
votes
1
answer
189
views
OAuth2 integration with Xero using Xojo and Chilkat
The old Chilkat forum appears to have moved here.
For years I've had Chilkat's OAuth1 working fine for integration with Xero (from Xojo). Now Xero are replacing OAuth1 with OAuth2.
Xero say that once ...
1
vote
2
answers
90
views
Can someone unpack this very terse Java function into a more verbose example?
I'm trying to port this Java tutorial to Xojo. I'm struggling to unpack the Set function below because, whilst short and elegant, it crams a lot of conversions into a small space and I'm not sure if I'...
0
votes
1
answer
24
views
How to track down a Sound NilException error
Looked around and did not find an answer to this:
I am trying to play a Sound file, but am missing something in the process... I already have loaded a FolderItem sound file succesfully, but I can't ...
1
vote
1
answer
60
views
When in a conditional does this assignment occur?
I am porting some Java code to Xojo which doesn't have the same language constructs as Java does.
I have a bug in the port and I think I've narrowed it down to this bit of Java code:
int maxIndex = ...
0
votes
1
answer
212
views
How to codesign and notarize an Os X app?
How to codesign and notarize an Os X app?
I'm using Xojo 2016r2.
1
vote
0
answers
164
views
Leaflet dragging display issue
I have an application which displays several layers on a Leaflet map.
I create GeoJSONS from a database, then create layers from those GeoJSON and then i put my layers on LayerGroups.
On zoom/dezoom, ...
0
votes
1
answer
80
views
Xojo Count Words in HTML - Remove Tags & Other Unwanted Content That May Skew Count?
I've inserted some temporary inside the action event of a timer which converts markdown to html as you type the markdown. This event places the html in the variable mHTML.
I wanting to count the ...
1
vote
1
answer
92
views
How does Xojo UI rendering for desktop work?
I was wondering if anyone could provide information about how Xojo renders UI for the desktop?
Is Xojo using bindings to make OS specific UI controls available (much like wxWindows)? Or has Xojo ...
1
vote
1
answer
53
views
json issues with Arduino and Xojo
I'm making an application with xojo where you set the value of 3 sliders, which send the values as strings with json through the serial monitor, and I'm receiving the json values with Arduino to move ...
2
votes
0
answers
144
views
Getting "Nil Object Exception" while calling C# DLL method from XOJO
I am trying to access C# method by using C# DLL from XOJO Tool.
I have follow the procedure Jim have define in the following post:
https://forum.xojo.com/7079-using-c-classes-in-xojo
and everything ...
1
vote
1
answer
55
views
How to replace these extended ascii codes?
I am opening up .txt files but when they are loaded on Xojo weird characters like these (’ , â€ک) show up.
I've tried DefineEncoding and ConvertEncoding but it still doesn't seem to work.
output....
1
vote
0
answers
66
views
Xojo Word Automation on Mac
So, I'm trying to access Xojo's office automation plugins but they're only accessible on windows. Is there anyway I could still use Xojo's office automation plugins via Applescript?
1
vote
1
answer
583
views
Changing background color of a listbox's cell
Working on a desktop application and having a probably silly problem that's still managing to driving me mad.
I have a listbox that gets its rows from a dynamic source.
I'm trying to change the ...
1
vote
1
answer
75
views
Why is Microsoft Office Automation only available on Windows?
I'm building a Xojo desktop app and I'm trying to figure out if I can include a Word doc on my Xojo Window. However, I'm reading the documentation about Microsoft Office Automation and it seems like ...
1
vote
2
answers
126
views
Xojo MacOs Vs. Windows? EndOFLine issue
So I created a program on Xojo(MacOS) that parses paragraphs using EndofLine. However, when I run it on a Windows operating system it doesn't parse it at all. Does Window operating systems recognize ...
1
vote
1
answer
224
views
TabPanel and scrolling
I'm pretty new with Xojo and I've stumbled on a roadblock on the desktop project I'm working on.
I have a TabPanel that gets populated with custom ContainerControls at runtime (data is fetched from a ...
-1
votes
1
answer
63
views
Viewing list from database using Visual Basic in Xojo
Every time I run the application I am presented with this error message and would like to know how I can alter my code so it runs
Error details
1
vote
1
answer
3k
views
Write json to file locally via browser [closed]
I have a requirement which i need some input on, I am using a very outdated version of xojo for a legacy application, the requirement is i need to open a webpage on the users system which isn't ...
4
votes
1
answer
403
views
How do JSON parsers encode unicode characters not in the basic multilingual plane?
I'm writing a JSON parser in Xojo. It's working apart from the fact that I can't figure out how to encode and decode unicode strings that are not in the basic multilingual plane (BMP). In other words, ...
1
vote
1
answer
287
views
Proper use of libvlc_media_open_cb
I'm trying to use the libvlc_media_new_callbacks function to play media from memory using libvlc. This function expects pointers to four callback functions: Open, Read, Seek, and Close.
Declare ...
2
votes
1
answer
313
views
Exporting to text in xojo
I want to export data from a listbox,
Listbox1.AddRow "001", "Orange", "1.00","Arief"
Listbox1.AddRow "001", "Apple", "1.00","Arief"
Listbox1.AddRow "001", "Banana", "1.00","Arief"
Listbox1....
0
votes
1
answer
106
views
The web Dialog on XOJO web application does not close
In my web application I have opened a web dialog, which has 2 canvas. On this canvas I have drawn a eyeglass lens. The canvas opens properly and the lens is also drawn properly on it, but after that ...
1
vote
1
answer
123
views
How to select from table where text box = formula with aggregates (Xojo+ SQLite)
I have a table with columns;
Fullname,
GroupNo,
Tdate,
Schedule,
Cramount,
Dramount,
Iamount.
I want to select those columns where textbox111.text is greater than formula SUM(Cramount)*26/(SUM(...
1
vote
1
answer
178
views
Xojo detect input from 2 inputs with interrupts. (Raspberry Pi)
I have a raspberry pi 3 running a program made in Xojo.
My goal is to have two flow sensors which display the amount of water that flows though each sensor on the screen.
I have a program that ...
3
votes
1
answer
692
views
How to draw a Cocoa focus ring without subclassing?
I'd like to draw a proper, modern animated focus ring around a control, which according to Q&A 1785, should be a simple matter of overriding the -drawFocusRingMask and -focusRingMaskBounds ...
1
vote
1
answer
220
views
Mask missing from HICON on Win10 but not Win7
I am trying to use some system icons such as SIID_DOCNOASSOC and SIID_FOLDER and draw them.
I have the problem that while my code works as expected in Windows 7, on Windows 10 the retrieved images ...
0
votes
1
answer
769
views
What are the compromises with using Xojo for cross platform development? [closed]
Much of the cross-platform development topics on SO seems to be 6 to 9 years old. Anyone have recent experience with Xojo? Can it be used to quickly deploy UI on top of C++ generated linked ...
1
vote
1
answer
175
views
What is the translation of this Java method signature in plain English?
I'm porting JBox2D to Xojo. Java is not a language I know well but there are enough similarities to Xojo for this to be the easiest way to port Box2D to it.
I am well into the port but I cannot ...
3
votes
1
answer
2k
views
Windows URL scheme call to running program
I want to trigger an event in my running application and deliver arguments with the call of a URL scheme in Windows 10.
I made the following registry entry:
HKEY_CLASSES_ROOT
alert
(Default) = "...
0
votes
1
answer
393
views
Twilio web app notify
I need push notification on mobile webapp (Xojo, iOS+Android), I was thinking to use Twilio Notify Beta but it is not clear to me how it works.
Say a user starts the webapp: first time it should bind ...
0
votes
0
answers
108
views
Xojo, MySQL, load data local infile, won't work in Xojo
I am trying to run the "load data local infile" from within a Xojo app. If you don't know Xojo think of it as a Mac version of VB for this purpose. I have no problem running the SQL from Workbench on ...
1
vote
0
answers
139
views
Xojo HTMLviewer Raspberry Pi3
I'm developing an app for Windows and raspberry pi using Xojo. I'm relying on the HTMLviewer heavily in places to render web driven content.
I have multiple Raspberry Pi 3s, reading the xojo ...
2
votes
1
answer
812
views
How can I load JSON from the Web with XOJO?
I'm new to XOJO and I'm making a Web App to list the time entries of my co-workers.
The Code looks like this:
Dim Socket as new HTTPSocket
Dim d As New Dictionary
Dim result As String
Socket....
1
vote
2
answers
188
views
Need change compression of images stored in SQLite database with XOJO but getting error during process
I have a table that stores instruction book pages.
while working on the app and finished adding an instuction book, I found that that the table was over 200MB, however the PDF containing the pages ...