You are not logged in.

Search results

Search results 321-340 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.

Monday, October 26th 2009, 1:12pm

Author: A1880

jabaco error...

Hi, I've just repeated by sbmini tests after updating to Java 1.6.0.16. Again, everything has just worked fine. I've got the following protocol in my black window in the bott-left corner of the Jabaco IDE: Quoted *** Start Java Virtual Machine *** Connect [SHMem] Jabaco17452765x523 *** JDWP-Transport established ... *** Initialize JDWP-Channel ... *** Java HotSpot(TM) Client VM 1.6.0_16 *** JDWP-Connection established ... *** Load Module1 *** Load Form1 *** Load Resources At or after which line ...

Sunday, October 25th 2009, 6:40pm

Author: A1880

jabaco error...

I can also start & run sbmini without problems. I am using Java 1.6.0.14. Cheers A1880

Friday, October 23rd 2009, 4:12pm

Author: A1880

File operations and basic graphics operations

My VB allowed 255 files: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Private Sub Command1_Click() Dim fi As Integer Const maxI = 999 Dim i As Integer For i = 1 To maxI fi = FreeFile Debug.Print i & ": " & fi Open "c:\tmp\testFile" & i & ".tmp" For Output As #fi Next i For i = 1 To maxI Close #i Kill "c:\tmp\testFile" & i & ".tmp" Next i End Sub Might be a limit of my Windows XP. Cheers A1880

Thursday, October 22nd 2009, 4:26pm

Author: A1880

Startup issue in Windows 7 RC1

Hi. can you manually load the "loose.dtd" link? I've tried it and got a 45kB document type description file describing the structure of HTML4. I have no idea why Jabaco should possibly try to load this file at all. The string "loose.dtd" does not occur in any Jabaco related file. Good luck! A1880

Thursday, October 22nd 2009, 11:46am

Author: A1880

Visual Basic FreeFile() function

Hi, 1.5.2. is the version of the IDE not the version of the framework. The framework is stored in a single file jabaco.jar in the jabaco program directory. In the download section of this forum you'll find a special tab "framework". There you can get the latest jabaco.jar file. Save your existing file, download a newer one and store it as jabaco.jar in your jabaco program directory. The current framework definitely includes a function "FileSystem.FreeFile()" . You can use this function as "FreeF...

Thursday, October 22nd 2009, 11:09am

Author: A1880

Hour() of meridian-free date/time gives 'wrong' answer

I noticed that Conversion.CDate() always assumes the presence of an AM/PM in the input format. Might be that the default behaves differently from what one would expect. java.text.SimpleDateFormat() has a format qualifier "a" which stands for the AM/PM marker. This "a" is present in all formats tried by Conversion.CDate(). VB6 Month() returns months between 1 and 12 (cf. http://msdn.microsoft.com/en-us/library/s70thwaz(VS.80).aspx). This is different from the java style. Calendar.get(Calendar.MON...

Thursday, October 22nd 2009, 10:34am

Author: A1880

Visual Basic FreeFile() function

Hi, this topic has already been discussed and probably solved. Look here. Make sure you have a recent version of the Jabaco framework installed. Greetings A1880

Thursday, October 22nd 2009, 9:37am

Author: A1880

Hour() of meridian-free date/time gives 'wrong' answer

Yes, this looks like a bug in framework function Conversion.CDate(). I tried the following: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Public Sub Command1_Click() Dim sFormat As String = "dd/mm/yyyy HH:MM:ss" Dim sdFormat As java#text#SimpleDateFormat = New SimpleDateFormat(sFormat) Dim InputDate As String = "22/02/2009 12:01:00" Dim d As Date = sdFormat.parse(InputDate) Dim s1 As String Dim s2 As String s1 = sdFormat.format(d) & " hour=" & Hour(d) & " day=" & Day(d) & " month=" & Month(d...

Sunday, October 18th 2009, 1:57pm

Author: A1880

manually download the Jabaco-framework

Is there any reason to put "small" versions below 500kB in the list of framework versions? Is this by purpose or just a mistake? Greetings A1880

Friday, October 16th 2009, 8:58am

Author: A1880

Can't quite figure out VarPtr

Hi, what happens during a call to JaCoB? Is there a full process lifecycle for every call? My understanding is that there is currently no Java way to extract the file attributes including the Archive bit. The forthcoming Java 7 will have a function in java.nio to access such attributes. My congratulations to Bruce for his talent to reach the limits of Jabaco and Java Cheers A1880

Monday, October 12th 2009, 4:46pm

Author: A1880

How do I play a WAV file continuously?

If you dig this forum you'll find my sample on audio recording. As far as java is concerned, I would download the compiled Java help files here. Together with a recent text book, this should help you to get quick access to the standard Java APIs. Success! A1880

Monday, October 12th 2009, 4:04pm

Author: A1880

Figure out how to determine if code is executed from within the IDE or not.

The Jabaco IDE starts the debuggee as separate Java process. It uses Java Network Launching Protocol (JNLP) to do that. This process is thus remotely controlled to be debuggable. One could analyse parent/child relationships of process IDs to detect the "child" status w.r.t. the IDE. But there ought to be simpler ways to answer the "isInIDE" question. Probably a matter of some JNLP calls. Greetings! A1880

Monday, October 12th 2009, 1:48pm

Author: A1880

Cursor in Textbox immer schwarz?

When using "Option Strict On", I cannot define variables nor properties of Type "Date". Have to use "java#util#Date" instead. Any ideas? A1880

Monday, October 12th 2009, 12:54pm

Author: A1880

Framework 1.2 lacks the VB tree

The latest framework snapshot is just 232kb in size. It should be some 516kb The VB tree is missing. Could you include a repaired framework 1.2 in the official download table? Greetings and thanks A1880

Sunday, October 11th 2009, 10:22pm

Author: A1880

Cursor in Textbox immer schwarz?

Ganz ohne Gewese geht es so: Jabaco Source 1 2 3 4 5 Public Sub Form_Load() text1.Parent.setForeground color.orange text1.Parent.setBackground color.black Text1.Parent.setCaretColor color.orange End Sub Aus der Anweisung: Source code 1 text1.ForeColor = color.orange Macht Jabaco den Code: Source code 1 Text1.$ForeColor(Double.valueOf(Color.orange.toString()).longValue()); Und der geht offenbar, zumindest bei manchen Farben, übel auf die Bretter. Vielleicht wäre es besser, keine automatische Konv...

Saturday, October 10th 2009, 9:53pm

Author: A1880

Cursor in Textbox immer schwarz?

Leider kann ich nicht sagen, dass orange Cursor meinen Geschmack treffen. Aber hier habe ich eine Weg, wie man Cursor orange färbt: Jabaco Source 1 2 3 4 5 6 7 8 9 Public Sub Form_Load() Dim orange As Long = RGB(255, 163, 0) Dim black As Long = RGB(0, 0, 0) Text1.BackColor = black Text1.ForeColor = orange ' Text1.Parent.setCaretColor(orange) Text1.Parent.setCaretColor(Not Orange) End Sub Beim "setCaretColor(orange)" kommt ein inverses orange heraus, das eher nach Türkis aussieht. Daher habe ich ...

Saturday, October 10th 2009, 9:31pm

Author: A1880

Set commandline in IDE

This limitation of Jabaco could be circumvented if there were a reliable way to determine if code is executed from within the IDE or not. 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 Public Form1 As New Form1 Public Sub main(ByJava args() As String) Dim myArgs() As String Dim myTestArgs() As String = ("Abra", "cadabra!" ) Dim i As Integer Dim s As String = "" If isInIDE Then myArgs = myTestArgs Else myArgs = args End If For i = LBound(myArgs) To UBound(my...

Friday, October 2nd 2009, 3:54pm

Author: A1880

Jabaco on Windows Mobile 2005

Hi, in the compiled Java code of the Jabaco framework, class VB.AbstractForm definitely has a private method "initVars()". So the error message looks strange to me. Have you tried a new version of Jabaco.jar? Greetings A1880

Friday, October 2nd 2009, 10:44am

Author: A1880

Language mix

OK. Fortunately enough, this forum features an "ignore list". Apart from user "adanny08", user "Youtube" from now on is part of my ignore list. Cheers! A1880

Friday, October 2nd 2009, 8:53am

Author: A1880

Language mix

I once read a mail signature motto "simplify, focus and execute!" Jabaco should stay as simple and "clean" as possible. There are enough over-complex IDEs available. Mixing languages can be helpful in very rare circumstances like real-time driver development (c + assembler). Jabaco has a close relationship to Java. It is already feasible to add Java classes and libraries to Jabaco projects. More languages would really confuse matters. Greetings! A1880

WoltLab Burning Board