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
1
vote
1 answer

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 Function libvlc_media_new_callbacks Lib "libvlc.dll"…
Andrew Lambert
  • 1,869
  • 1
  • 17
  • 31
1
vote
2 answers

RealBASIC opening a program file on the default operating system Console/Terminal

To make my Real Studio application portable, I want to make it open an executable file on Mac, Windows, and Linux with the default Console/Terminal application. I have a string s, which is the filename of the executable file. I have this so far: #If…
None
  • 3,875
  • 7
  • 43
  • 67
1
vote
2 answers

Changing RealBASIC permissions on non-admin Mac

My app needs to write (and move) files to a folder from a non-admin user, and that user has no permission to use that folder. I tried changing the permissions for the folder but it doesn't appear to have an effect. Are there built-in restrictions…
Hanaan Rosenthal
  • 1,359
  • 1
  • 11
  • 20
1
vote
2 answers

Creating a file of a certain type with Real Studio

I am making an editor with Real Studio for a special kind of file type. I made the file type with the File Type Editor, but how can I make a file output stream for that file type? Currently I am using: DIM f AS FolderItem DIM t AS TextOutputStream f…
None
  • 3,875
  • 7
  • 43
  • 67
1
vote
1 answer

RealBasic app crashes on writeline

I have an Mac RB app that crashes when I write a line to a TextOutputStream on the user's preferences. The write operation works great when the user is the admin, but any other user crashes. This made me think it's a permission issue, so I tried…
Hanaan Rosenthal
  • 1,359
  • 1
  • 11
  • 20
1
vote
4 answers

What are some other comparable products to RealBasic?

I'm looking to get something that can create apps for Mac and Windows. It also seems that RealBasic can also create applications that have some sort of SQLLite DB built in. This is nice for standalone apps that need to save state/data. I have Flash,…
milesmeow
  • 3,688
  • 5
  • 35
  • 58
1
vote
2 answers

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 ' Convert is the function to convert the string…
Mark Oxley
  • 380
  • 3
  • 7
1
vote
1 answer

Is there syntax that will permit window communication in realbasic/xojo?

I am creating a project which requires me to have cross window interaction. More specifically, for the text from a textbox object to be stored as a variable on another window. Is this possible in Xojo/ Realbasic and what is its syntax? Visual,…
Rick_Roll
  • 19
  • 7
1
vote
1 answer

Where can I find Apple's standard source list / sidebar icons?

I'm writing an app for OS X (in REALbasic, not Objective-C). I have implemented a source list (i.e. the sidebar in iTunes) in this app. Where on my system can I find the "standard" icons used on a sidebar, i.e: things like the "eject" and "battery"…
Garry Pettet
  • 8,096
  • 22
  • 65
  • 103
1
vote
2 answers

how to export data from realbasic to open office word file or compatible software

I use real basic for programming and I want to export some data to a word file that can be opened with "Open Office" or any other word processing software that can work on MAC OSX, any advise?
zac
  • 4,495
  • 15
  • 62
  • 127
1
vote
2 answers

RealBasic byte to string

In RealBasic, is there a way to convert a byte to a string?
Marvin
  • 11
  • 1
1
vote
2 answers

REALBasic Child FolderItem Should Be a Directory Also

I have a bunch of Realbasic code that was written on a Mac that I'm supposed to port to Windows. Right now let's just try to get the program running from within REAL Studio. GetFolderItem("") returns the folder the application is in. Child("A")…
Brad
  • 41
  • 1
  • 3
1
vote
3 answers

connect to mysql server using realbasic

I tried connecting to a mysql server in realbasic using the following code: dim db as MySQLCommunityServer db=New MySQLCommunityServer db.host="192.168.240.129" db.port=3306 db.databaseName="test" db.userName="test" db.Password="test" …
Gbolahan
  • 420
  • 2
  • 8
  • 18
1
vote
2 answers

REALBasic reporting with SQLite3 DB

How do I create a report using SQLite3 DB? I'd appreciate just step by step or pseudo-code.
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
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