Search results
Search results 121-140 of 436.
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.
Have currently not the time to look closer at it. But you are right, the implementation of it in the Jabaco Framework working slow. Here the Java-way without checkboxes. 50000 entries are very fast generated. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Public Sub Command1_Click() Dim listModel As New DefaultListModel Dim f = New JFrame("JScrollPane Demonstration") f.setSize(300, 200) Dim list As New JList(listModel) 'Dim scrollpane As New JScrollPane(list) Dim scrollpane As New JScrollPane(li...
Quoted When I exit the program through program control (command button) .. You don't exit the program. With "Unload" you only close the window. To exit the program write "System.exit(0)" or "VB#Global.End" or something like that. Greatings theuserbl
Quoted from "Perry" A question then. I don't have access to a MAC. I assume that your implementation is for a MS OS Right. Quoted Is it implemented on a Mac the same way? How about Linux and Unix OS? Anybody try this on other operating systems? Thanks much. It works well in MS Windows and I understand from your thread it will work at least in Linux as well. Java have the Jabaco Source 1 Runtime.getRuntime().exec(shellCommand); command. Or in Jabaco as short Jabaco Source 1 Shell(shellCommand) T...
Your mentioned Java-program doing exactly the same like the Shell function in Jabaco. The only difference is, that if printShellOutput is true, it outputs the text of the console. But that is with the Shell-command possible, too: [ http://www.jabaco.org/board/p3453-how-to…e-in-linux.html ] You don't want to start a textfile direct with Jabaco Source 1 Shell "notepad C:\textfile.txt" An command like "start" exists only on the console. So if you want to start it with "start", then you have to writ...
Seems you have automatic updated you Jabaco Framework. Open in the Jabaco-directory the file Jabaco.xml and change the line Source code 1 <Param Name="CheckVersion" Value="true"/> to Source code 1 <Param Name="CheckVersion" Value="false"/> Then download [ Jabaco-rev105.jar ] Rename it from Jabaco-rev105.jar to Jabaco.jar and replace the Jabaco.jar in your Jabaco-directory with this one. Then restart Jabaco. Now it should work. Greatings theuserbl
Quoted OlimilO changed it to the user dir: Ok. https://code.google.com/p/jabacoframewor…p.jsrc&start=56 Manuel have used the user-dir. Then OlimilO comes up, with the immplementation of the application directory. And that he changed it back to something, what Manuel have implemnented first. Greatings theuserbl
Seems, that the first Version from Manuel shows already the right directory. OlimilO changed it to the user dir: https://code.google.com/p/jabacoframewor…App.jsrc&old=33 And here an implementation, which is a mix of the last one which I have posted and that of Manuels implemenation: Jabaco Source 1 MsgBox New java#io#File(getClass.getResource(".").toURI.getPath).getAbsolutePath Greatings theuserbl
Quoted from "Dani" I know it is a bit of an overkill but this has proven to be reliable on Win and Mac with the compiled program: Nice. As of http://stackoverflow.com/questions/93993…n-of-a-jar-file I think, this would be a better one: Jabaco Source 1 MsgBox New java#io#File(getClass.getProtectionDomain.getCodeSource.getLocation.toURI.getPath).getAbsolutePath Should it be the output for App.Path? Or CurDir? Or both? And if for both, what will be the current output of CurDir should be called? Us...
Quoted from "Perry" In fact if I try to declare it as an object, I can't even get that method from the list. See Pic Below. Do you really sure, that you are using Jabaco-rev105.jar ? On my system (XP in VirtualBox) it works and it is there. If you have the old Jabaco.jar it is in VBA#FileSystem in the new Jabaco.jar it is in VB#FileSystem Please rename Jabaco.jar to Jabaco.zip and look if there is a directory VB in which is the file FileSystem.class. Or try to download Jabaco-rev105.jar again: ...
Quoted I am trying to find the App.Path. Hmmm. it is still there. And on my System, it works. It is similar to CurDir. Jabaco Source 1 2 3 4 5 6 7 8 Public Sub Command1_Click() MsgBox App.Path ' MsgBox CurDir ' MsgBox TmpDir ' MsgBox TempDir ' MsgBox HomeDir ' MsgBox JavaDir End Sub If it still don't work, try the complete name: Jabaco Source 1 2 3 4 5 6 7 Public Sub Command1_Click() MsgBox VB#FileSystem.CurDir ' MsgBox VB#FileSystem.TmpDir ' MsgBox VB#FileSystem.TempDir ' MsgBox VB#FileSystem....
Quoted from "Perry" There have been some changes that have rendered my program unworkable. Can you post an examples, please? Which program runs with the original Jabaco.jar, but no longer with Jabaco-rev105.jar ? Quoted The Listbox.Style = vbListBoxCheckbox does not change the style from the standard listbox That is right. But that don't work with the old Jabaco.jar, too. As you can read at http://www.jabaco.org/wiki/ListBox Manuel tried out an different implementation of it. Jabaco Source 1 2 ...
Quoted from "IAO" Could we adapt RadAsm with Jabaco framework? What benefit would it have over other IDEs? There existing editors like - Notepad++ - Geany - RText - ... and a lot of more And there are OpenSource-Libraries for creating yourself an editor, like - RSyntaxTextArea/, which is written in Java - Scintilla, which Jabaco used for its Editor And the designer have the disadvantages of the current Jabaco-designer: don't making direct use of the Jabaco/Java controls. So that changig the cod...
Quoted from "IAO" Days ago, I asked myself: Is it possible to make Java programs with the framework jabaco.jar? I think, then this will intests you: http://www.jabaco.org/board/p2150-fun-wi…oframework.html ... and if you want to know, how the IDE-Designer works: http://www.jabaco.org/board/p1957-jabacoide-internals.html Greatings theuserbl
Here is an Array-performance test written in Java. Be sure, that Jabaco.jar is in your classpath: 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 43 44 45 46 47 48 49 import VBA.*; public class JabacoArrayTest { public static void main(String[] args) { int x,y; long myTime; for (int i=0; i<=5; i++) { myTime = System.currentTimeMillis(); // initialize Java-Array int javaArrayInt[][] = new int[2000][3000]; // fill J...
Quoted from "theuserbl" Arrays making always problems on Jabaco.l Have now seen, that it works like VB6: This code works: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 Dim a(10) As Integer a(5) = 3 For i=0 To 10 System.out.println(a(i)) Next i Dim b(10,12,17) As Integer Dim c(5 To 17, 0 To 14, 3 To 6) As Integer c(1,5,4) =13 'Throws an ArrayIndexOutOfBoundsException c(6,5,4) =13 Internally Jabaco Source 1 Dim c(5 To 17, 0 To 14, 3 To 6) As Integer is compiled to Jabaco Source 1 2 3 4 VBArrayInteg...
Jabaco Source 1 2 3 4 5 cdblWert CDbl("123,04") ' VB = 123,04 cdblWert CDbl("123.04") ' VB = 12304 cintWert CInt("123,04") ' VB = 123 cintWert CInt("123.04") ' VB = 12304 I don't think, that such an localization makes sense. You know, that this is only the output for german (or europe) countries. On an US localized operating system, it will be the other way around: Jabaco Source 1 2 3 4 5 cdblWert CDbl("123,04") ' VB = 12304 cdblWert CDbl("123.04") ' VB = 123.04 cintWert CInt("123,04") ' VB = 1...
Arrays making always problems on Jabaco. Your code Jabaco Source 1 2 3 4 5 Dim toin As java#io#InputStream Dim buffer As Byte = New Byte(1024) Dim len1 As Integer = -1 Do While ((len1 = toin.read() And Buffer) > -1) Loop will be compiled to Jabaco Source 1 2 3 4 InputStream toin = null; byte buffer = new Byte((byte)1024).byteValue(); int len1 = -1 * 1; while ((Conversion.CInt((len1 != toin.read() ? 0 : 1) & buffer) <= -1 * 1 ? 0 : 1) != 0); And remember, that the primitive datatype byte and the ...
Possibly the little OOPJava.pdf file helps you to understand one part of Java. Thats something I have had in the the most problems with, to understand it. On January 2010, after I understood it, I have created this pdf-file (it is in german). Greatings theuserbl Edit: Have only little changed it
Quoted from "Dani" as I wrote above in this thread, this is all I changed in the class Quoted g2d.drawRect(0, 0, clip.width, hclip.height + clip.height); The "print"-method is "public". So you can create a new file for example called "NewTablePrintable.java" And lets say we want to see it in the VBA-directory, then the code of this file would look like 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 43 44 45 46 4...
Only a test by myself for fun. Jabaco Source 1 2 3 4 5 6 7 8 9 10 Public Sub main(ByJava args() As String) System.out.println("This is a little Jabaco-program") System.out.println("Counting to 10:") Dim i As Integer For i = 1 to 10 System.out.println("Number " & i) Next i System.out.println("End") End Sub You can create such a program inside an Jabaco-program: 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 43 44 ...