You are not logged in.

Search results

Search results 81-100 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.

Tuesday, January 25th 2011, 8:47pm

Author: A1880

Change color of right-click menu

Your project is a Web Applet. Do you get the same effect if you try a normal SDI (single document interface) Windows application? Greetings A1880

Tuesday, January 25th 2011, 6:04pm

Author: A1880

Error: Java.lang.NoSuchMethodError

It runs OK on my systems (Windowx XP Home+Professional, SP3, JDK 1.6.23). I have no idea what could be wrong with the systems which suffer from these problems. Sorry! A1880

Tuesday, January 25th 2011, 5:57pm

Author: A1880

Change color of right-click menu

Hmmm? I get a proper white menu with black characters.index.php?page=Attachment&attachmentID=259 I am not aware of options to configure these pop-up windows. It probably takes some reading of Java swing notes and digging in the Jabaco framework sources to find out details. Which plaform Linux/Windows are you using? Please post your findings Greetings A1880

Tuesday, January 25th 2011, 1:07pm

Author: A1880

Error: Java.lang.NoSuchMethodError

Have you tried to install a Java Development Kit elder than JDK 1.6.23? Greetings A1880

Monday, January 24th 2011, 9:59pm

Author: A1880

Reports and Classes Jabaco - JasperReport

Look here. Please don't double-post your questions. Greetings A1880

Monday, January 24th 2011, 9:58pm

Author: A1880

JasperReport and Jabaco

Hi, the following compiles OK: 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 Option Explicit ' run "ant jar" to build the jasperreports jar files ' X:\jasperreports-4.0.0\dist\jasperreports-4.0.0.jar ' ' ..\Lib\*.jar are distributed with the download file ' X:\jasperreports-4.0.0\Lib\commons-beanutils-1.8.0.jar ' X:\jasperreports-4.0.0\Lib\commons-collections-2.1.1.jar ' X:\jasperreports-4.0.0\lib\commons-digester-1.7.jar ' X:\jasperreports-4.0.0\lib...

Saturday, January 22nd 2011, 1:56pm

Author: A1880

I will begin a comprehensive VB vs Jabaco coding document...

This list in fact does look very promising. Thanks very much for your efforts. How did you create the list including its many crossreferences? I hope that Manuel will find the time to straighten out some of the differences. Perhaps it would help to mark, which discrepancies are due to the IDE and the compiler. Framework issues can be handled by the community. Greetings A1880

Friday, January 21st 2011, 8:52pm

Author: A1880

Creating reports in jabaco?

To connect to a database and execute SQL statements, you can use the JDBC facilities. Search the forum for samples. Once you have the data, you could display it using a RichTextBox. RichTextBox is one of Jabaco's control types which can be placed in a form. RichTextBox.Parent is an object derived from JComponent. There is a Print() method available, but it certainly takes some reading and experimentingto get this to work. Google is your friend! My preferred way is to create a HTML text file as r...

Friday, January 21st 2011, 2:53pm

Author: A1880

Dir() and wildcards

This sample raises the question of how to define a genuine Java array in Jabaco code. "Dim myList" does not specify a variable type. The return value to myFile.listFiles, however, is an array of File. Is there any proper way in Jabaco to define array variables like "myList" with an explicit variable type? Out of a similar reason I have not managed to call a Java function out of Jabaco which requires an array of char parameter. Any ideas? Greetings! A1880

Friday, January 21st 2011, 2:43pm

Author: A1880

App.Path -- again!!

Thanks for your inspiration! The following might be a bit simpler. Haven't tested in on a Mac, though. Jabaco Source 1 2 3 4 5 6 7 Public Function myAppPath2() As String Dim location As String = getClass().getProtectionDomain().getCodeSource().getLocation().getPath() location = Replace(location,"%20"," ") myAppPath2 = Mid(location, 2, Len(location) - 2) ' remove leading and trailing slashes End Function Greetings A1880

Tuesday, January 18th 2011, 6:38pm

Author: A1880

Is VB and VBA implementation documented?

Thanks for the error hint! This can be circumvented as follows: Jabaco Source 1 2 3 4 5 6 7 8 9 Public Sub Command1_Click() Dim now As Date now = New Date() Debug.Print now Debug.Print Year(now) & "-" & Month(now) & "-" & Day(now) Debug.Print Year(now) & "-" & Right("0" & Month(now), 2) & "-" & Right("0" & Day(now), 2) End Sub The "official" function "now" returns a DateTime value in Jabaco. This is wrongly converted when used as "Date" parameter in functions. Greetings A1880

Tuesday, January 18th 2011, 8:07am

Author: A1880

Form Name Property not available at runtime

"Name" is not a property but rather the name of the variable. You could declare a public member variable of the form to assign a name string to the form. Greetings A1880

Sunday, January 16th 2011, 10:34am

Author: A1880

Error in expression "For Each TempObj In Forms" (FORMS ?? Why)

Jabaco by default has no collection of Forms. It has no collection of Controls either. If you want to enumerate Forms or Controls you have to define the collection yourself and add all collection items during initialization. Example for Controls: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ' keep all user controls in a list Private ucList As java#util#ArrayList Public Sub Form_Load() myForm1 = Me ' cf. mdlGlobal variable ucList = New java#util#ArrayList ' list of user con...

Saturday, January 15th 2011, 11:41am

Author: A1880

Is VB and VBA implementation documented?

In such cases, one can always look at the framework sources. CDate is implemented as follows in VBA.Conversion.java: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 public static java.util.Date CDate(VBVariant Expression) { if (Expression.isDate()) return (Expression.toDate()); return CDate(Expression.toString()); } public static java.util.Date CDate(String Expression) { java.util.Date ret = null; for (int i = 0; i < CheckDatePatterns.length; i++) { for (int x = 0; x < CheckDatePatterns[i]...

Friday, January 14th 2011, 9:36pm

Author: A1880

Installing under linux (ubuntu)

Thanks for the Gambas hint. To be honest: I am not using Jabaco for any serious development work but rather as a mental exercise. My real work horses still are Java (Eclipse) and C# (Visual Studio 2010 Express). Greetings A1880

Friday, January 14th 2011, 9:29pm

Author: A1880

Error: Java.lang.NoSuchMethodError

Console applications don't use Java swing. This gives rise to the suspicion that there could be something wrong with the Swing configuration. Frankly speaking, I'm rather clueless on this one! Sorry! A1880

Friday, January 14th 2011, 9:26pm

Author: A1880

Is VB and VBA implementation documented?

I don't mind. The Java version is probably more efficient and might be easier to maintain. The Jabaco version demonstrates the power of Jabaco. We could remove all public functions and just let DateDiff survive. Thanks for your initiative! Greetings A1880

Friday, January 14th 2011, 4:13pm

Author: A1880

Installing under linux (ubuntu)

Yes, Jabaco's IDE is platform dependent and bound to Windows. Pure Unix aficionados are out of luck here. "Gambas" is a new term for me. Greetings A1880

WoltLab Burning Board