You are not logged in.

Search results

Search results 61-80 of 277.

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, February 16th 2010, 9:47pm

Author: OlimilO

make P4J VB6 compatible

Hi Stefan, many thanks for this cool dll I really love the idea. There is a possibility to make it more easy to use and to make it more VB6-compatible. In VB6 there are 3 hidden functions. In fact the module name is "VBA._HiddenModule". The 3 functions are: ObjPtr, StrPtr, VarPtr In VB6 it is common to use the StrPtr-function in this way: (the following Code is valid VB6-Code) 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 Option Explicit Pri...

Sunday, February 7th 2010, 4:49pm

Author: OlimilO

XML parsen

Hi, Es würde keinen Sinn machen msxml irgendwie in Jabaco verwendbar zu machen. Am Besten verwendet man die Java Sachen dies schon gibt, unter Java heißts halt bloß bissl anders: org#w3c#dom bzw. javax#xml Die Konzepte und Basisklassen sind sich aber trotzdem sehr ähnlich. @A1880 gut erklärt kleines Bsp zu 1) braucht CommandButton Command1 und ne TextBox Text1 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 Option Explicit Import org#w3c#dom Import javax#xml#parsers Dim...

Wednesday, January 13th 2010, 2:10pm

Author: OlimilO

Jabaco & Java MicroEdtition (for mobile phone devices)

Hi J2ME, I do not have such a device, so at first you got to figure out if the preverify step is really needed for your Blackberry. after that ... remember: this board is for suggestions to future developments on the Jabaco-compiler regards OlimilO

Saturday, December 5th 2009, 9:36pm

Author: OlimilO

WM5 und Jabaco

Quoted und dann Ende Gelände Programm läuft nicht. OK, das Jabaco-Framework, mit VB.Form, CommandButton und Co kannst du vergessen, da es auf Java.Swing aufbaut, Java.Swing aber nicht Bestandteil von JavaME ist. Der Jabaco-Compiler braucht aber vom Jabaco-Framework mindestens die Funktion MsgBox aus dem Namespace VBA#Interaction. d.h. Du brauchst ein minimales Jabaco.jar und mußt natürlich die MIDP-Klassen verwenden. OlimilO

Friday, December 4th 2009, 4:57pm

Author: OlimilO

VBA#Interaction.MsgBox

hier schonmal ein Anfang Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 package VBA; //import javax.microedition//.lcdui; //.Alert //import javax.microedition.lcdui.*; import javax.microedition.lcdui.* ;//Alert; /** * reduced Jabaco framework */ public class Interaction { //private static Interaction myself = new Interaction(); public static int MsgBox(String Prompt) { Alert a = new Alert("warning", Prompt, null, AlertType.CONFIRMATION); //javax.microedition.lcdui.Command c = ...

Friday, December 4th 2009, 4:45pm

Author: OlimilO

WM5 und Jabaco

Quoted Das mit der Class werd ich ausprobieren halt nich so schnell ... damit kommst du wahrscheinlich noch nicht weit! Aber evtl kann ich Dir da noch weiter helfen. (bist du tats. voll im Bilde?) Ich hätte erwartet daß du jetzt nochmal nachfragst was das genau heißt. Hast du das SDK für die Java Micro Edition installiert? Welche MIDP-version brauchst Du für dein VPA2? OlimilO

Friday, December 4th 2009, 2:56pm

Author: OlimilO

WM5 und Jabaco

Hallo, WM5 - meinst Du Windows Mobile? zwei Sachen: 1. Jabaco-Framework: kann man reduzieren auf VBA#Interaction.MsgBox das ist die einzige Funktion die dein (mit Jabaco kompiliertes-) jar hinterher noch wirklich braucht, weil der Aufruf (fürs Exceptionhandling) in jeder Funktion drinsteckt. 2. evtl braucht man einen Preverify-Schritt zwischen classbuilder und jarmaker. Schau mal nach ob Du für dein Gerät 2. tatsächlich brauchst. (keine ahnung was VPA2 sein soll) Gruß OlimilO

Thursday, November 26th 2009, 4:28pm

Author: OlimilO

Translate Jabaco into your native language

@Slava, @Kolesdz thanks, uploaded: Languages OlimilO

Tuesday, November 24th 2009, 1:25pm

Author: OlimilO

inner classes, a class inside another class

You are welcome, but please ... you should learn something about "java inner classes". suggestion: http://java.sun.com/docs/books/tutorial/…nerclasses.html Every class in processing simply is a innerclass o the main PApplet. As mentioned earlier, Jabaco is not able of making inner classes, but it is because of the VB-Syntax. suggestion to Manuel: Property-Editor -> what about making a property for the class: something like: Is inside class: "myproject/mypackage/myclass" Of course the intellisens...

Monday, November 16th 2009, 10:45pm

Author: OlimilO

Create fantastic graphics with processing

Hello, This tutorial is about how to use the processing library. Processing Is a library for easily creating fantastic computer graphics. Exact two years ago on 12. nov. 2007 the computer magazine "c't magazin für computertechnik" published an article about processing. I was really impressed about the pictures In the magazine. Of course you are able to use it In Jabaco too. Download it from the site processing.org http://processing.org/download/processing-1.0.9-expert.zip Unzip it in a folder fo...

Friday, November 6th 2009, 11:09am

Author: OlimilO

Jabaco & Java MicroEdtition (for mobile phone devices)

Hi, to support the development for mobile phone devices in Jabaco, the Jabaco compiler needs an additional compiler step: Preverify * first compile to class files, * then run a Preverify-task (for CLDC-devices) * then create the jar-archive Download Java Platform Micro Edition Software Development Kit 3.0 after installation of JavaME, the file preverify.exe can be found in the folder: C:\Java_ME_platform_SDK_3.0\bin\ regards OlimilO

Monday, November 2nd 2009, 10:18am

Author: OlimilO

Random / Rnd()

Hi natch, the MSDN does help you, read this article: http://msdn.microsoft.com/en-us/library/f7s023d2(VS.80).aspx or have a short look: 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 Command1_Click() Dim d As Double 'The Rnd function returns a value less than 1, but greater than or equal to zero d = Rnd() MsgBox CStr(d) End Sub Public Sub Command2_Click() Dim i As Integer i = randomvalue(50, 100) MsgBox CStr(i) End Sub Function randomvalue(lowerbound As Integer, u...

Thursday, October 29th 2009, 5:23pm

Author: OlimilO

jabaco error...

Quoted hmm... it runs good on XP i just got...it doesnt work on vista... do you have jdk, and jre installed together? which versions? have you started Jabaco with admin privileges? you could switch off your User Account control (UAC) regards OlimilO

Wednesday, October 28th 2009, 3:17pm

Author: OlimilO

VBA#VBVariant

OK I have already "opened" the VBVariant with a public setVal. the following VB-Code: Jabaco Source 1 2 3 4 5 6 7 8 9 Public Sub Command1_Click() Dim s As String s = "a string" Foo s MsgBox s End Sub Sub Foo(ByRef v As Variant) v = v & "test ByRef" End Sub now can easily be converted to this Jabaco-Code Jabaco Source 1 2 3 4 5 6 7 8 9 Public Sub Command1_Click() Dim s 'As String s = "a string" Foo s MsgBox s End Sub Sub Foo(ByRef v As VBVariant) v.setVal v & "test ByRef" End Sub regards OlimilO

Wednesday, October 28th 2009, 11:42am

Author: OlimilO

VBA#VBVariant

Hi A1880, OK, compare your solution to: ByRef in VB and in Jabaco OlimilO

Tuesday, October 27th 2009, 4:19pm

Author: OlimilO

Backus Naur

Hi, I am not very familiar with compiler related stuff. Are you talking about the Backus-Naur-Form? Some wikipedia links: Backus Naur Form http://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form Extended Backus Naur Form http://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_Form Augmented Backus Naur Form http://en.wikipedia.org/wiki/Augmented_Backus%E2%80%93Naur_Form OlimilO

Tuesday, October 27th 2009, 2:42pm

Author: OlimilO

Translate Jabaco into your native language

@amit markel, @guicleand thanks, uploaded: Languages OlimilO

Monday, October 26th 2009, 7:02pm

Author: OlimilO

[Design pattern] Singleton

Hi @All with Jabaco you are able to program with the whole bunch of OOP-features. How to make a singleton in Jabaco? For example the ErrObject in VB6 is a real singleton. It refuses you to make another instance of it. Class: MyFirstSingleton Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Private myDescription As String Private Static myInstance As MyFirstSingleton = Nothing Private Sub MyFirstSingleton() myDescription = "Hide the standard constructor by making it private." & vbCrLf & _ "Create a...

WoltLab Burning Board