You are not logged in.

Search results

Search results 1-8 of 8.

Tuesday, December 31st 2013, 5:29pm

Author: dilettante

Suitability of Jabaco for Mobile Development

Yes, this repeats info already here but there have been some developments: As far as I know the only popular mobile platform supporting Java in any form is Android, and that uses a different runtime (Dalvik, not a JVM), libraries, and its own native widget/UI framework. So Jabaco is very unlikely to be useful for mobile device programming. An alternative might be Basic4Android. There is also a new companion product B4J, highly compatible with Basic4Android at the source code syntax level. This c...

Saturday, June 25th 2011, 3:41pm

Author: dilettante

NullPointerException in ExecuteStatement on PC-BSD

I'm going to consider this closed as "Jabaco does not provide a portable Jet Engine emulation." In other words there is no way to use Database.ConnectMDB() except on Windows. This is fine, I just wish I'd read this somewhere here - but perhaps I simply missed it. Works fine on Windows though.

Saturday, June 25th 2011, 3:25pm

Author: dilettante

NullPointerException in ExecuteStatement on PC-BSD

Hmm, this fails to raise a MsgBox dialog at all on PC-BSD, then fails again on the next statement: Jabaco Source 1 2 MsgBox "ConnectMDB() = " & CStr(Database1.ConnectMDB("test.mdb")) Set RS = Database1.ExecuteStatement("SELECT * FROM Employees")

Saturday, June 25th 2011, 3:49am

Author: dilettante

Reading Text Files

Create a TextBox with MultiLine = True and scrollbars enabled. Then it can be as easy as: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Option Explicit Public Sub Form_Load() Dim F As VBFileHandler Dim T As String Set F = FileSystem.Open("test.txt") Text1.Text = F.readAll() F.close End Sub Public Sub Form_Resize() If WindowState <> vbMinimized Then Text1.Move 0, 0, ScaleWidth, ScaleHeight End If End Sub

Saturday, June 25th 2011, 2:53am

Author: dilettante

Path to executable?

App.EXEName does not return paths in VB6, just a simple name. For "C:\blahblah\Project1.exe" for example it returns "Project1" alone. App.Path is supposed to return the path to the compiled EXE w/o the "\" as in "C:\blahlah" alone. However it is broken in Jabaco and returns the current directory. This is very sad. Speaking of that, the ChDir statement is completely missing in Jabaco.

Saturday, June 25th 2011, 1:02am

Author: dilettante

NullPointerException in ExecuteStatement on PC-BSD

Actually the App.Path and CurDir$() seem to always return the BSD "CD" which in my case is set to the Documents folder. However copying the JAR and MDB into Documents still does not get around the NullPointerExecption.

Saturday, June 25th 2011, 12:56am

Author: dilettante

NullPointerException in ExecuteStatement on PC-BSD

I have a small test program that works fine in Windows, but after dragging its JAR file and installing Java on PC-BSD (a flavor of FreeBSD) it fails: Quoted java.lang.NullPointerException at VB.Database.ExecuteStatement(DataBase.jsrc) at Form1.Form_Load(Form1.jsrc:16) at ... I've also noticed that both App.Path and CurDir$() return values that are "off a bit" on this platform, but for all I know it has something to do with the way the filesystem there handles vitual folders like Desktop. I'm put...

Friday, January 28th 2011, 5:01am

Author: dilettante

manually download the Jabaco-framework

Hmm, I see new 2xxKB versions out there again.

WoltLab Burning Board