Questions tagged [realbasic]

REALbasic is an object-oriented version of the BASIC language intended for cross-platform development.

REALbasic is a strongly-typed, object-oriented version of the BASIC programming language whose flagship feature is probably its rich support for cross-platform application development. It supports Microsoft Windows, Mac OS X, most 32-bit versions of Linux, and web applications.

It was developed and is currently marketed commercially by Xojo of Austin, Texas. Versions since 2013 have been called Xojo.

The language supports single inheritance and interfaces, class methods and properties, automatic memory management via reference counting, operator overloading, delegates, introspection, and namespaces. The built-in framework also offers an extensive set of functionality, which helps to make rapid application development possible.

The primary development environment for REALbasic is REAL Studio, marketed by the same company.

106 questions
3
votes
4 answers

How do I create a "select folder OR file dialog window" in REALbasic?

You can use SelectFolder() to get a folder or GetOpenFolderitem(filter as string) to get files but can you select either a folder or file? ( or for that matter selecting multiple files )
Dan
  • 367
  • 1
  • 5
  • 17
2
votes
1 answer

Non realbasic ActiveX controls in Realbasic projects

Realbasic allows you to include e.g an MS Flexgrid control in your Realbasic project and use it as though it were a native control. Does the end user need to have this control installed already and if not and realbasic includes it in the build are…
kjack
  • 2,004
  • 3
  • 26
  • 41
2
votes
2 answers

Second call to GetStdHandle Returns an "invalid" handle

I'm trying to set the text color of a console to a given color, print one line (or more) and then change the color scheme back to what it was. Here's what I have: Function SetConsoleTextColor(NewColor As UInt16) As UInt16 Declare Function…
Andrew Lambert
  • 1,869
  • 1
  • 17
  • 31
2
votes
1 answer

Getting number of CPUs on Windows with realbasic

I tried using WMI, but with no success so far. Dim objLocator As New OLEObject("WbemScripting.SWbemLocator") Dim objService As OLEObject objService = objLocator.ConnectServer(".", "root\cimv2") Dim instances As OLEObject instances =…
Miha
  • 63
  • 4
2
votes
1 answer

REALBasic and MySQL

Dim db as MySQLCommunityServer db =New MySQLCommunityServer db.host="127.0.0.1" db.port=3306 db.databaseName="requesterdb" db.userName="root" db.Password="" Dim divisionID As String Dim supervisorName As String Dim…
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
2
votes
1 answer

BASIC language - novice

Can anyone suggest a good book or site for learning BASIC language? I would like to try my hands on Realbasic but all that I read about this software is about the user interfaces. Not much is available on how to code. Thank you and best regards.
2
votes
1 answer

Xojo IPCSocket connecting multiple times

I have done some network programming and IPC programming before, but never in Xojo. I have C++ and Python experience, but I am pretty new to Xojo and pretty lost. Problem Connecting two applications: Application1 and Application2 are connected by…
Dan
  • 1,096
  • 9
  • 13
2
votes
2 answers

How do I use SQL UPDATE in Xojo to remove leading quotes

I have an SQLite database attached to a Xojo project. I need to strip off the first character, IF it is a quote mark. Here is what I tried: t=Chr(34)+"%" // this holds the Quote mark and the wild card S="db.SQLExecute UPDATE "+…
EricZee
  • 31
  • 4
2
votes
1 answer

How to save a picture from a webcam

I am using Aaron Ballman's Windows Functionality Suite to capture video from my webcam. It works fine but ... webcam.startpreview starts the camera images appearing and webcam.stoppreview does as it says and stops the video. My question is that,…
Alan McTavish
  • 121
  • 1
  • 8
2
votes
1 answer

Realbasic How to submit an HTML form in code

I'm struggling with how to click the 'Submit' button on an HTML form using code. I seem to be able to set the variables - Name, Email etc - using the HTTPSocket but when the socket 'Posts' it doesn't trigger the submit. Any help will be gratefully…
Alan McTavish
  • 121
  • 1
  • 8
2
votes
2 answers

REALbasic array in an array

I am trying to write a soap parameter in REALbasic. I need to add an array within another array similar to this in php: $params = array(array( 'sku' => 'some sku' )); so I can pass this: $result = $client->call($session,…
rayron
  • 21
  • 4
2
votes
1 answer

Invoke cygwin commands from my application, avoiding the DOS shell

I like to scan a set of files using cygwin's "file" command. I like to invoke this command from within my own program. The program is written in REALbasic (RB), which is similar to Visual Basic (e.g. has similar ways to interface DLL APIs with the…
Thomas Tempelmann
  • 11,045
  • 8
  • 74
  • 149
2
votes
1 answer

Cannot find a class in RealBasic - RealUnzip

This is a probably a really simple fix, but I'm extremely new to RealBasic and I'm having difficulty finding help. dim objUnZipIt as new RealUnzip The error I keep getting is : There is no class with this name: di objUnZipIt as new RealUnzip I'm…
kevingreen
  • 1,541
  • 2
  • 18
  • 40
2
votes
2 answers

REALbasic: Sharing common code between disparate subclasses

I have two separate classes (A = a subclass of BevelButtom, B = a subclass of PushButton). Both A and B implement a number of identical methods in exactly the same way. Since both subclasses' superclasses are different and since RB doesn't support…
ABach
  • 3,743
  • 5
  • 25
  • 33
2
votes
1 answer

How to implement introspection on RealBasic?

RealBasic's Introspection is kinda of different than what I expected. My intention is: Create a MainObject from which other objects will inherit two, three methods, to simplify. Method 1-> Returns to the child class itself all of its properties,…
Jake Armstrong
  • 569
  • 4
  • 21