Skip to content

Category: Tutorials

tutorials, longer instructional posts, how to’s

From Iteration to Interaction with Type Casting

In software development, efficiency and user experience are paramount. One powerful technique that can help achieve both is the use of type casting combined with iteration. By iterating through controls and casting them to specific types, developers can dynamically manipulate user interface elements, resulting in more responsive and interactive applications. In this article, we will explore the concepts of type casting and iteration within Xojo applications. We will break down a practical example to demonstrate how these techniques can be used to optimize form handling and enhance user interactions.

Comments closed

Effortless HTTP Requests in Xojo: Using Curl in Xojo with URLConnection

If you’re familiar with the command-line tool curl, you may wonder how to use curl in Xojo effectively. Curl is a powerful tool for making HTTP requests, but it’s not always the most convenient for working within a graphical application like Xojo. That’s where Xojo’s URLConnection class shines! It provides a simple and elegant way to make HTTP requests directly from your Xojo code, making it easy to use curl in Xojo. In this article, you will learn how to adapt common curl commands to Xojo’s URLConnection. Let’s get started.

Comments closed

Docker, Database Servers and Xojo

There are many ways to develop with Xojo and use Database Servers. You might be working on a multi user Desktop Application that stores data in a Database. Or you’re creating a multi user Xojo Web Application that needed to be scaled up to a couple of running instances – and use a Database for data storage. Or maybe you’ve written a mobile application that connects to a Backend REST API – again possibly written in Xojo (e.g. with the open source Express, or with Xojo Web).

Comments closed

A Beginner’s Guide to Handling Text Files in Xojo

As developers, we often need to work with text files. This could be for reading configuration settings, parsing log files, or generating reports. Text files are a common part of software development, and knowing how to access and manipulate them is important for building strong and flexible Xojo applications. In this article, we will make use the key Xojo classes and techniques for working with text files. We will start by looking at how to read the contents of text files using the TextInputStream class. You will learn how to read an entire file into a string and how to process the file line-by-line.

1 Comment

Tutorial: Design a Control to Dynamically Preview Images and PDF Files

In this tutorial learn to design a cross-platform control that dynamically previews images and PDF files. Files can dragged and dropped onto the control, opened from the standard file selection dialog, and, in the case of images, added using Copy and Paste. The file path will be displayed below the addendum file.

Comments closed

Webinar Follow-Up: Using Xojo to Develop NetSuite Android Apps

Last week I was thrilled to present Xojo’s “Using Xojo to Develop NetSuite Android Apps” webinar. This blog post is intended as a follow-up to that webinar. I hope to provide some additional information that we didn’t have time to cover, answer some of the questions that came up during and after the webinar, and also provide a link to the Xojo project that we created during the webinar.

Comments closed