Search results
Search results 341-360 of 500.
Dear visitor, welcome to Jabaco - Community.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Here comes another workaround for longer hex strings: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Public Sub Form_Load() Dim i As Integer test "ABC" test "ABCD" test "FFFF" test "0" test "ABCDEF" test "00G00" End Sub Private Sub test(s As String) Dim i As Integer i = Hex2Dec(s) Debug.Print Hex(i) & " " & i End Sub Public Function Hex2Dec(s As String) Dim pos As Integer Dim p As Integer Dim v As Integer For pos = 1 To Len(s) v =...
And what answer do you get in a cmd.exe box when entering "echo %JAVA_HOME%"? A1880
seems to be a bug. Jabaco definitely generate an assignment to -32768 as JVM bytecode The most significant bit is taken as sign here. It does not help to write &H08000 to suppress this sign extension. A1880
Jabaco does not support ActiveX and OLE yet. Therefore, direct ADO support is not available. However, you could use a JDBC/ODBC access to your database. There are numerous descriptions in the internet how to access ADO from Java. That might help as well. Google is your friend! You might also want to check this elder post. A1880
Hi, by try-and-error I've found out that you actually can assign a "single" variable to a currency. Internally, currency variables are treated as "double" in Jabaco. However, if you do assign a single, it gets casted and thus truncated to a "long" internally. My advice is not to use "currency" for the time being. Greetings A1880
Hi, I am not sure how a Jabaco executable finds the Java environment. There are numerous possible ways. It could use the PATH environment variable, the JAVA_HOME environment variable or the Windows registry. If you open a cmd.exe command box and execute "java -showversion", what do you get? Source code 1 2 3 4 C:\xx 14:55 > java -showversion java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing) Greetings! A18...
Hi, sorry, I don't have more documentation at hand. Honestly, it is a far way from my little demo to a decent web browser plug-in. Apart from following links and handling events, a major challenge is to deal with Javascript and cascading style sheets. In case you really want a browser window, you should go for some more complete open source java browser project. Java and Swing knowledge helps if you plan advanced things in Jabaco. That's the same with VB6. You have to know the Win32 API to shine...
I have a silly sounding question: Why would you like the memory to be de-allocated? Why do you care? Do you run out of memory? Do you have a memory shortage for other applications? If you want save memory for other applications, you can specify the maximum amout of Java memory on the Java command line. The Java garbage collector will strive to stay in the memory limits either specified by default or by your explicit parameters. If you minimize an application, the graphics drawing buffers can be ...
Hi, try resource editing tool like this. Greetings A1880
Hi, you might want to check previous posts here . There was a post about wsgen, but I don't find it any more. Greetings A1880
Hi, you could try to display possible SQL warnings: Source code 1 2 3 4 5 6 7 8 9 Dim sqlw As SQLWarning ... rs = Database1.ExecuteStatement(query) sqlw = Database1.Parent.getWarnings If sqlw <> Null Then MsgBox "SQL-Warning: " & sqlw.getMessage() End If What type of database are you using? MySql? SQL Server? Oracle? Success! A1880
Hi, the "Close()" method of the Form closes the form, but the application keeps running. Strange! Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 Public Sub Command1_Click() Debug.Print "hello" Me.Close Debug.Print "hello again!" System.exit 0 Debug.Print "after exit" End Sub "System.exit 0" definitely closes down the Java virtual machine. Greetings! A1880
Hi, it is possible to use a java swing webbrowser within Jabaco. A very simple browser (without any intelligence ...) based on the RichTextBox control: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Option Explicit Public Sub Command1_Click() Dim kit As javax#swing#text#html#HTMLEditorKit Dim doc As javax#swing#text#html#HTMLDocument Dim url As java#net#URL RichTextBox1.Parent.setContentType "text/html" kit = Cas...
Youtube, your Youtube profile claims that you are creating a virus system. Is this true? I can't believe it! If not true it is at least bad humor. It is not exactly convincing marketing if someone with the alias "TheSniperOfDeath" is promoting Jabaco while boasting himself with virus activities. Tools like Jabaco very heavily depend on reliability and integrity. Without any greetings A1880
Hi, the filter functionality in CommonDialog has not been implemented yet in the current Jabaco framework. The filter property is CommonDialog ignored for the time being. See http://code.google.com/p/jabacoframework/source/browse/trunk/Framework/src/VB/CommonDialog.jsrc. Provided, the filter works, it should be used as follows: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Public Sub Command1_Click() Dim fileName As String With CommonDialog1 .F...
Hi, I noticed that calls to "MsgBox" don't work in concurrent Threads. There is neither an error message nor an exception. The MsgBox simply does not appear. Is that a fundamental limitation of Java Swing? Greetings! A1880
Hi Milan, the explicit call of "gc" does not necessarily trigger immediate action. The Java implementation is free how and when to start garbage collection. The garbage collection cannot free any object which is still referenced. So, programmers have to make sure that unused references are returned as soon as possible. It is good coding style (in memory intense applications) to set such references to "null" to allow early gc. You can start the Java virtual machine with special commandline parame...
Hi, in terms of reliability there should not be much difference between Jabaco and Java applications. You should be aware that the Jabaco framework is maintained by volunteers rather than by a multi-billion-dollar company with elaborated QA processes. Currently, Jabaco should not be applied to control a nuclear power plant. But that is also the case for 97% of all open source Java frameworks. The compiled Jar files of Jabaco can be copied and run on non-Windows platforms. But this is only true i...
Hi, memory de-allocation is done by the Java garbage collector ("gc"). The gc strategy is fairly complex. Depending on your system, it may take quite a while, until the memory gets freed. Google is your friend if you would like to get to know more details ... Greetings A1880
Hi, you might consider using the search facility of this forum. "database" yields 58 hits at the moment. Greetings! A1880