Questions tagged [xojo]

Xojo is a cross-platform development tool that creates apps for macOS, Windows, Linux, Raspberry Pi, iOS and the web.

The Xojo integrated development environment and programming language can be used to create apps for a wide variety of operating systems and technologies, including macOS, Windows, Linux, Raspberry Pi, iOS and the web.

Xojo uses an object-oriented programming language that creates compiled, native apps using LLVM. It features an integrated layout designer, code editor, debugger and more.

First released in 1998 as REALbasic for classic Mac OS, it has continued to be developed and updated over the years to become a popular and powerful cross-platform development tool while remaining true to its core values of being easy to learn and use.

Website: https://www.xojo.com/

122 questions
1
vote
2 answers

How do I pass parameters to a method both as normal and like a property?

In RealBasic (now Xojo), which I'm leaving to the past, I used to be able to declare a method like this: Sub MyCoolSub(param1 as string, Assigns parameter2 as integer) Do 'Waste CPU time scrying the universe. Loop End Sub And then call it in this…
beppe9000
  • 1,056
  • 1
  • 13
  • 28
1
vote
1 answer

How to Use Serial in Xojo

I am working with Xojo for the first time and have a little problem with the Serial Class The compiler does not know my serial object, in spite of adding it before. https://i.stack.imgur.com/SoFQ2.png This is a Screenshot of my Xojo project window.…
Macman2010
  • 11
  • 1
1
vote
0 answers

Client DLL in Xojo unable to get a reply

I have a dll written in C#, the dll is for a socket client The issue I'm having is Xojo doesn't have an "out" method so: public static int Clientx(String strData, int portadd, string ipadd,out string response) Doesn't work, if I remove "out" it'll…
NigeC
  • 137
  • 3
  • 8
1
vote
2 answers

XOJO how to pass arguments to external executable

I need to open external exe file, and in the same time to pass some arguments to it. The documentation in Xojo Library suggest to use the Shell, but I have not seen the practical example how to do it. Xojo Shell command Explanation: Dim sh As New…
Amiga500
  • 5,874
  • 10
  • 64
  • 117
1
vote
2 answers

.NET WebSocket Client Control

I am trying to write a very simple WebSocket client with VB.NET but couldn't find a ready-to-use webSocket control. There is one control that does exactly what I am looking for: IP*Works! WS from nSoftware, but unfortunately they charge a fortune…
Jack M.
  • 3,676
  • 5
  • 25
  • 36
1
vote
2 answers

Xojo says "Build Failed" and dies without further message

I am trying to Run a project in Xojo, which used to run okay previously. Currently observed behavior: Clicking "Run", has Xojo display various messages, including "Done Assembling Code". Then, "Build Failed" dialog box flashes briefly. So briefly,…
Dennis
  • 7,907
  • 11
  • 65
  • 115
1
vote
2 answers

How Add New Methods To Existing xojo Objects

I have an xojo application that incorporates a number of listboxes. One of the listbox objects is named DLBObject. I simply want to add new methods to the DLBObject so that I can then invoke these methods using dot notation. For example…
1
vote
1 answer

Pictures using Postgres and Xojo

I have converted from a MySQL database to Postgres. During the conversion, the picture column in Postgres was created as bytea. This Xojo code works in MySQL but not Postgres. Dim mImage as Picture mImage = rs.Field("Picture").PictureValue Any…
kipsoft
  • 359
  • 4
  • 16
1
vote
2 answers

Menubar closed with last window - Xojo

I am working on a desktop application in Xojo (Realbasic) that I want to use with both Mac and Windows - so I associated the menubar with each window (so it will work on Windows). I was working with the application when I happened to close the last…
kipsoft
  • 359
  • 4
  • 16
1
vote
1 answer

How can I generate a Bcrypt hash from the Windows command line

I am writing a desktop app in Xojo for Windows 7. The Xojo language does not have an implementation of Bcrypt. Is there a free Windows command line executable that will take a password as a string and return it's Bcrypt hash? That way I can bundle…
Garry Pettet
  • 8,096
  • 22
  • 65
  • 103
1
vote
1 answer

REALBasic/Xojo NilObjectException When Calling Class Method From Property

I'm writing a console application used for UDP-based chat. I have a class called App whose Super is ConsoleApplication (the "main" class) and a UDPInterface class whose Super is EasyUDPSocket. In the App class, there is a property called UDP whose…
1
vote
1 answer

Populating folders in hierarchical listbox

I'm populating a hierarchical listbox with folders and files. I fill my listbox with these lines of code: For i As Integer = 1 To General.GetBlocksFolder.count If General.GetBlocksFolder.Item(i).Directory Then …
Mathias Maes
  • 461
  • 1
  • 6
  • 17
1
vote
1 answer

Read USB to Serial port Info in Xojo

I am writing a simple code to find the USB to serial port in Windows platform, if the port is what I want (can be filt by VID/PID number), then the program will open the port. I use MonkeyBread plugin, WinUSBDeviceMBS, with property of VendorID and…
apolloneo
  • 169
  • 1
  • 2
  • 18
1
vote
2 answers

How to set date to NULL in ODBC

I am using XOJO and pervasiveDB via ODBC. There is a form that I need to update and on that form I have a date field that can be deleted on the form. When the date is deleted on the form, I need it deleted in the DB as well. I am using ODBC, and…
EnterpriseXL
  • 467
  • 8
  • 19
1
vote
3 answers

Xojo launch/run another app (Mac)

I want my program to launch another desktop application. Tried shell execute (open appname) but it does not work. Is there another way ? Thank you in advance.
Mitch Match
  • 339
  • 4
  • 14
1 2 3
8 9