Search results
Search results 1-20 of 436.
Quoted from "vpr" This doesn't work however. I can't seem to get access to the array. Might this be something to do with the way Jabaco handles protected variables, arrays, functions, etc... Yes. That is the reason. Jabaco knows only "public" and "private". And "protected" Jabaco handles as "private". The easiest way, is to download this modified beads.jar and use it instead of the original beads.jar: [ http://www.file-upload.net/download-10047838/beads.jar.html ] The only difference is, that J...
Quoted Yes, Merry Cristmas to you and all other here, too. You creates every year nice pictures. Thanks.
It is only a snippet of code, which itself don't work. So I can not creating a working example with it, because I don't want to read the complete tutorial. But I can port your snippet to Jabaco: At first loading all jar-files in the Beads.zip to your classpath. Then go to the right top of the IDE to the "Project"-area and click there on "Add File..". Adding a "Class Module" there. Go to the "Properties"-area of the IDE. You see now the properties of the new class file. Let the name as "Class1", ...
For me it works fine: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Public Sub main(ByJava args() As String) Dim job As JobDetail Dim jb As JobBuilder jb = JobBuilder.newJob(HelloJob.class) jb = jb.withIdentity("dummyJobName", "group1") job = Cast(jb.build, JobDetail) Dim trg As Trigger Dim trgb As TriggerBuilder trgb = TriggerBuilder.newTrigger trgb = trgb.withIdentity("dummyTriggerName", "group1") trgb = trgb.withSchedule(SimpleScheduleBuilder.simpleSchedule.withIntervalI...
There existing a compiler-bug with the handling of overloaded functions: 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 Public Sub Nums(val1 As Integer, val2 As Integer) Console.Print "Integers called" End Sub Public Sub Nums(val1 As Single, val2 As Single) Console.Print "Singles called" End Sub Public Sub Command1_Click() Nums(3,7) End Sub Public Sub Command2_Click() Nums(4,8.5) End Sub Public Sub Command3_Click() Nums(6.3,2) End Sub Public Sub Command4_Click() Nums(7...
This is the way Jabaco handles enums: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Enum WithValues First = 1 Second = 2 Third = 3 Fourth = 4 Seventh = 7 End Enum Enum WithoutValues Zero One Two Three Four End Enum Public Sub Command1_Click() MsgBox WithValues.Third MsgBox WithoutValues.Two End Sub Java Enums and Jabaco Enums are incompatible, because Java implemented Enums in Java 7 - a lot later, then Jabaco have implemented it. Greatings theuserbl
Quoted from "vmars316" Can I install both 64bit and 32bit on the same computer?... Yes. 32bit Java is then in "C:\Program Files (x86)\jre" and the 64bit Java in "C:\Program Files\jre". Btw:; There are a lot of files already in 32bit AND 64bit on 64bit Windows. For example the system files (with programs like notepad.exe, calc.exe, etc). 64bit programs and DLLs are in C:\windows\system32. 32bit programs and DLLs are in C:\windows\syswow64. Greatings theuserbl
Jabaco is a 32bit Program. So it needs a 32bit Java. You can download a JRE (or if you also wants develkop in Java: the JDK) at [ http://www.oracle.com/technetwork/java/j…jsp-138363.html ] On Windows >= Vista, be sure to install Jabaco and Java with administrator rights and start Jabaco the first time with administrator rights, too. To do so, click with the right mouse-buttom for example on the Jabaco-install program (jabaco-setup-win32.exe) and select in the upcomming popup-menu "start as Admin...
Quoted from "spysonic" hey there, i had no problems invoking the form_unload from a private function but what about the form unload subroutine? what am i missing? just by having an Unload subroutine without any code in it gives me an error? You already said it: you have reaplace Sub to Function, then it works.
Don't know, what you have a problem with that. Have added a Function-Test project, which shows, that everything works fine.
Quoted from "spysonic" Where can we download the latest framework? I used to download it here ... http://www.jabaco.org/wiki/Latest_JabacoFramework_Binary Thats the latest published binary of the framework. Thats right. Quoted but.. the framework source has v151 already.. why is it not reflected on the wiki? Because sometimes I make only little changes, where I think, that it makes no sense to upload it direct as binary. Then it will be in the next binary, if enough or bigger changes are add up...
Now in the latest Jabaco-Framework it is added. So you only need to write Jabaco Source 1 2 3 4 5 6 7 Public Function Form_Unload() As Integer If MsgBox ("You will be logged out!", vbInformation + vbOKCancel ) <> vbOK Then Form_Unload = 1 Else Form_Unload = 0 End If End Function and there is a working cancel dialogbox. There is no other possibility, then setting that 0 means to close the window (not cancel). Because if nobody sets Form_Unload to a value, it is per default 0 and I can not change ...
Now added a little bit changed version of the Barcode-program. It is now more like the original Gambas-version. Also the barcode.png-icon is now included as icon for the program. Additional this is the first published program, which makes use of the non-colors, And because it uses non-colors, you need JabacoFramework revision 152 or newer for it. For more information about the non-colors look at: [ http://www.jabaco.org/board/1214-downloa…-framework.html ] Greatings theuserbl
The BASIC-dialect Gambas [ http://gambas.sourceforge.net/en/main.html ] includes a Barcode creator as an example program. I have now ported it to Jabaco. Hope it helps. What is not in GambasBarcode.zip are the following informations, which comes in a file called ".project", wich is part of the Gambas-Barcode-program: Source code 1 2 3 4 5 6 7 8 9 10 # Gambas Project File 3.0 # Compiled with Gambas 3.3.90 Title=Barcode Printing Startup=FMain Icon=barcode.png Version=3.3.90 Description="A module t...
Quoted from "spysonic" but still my problems lies within obtaining transparent for with ilustrated here Ok, ported it to Jabaco. Is the port good enough? Important: To run that example you need at minimum Java 7 ! With Java 6, it will not run and aborts with an error, that some classes (of the Java-runtime) don't exist. And Java 6 and lower don't support translucent windows. Greatings theuserbl
Quoted from "spysonic" ah ok now i get it! from here ... Gradient Jlabel - How do I get text to appear? Does this Usercontrol helps you? 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 Dim myText As String = "" Public Sub Usercontrol_Initialize() End Sub Public Sub paint(g As java#awt#Graphics) Dim width As Integer = Me.Parent.getWidth Dim height As Integer = Me.getHeight 'Dim paint As New java#awt#GradientPaint(0, 0, Color....
Ok, tried it now a little bit out: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Public Sub windowClosing(arg2 As WindowEvent) Me.Parent.setDefaultCloseOperation(0) Dim p As Integer p = Form_Unload() If p <> 1 Then System.exit(0) End If End Sub Public Function Form_Unload() As Integer If MsgBox ("You will be logged out!", vbInformation + vbOKCancel ) = vbOK Then Form_Unload = 0 Else Form_Unload = 1 End If End Function So, if I add the feature in the JabacoFramework, then you have to set F...
Quoted from "spysonic" Is it possible to have a message box in unload event? like if you wanted to close the form it will ask you if you wanted to log_out then gives you a choice yes or no? if yes it will surely log out, if no it will cancel the event? If you want, I can add this feature tomorrow or so. Because I have had a problem with my computer, I have it set up new and there is currently no VB6 installed. Can you please list all integer possibilities and what it do, of Form_Unload(cancel a...
Quoted from "spysonic" I've been wondering why is it called JABACO. is it from JAVA+BASIC and where does the "CO" came from? CO = Compiler or Cooperation. But I think, that was only the beginning, why Manuel have choosing the name. Currently the name stands for itself. Its no acronym. Greatings theuserbl
Quoted Why did you choose to use Java here? Because now, the binary is smaller. And Jabaco have still a problem with the colors on non-Windows systems. I plan to fix it the next times. Quoted Also the OptionButtons do not show; but I know this a framework issue! Or do we have to put pictures as resources ... I don't remember!? Oh, thanks for that information. I now fixed it. Have uploaded a new version: [ http://www.jabaco.org/wiki/Latest_JabacoFramework_Binary ] That problem have only exists o...