Skip to content

Xojo Programming Blog Posts

Dates…What’s the difference?

Some days ago (or long, long ago, depending when do you read these lines) I received an email from a developer that was porting code from his old VisualBasic domain to the native, multi-platform Xojo. He asked me how can to get the difference between two dates? I’m pretty sure that most of you will have the answer, but I told him he’ll need Xojo.Core.Date and Xojo.Core.DateInterval. If you want to know how easy it is or how to get the same result for all your code based on the old date class, then I invite you to continue reading…

Comments closed

Aren’t those Xojo keywords?

Many times we get bug reports or feature requests about issues with keywords not highlighting or being colorized in the code editor. But are those words actually language “keywords” or reserved words in Xojo?

In reality none of the intrinsic types are reserved words. They’re just types in the global namespace. Xojo knows where a type name is required and it will only look for types in that context. The opposite holds true as well. In effect, the types are treated as if they live in their own namespace.

Comments closed

The 64-bit Xojo IDE

Back in 1998 when we shipped version 1 of what is now Xojo, it was a 32-bit application and has been ever since. Depending on the operating system, that meant the Xojo IDE itself had at most 4GB of RAM available to it. That would seem like more than enough for any project. However, we have some users that have really big projects. One project I know of has over 1500 project items!

Comments closed

Do I need a Xojo Cloud server during development?

If you are just starting the development of your first web app you may be wondering if you need to get a Xojo Cloud server right away. In most cases, the answer is no. You can develop your application on your own computer and sign up for a Xojo Cloud server when you are getting close to deployment and are ready to test in as close to a real world situation as possible.

There are differences of course between how a web app will execute on your computer with a single user (you) versus on a server that is anywhere from hundreds to thousands of miles away with many users connected all at the same time. For the most part, you don’t have to think very much about this but there are areas where you should.

Keep the following 3 things in mind when developing without a cloud server.

Comments closed

What it means for your Xojo projects if Mac goes ARM

I’ve speculated for some time now that Apple might decide to start putting their own ARM-based processors in Mac desktop and laptop computers. Apparently, I’m not alone in thinking this. It makes a lot of sense. Apple’s big advantage is being in control of all of the important aspects of their product lines and the processor is both figuratively and physically at the center of their products.

Comments closed

10 Universal Truths About Starting A Consulting Business

Are you tired of working for someone else or simply ready to start your own company? I founded and have been successfully running Xojo for over 20 years and prior to that I was a consultant for many years. I can attest to the importance of getting a business set up right from the beginning. Whether you are a developer looking to start a software consulting business or an entrepreneur looking into any other kind of consulting, some truths are universal.

Getting off on the right foot means your business will be that much closer to being in the 50% that will survive its 5th year. Here are ten truths for starting your own software consulting business:

Comments closed

ipify for Xojo

ipify is a very useful web service (an API) that promises to always be available to attend requests, letting us know the public (or external) IP address we are using to connect to Internet. We can get this small piece of information as pure Text or in JSON or XML formats.

This post was updated in 2021 to using Xojo’s API 2.0.

Comments closed