You are not logged in.

Search results

Search results 421-440 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.

Thursday, June 25th 2009, 12:56pm

Author: A1880

Web Services

Hi, Jabaco has no built-in web service features. You'd have to select a java web service framework as discussed here. If you are just talking about a simple web service, it might be sufficient to use libraries like Apache Commons to execute the http/https request and extract the result data via home grown logic. For multiple and highly complex web services, you should consider some more adavanced library to actually parse and "un-marshal" the resulting XML answers you get back from the web servi...

Wednesday, June 24th 2009, 7:03pm

Author: A1880

Is there an error in the automatic class name completion

Hello again, the autocompletion does work correctly on my system. Please let us know the exact sequence of key hits you have been using. Cheers A1880

Wednesday, June 24th 2009, 12:47pm

Author: A1880

Is there an error in the automatic class name completion

Hi Stefan, the error does not occur in my environment (Jabaco 1.4.2 + JDK 6_14). Are sure about the "."? I'm still confused between namespaces and method/property path conventions. I compiled and debugged the line of code with "." and "#". Both compiled OK. But only the "#" version could be executed without error. Source code 1 2 3 4 Dim ds As sun#jdbc#odbc#ee#DataSource ds = New sun#jdbc#odbc#ee.DataSource() ds = New sun#jdbc#odbc#ee#DataSource() Regards A1880

Sunday, June 21st 2009, 11:26pm

Author: A1880

UPDATE: Framework 1.2

People interested in the internals of the framework might want to do a download of the complete framework source. To do that, you have to use a subversion client like Sliksvn. I'm using the following Windows cmd skript: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 @echo off setlocal :: we're using SlikSvn :: (http://www.sliksvn.com/en/download) set svn=C:\Programme\SlikSvn\bin\svn.exe :: Non-members may check out a read-only working copy anonymously over HTTP. %svn% checkout http://jabacofram...

Tuesday, June 16th 2009, 8:57am

Author: A1880

discussion: documentation & Jabaco Wiki & TOC

Hi Henrik, my reasons to post in English: - probably more readers can understand English - practice my language skills - it hurts less to write a "quick and dirty" text in a foreign language than in your mother tongue ;-) Enough reasons? Cheers! A1880

Tuesday, June 9th 2009, 10:10am

Author: A1880

Verwendung von Jabaco als Steuerungszentrale

Hallo, das sind ja zwei Problemkreise: 1. Zugriff auf die seriellen COM-Schnittstellen Das geht in Java bzw. Jabaco etwas anders als in VB6, erfordert also Umstellungen 2. Umstellung vom *.exe Programm auf ein Java Applet, das im Browser abläuft Damit das Applet im Browser ablaufen kann, muss man in Jabaco ein Jar-File erzeugen und "signieren". Wenn das Applet "nur" COM-Schnittstellen auf dem aktuellen PC steuern soll, könnte es klappen. Es wäre zu prüfen, ob die Rechte des Applets ausreichen, u...

Tuesday, June 9th 2009, 9:02am

Author: A1880

A way to convert vb ocx a dll files to Jabaco

Hi, "cdecl" (or "_cdecl") refers to a calling convention in Microsoft C/C++. See here Best regards A1880

Thursday, May 28th 2009, 9:56pm

Author: A1880

No Winsock support for UDP yet

Hi, looking through the source code of Winsock in the Jabaco framework, I've got the impression that UDP is envisaged but not implemented yet. The underlying sockets are TCP sockets rather than DataGram sockets. The protocol is registered as property but nowhere actually used. You might want to extend the Winsock implementation yourself and donate the resulting code to the community? Good luck! A1880

Thursday, May 28th 2009, 1:11pm

Author: A1880

What about Date and java#util#Date?

Hi, any new findings compared to our previous posts? Cheers! A1880

Saturday, May 23rd 2009, 1:09pm

Author: A1880

Structures in Jabaco

Hi Stefan, according to a previous post, support for "with" is planned for the future. Cheers! A1880

Friday, May 15th 2009, 10:27pm

Author: A1880

MySQL und JBGrid und Respektzollung ... ;)

Hi, man muss das Jar-File erst signieren, damit es vertrauenswürdig genug ist - oder dafür erklärt werden kann - ablaufen zu dürfen. Siehe hier. In diese Falle bin ich auch getappt ... Gruß! A1880

Sunday, May 10th 2009, 8:43pm

Author: A1880

Cool!

Hi Stefan, that looks cool indeed! Your "variables" are a clever way to circumvent Java's restrictions w.r.t. memory-fixed variables. Could they even serve as shared memory between processes? Or is such a variable bound to the address space of a single DLL which cannot be accessed by other processes, because they create their own instance of the DLL? In my own Winapi experiments I have encountered some difficulties with the NativeCall mechanism. It appears to me that temporary files are generate...

Saturday, May 9th 2009, 12:04pm

Author: A1880

Menus in Jabaco

Look here Cheers! A1880

Thursday, May 7th 2009, 10:15pm

Author: A1880

no AddressOf yet (?)

Hi, there is no AddressOf operator in Jabaco as explained here. I am not sure, but this might be due to the memory architecture of Java. For garbage collection (and compaction) purposes, direct memory references have to be avoided. A discussion on this topic can be found here. Greetings A1880

Thursday, April 30th 2009, 6:51pm

Author: A1880

A way to convert vb ocx a dll files to Jabaco

Hi, are you talking about ActiveX? This feature has been asked for several times. Happy experimenting! A1880

Thursday, April 30th 2009, 6:45pm

Author: A1880

No output parameters support yet

Hi Stefan, if you look in the "temp" directory underneath the Jabaco program directory, you'll find the compiled Java classes of your example. Decompiling the Form1.class yields the following: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 private long MultiByteToWideChar(long CodePage, long dwFlags, String lpMultiByteStr, long cchMultiByte, String lpWideCharStr, long cchWideChar) { long MultiByteToWideChar = 0L; Exception Err = null; Exception h15 = null; VBA.VBArrayVariant vbarrayvariant =...

Monday, April 27th 2009, 11:04pm

Author: A1880

Jabaco jar file should run on a Mac with Java Runtime

Hi, executables compiled by Jabaco can only be used under Windows. You can, however, instruct Jabaco to create a jar file rather than an exe file. Just opt for "Jar-File" as file type in menu File/Make. Unless your program calls Window specific controls or features, the jar files should be executable on a Mac. Make sure, a Java runtime environment is available. Please let us know your findings. Happy experimenting! A1880

Monday, April 27th 2009, 1:51pm

Author: A1880

Simple(r) approach to logging

Hi Stefan, log4j looks appropriate for big applications with dozens or even hundreds of modules where logging control is essential for sucessful support and maintenance. For my "weekend projects", I am using a much simpler approach. Throughout my code I intersperse "trace()" commands. The trace calls write their messages to a label control on the main form, to a rich-text box or to a log file. If necessary, I use a global debug level integer variable to control the verboseness of the trace outpu...

Thursday, April 23rd 2009, 6:50pm

Author: A1880

'now' without external Java class

Hi, without compiling Java classes, you can do it in pure Jabaco as follows: Source code 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 Public Function myNow As String Dim cal As java#util#Calendar Dim sdf As java#text#SimpleDateFormat Const DATE_FORMAT_NOW = "yyyy-MM-dd HH:mm:ss" cal = java#util#Calendar.getInstance sdf = New SimpleDateFormat(DATE_FORMAT_NOW) myNow = sdf.format(cal.getTime()) End Function Public Function myNow2 As String Dim sdf As java#t...

Tuesday, April 21st 2009, 8:50am

Author: A1880

FindBugs

Hi all, from my point of view, applying FindBugs to Jabaco.jar is a good idea. I tried the stand-alone Swing version of FindBugs. The list of findings is impressive. However, it would be short-sighted to draw the direct conclusion "high number of errors = low quality of Jabaco". FindBugs is optimized to find potential problems in human-written code. Emphasis on "potential". Compiler-generated code might deliberately chose to use constructions which could be dangerous and difficult to maintain fo...

WoltLab Burning Board