Questions tagged [xojo]
Xojo is a cross-platform development tool that creates apps for Windows, OS X, Linux and the web.
110
questions
0
votes
1answer
33 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 ...
0
votes
1answer
18 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 ...
1
vote
0answers
25 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
16 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 ...
2
votes
3answers
79 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 ...
0
votes
2answers
62 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 ...
1
vote
1answer
86 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 ...
0
votes
2answers
72 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
1answer
21 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
1answer
59 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 = ...
-1
votes
1answer
127 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
0answers
91 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
1answer
59 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
1answer
71 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
1answer
41 views
json issues with Arduino and Xojo
I'm making an application with xojo where you set the value of 3 sliders, wich send the value as string with json through the serial monitor, and I'm receiving the json value with arduino to make move ...
2
votes
0answers
93 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
1answer
38 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
0answers
47 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
1answer
286 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
1answer
68 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
2answers
94 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
1answer
133 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
1answer
56 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
1answer
2k 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 ...
2
votes
1answer
260 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
1answer
226 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
1answer
263 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
1answer
92 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
1answer
106 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
1answer
137 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
1answer
573 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
1answer
161 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
1answer
693 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
1answer
101 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
1answer
1k 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
1answer
382 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
0answers
88 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
0answers
129 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
1answer
730 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
2answers
157 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 ...
2
votes
2answers
816 views
Need distinct values with SUM from multiple tables
I'm building a Xojo app and have problems with a query I want to perform.
I need to export a instruction book that is saved in a database
It has 3 tables, one with the pages, one with the Items ...
1
vote
1answer
603 views
Xojo Print Without Printer Dialog
I would like to print directly to an attached label printer without showing the print dialog.
I have searched to see if such a thing is possible but it seems it is not. So, I thought I would ask ...
1
vote
3answers
420 views
Xojo Image Stacking Order
In my Xojo application I dynamically create Canvas objects. I want these to stack in a specific order. However, I can't seem to get the images to stack the way I want. How can I specify the order ...
0
votes
1answer
798 views
Linear Gradient with Angle & Strength [closed]
I want implement a function in C++/RealBasic to create a color gradient by the parameters:
Width and height of the image
2 colors of the gradient
Angle (direction) of the gradient
Strength of the ...
1
vote
1answer
66 views
Concurrent insert freezes GUI(Windows application/PostgreSQL)
While I develop a GUI window application, I see strange behavior on inserting a row in PostgreSQL.
My application(built by Xojo) builds a JOB meta information and inserts that into PostgreSQL, and I ...
1
vote
1answer
659 views
Error loading FTDI dylib on Mac OSX
I developed an application in Xojo that uses a third party library to control a device. It works on one mac, but then when I try to run it on the other it gives me the following error:
Application ...
4
votes
2answers
692 views
Would like some pointers for Xojo
My company is planning to build a simulation tool for processing (beverage) and we're currently looking at a half-baked system written in Xojo. I had personally never heard of this language and would ...
1
vote
2answers
147 views
Get value of variable named in a string
Is there any way to get the value of a variable that has been named in a string.
For instance:
Dim number As Integer = 12
Dim numberCopy As Integer = Convert("number")
' numberCopy will now equal 12
...
1
vote
0answers
74 views
How to embed silverlight video in Xojo's HTMLViewer
I'm using Xojo to code an application
I try to play silverlight videos in the HTMLViewer But it doesn't work,
like if Silverlight is not installed on the PC, And that's Because HTMLViewer can't locate ...