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...
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.
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")
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
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.
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.
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...
Hmm, I see new 2xxKB versions out there again.