You are not logged in.

Search results

Search results 241-260 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, March 1st 2010, 2:38pm

Author: A1880

Winsock

Please search this forum using the search facility. Promising keywords include "lightchat" and "winsock". Success! A1880

Friday, February 26th 2010, 9:51am

Author: A1880

winsock control

Hi, in your code, neither Datax nor DataxCount are defined. They may be defined elsewhere? Add "Option Explicit" as first line of your source to avoid definition errors. The next step to pin-down your problem could be to de-compile the Java class generated by Jabaco. Search the forum for "jad" to get to know hints in this direction. It might be that there is some type conversion error which chops off the most-significant bit of the data bytes. Please post the complete code, if you need more help...

Thursday, February 25th 2010, 3:43pm

Author: A1880

importing?

Again, using the search facility would have helped you. You can find a sample with lots of "import" and "new" here Jabaco actually knows and uses "new" to instantiate new objects by calling a class constructor. Success A1880

Thursday, February 25th 2010, 3:33pm

Author: A1880

Create Jabaco-Menu / Jabaco-ToolBar

Please use the search facility of this forum. "addSeperator" (note the spelling error!) will show you the solution. Greetings A1880

Monday, February 22nd 2010, 6:15pm

Author: A1880

Compiled EXE file Icon/Symbol

I've been using a 16x16 *.ico file with 32 bit color depth. As mentioned before: transparency does not work yet. Greetings A1880

Monday, February 22nd 2010, 6:11pm

Author: A1880

App.Path error?

Hi Viktor, you seem to re-discover many of the pitfalls which have been discovered before. Please use the search facility of this forum. Manuel is aware of these shortcomings, but his to-do list is too long to get them resolved over night. App.Path works for *.exe binaries but fails for *.jar and for IDE program executions. Greetings A1880

Sunday, February 21st 2010, 4:20pm

Author: A1880

EXE file Icon and Version Information

The post mentioned above is here. Somehow the link ends up in an 404 error. An overview article on version information in general and related APIs is here

Saturday, February 20th 2010, 7:31pm

Author: A1880

Compiled EXE file Icon/Symbol

I can sucessfully define an icon as symbol (via IDE project property "Symbol"). In my example, I have been using various *.ico files with different resolutions and color-depths. The selected icon is inserted to the project as image resource. I noticed that the background transparency of the icon gets translated to black which doesn't look too nice. A quick&dirty work-around could be to use "white" as transparent color. Other project properties like "Description", "Company" and "Comment" are igno...

Saturday, February 20th 2010, 7:18pm

Author: A1880

TextBox Control not visible?!

Installing themes in XP definitely is risky. The side-effects are countless and many applications are affected in sometimes strange ways. My suggestion is to focus on Jabaco in a standard environment. That is complex enough. Cheers A1880

Saturday, February 20th 2010, 11:38am

Author: A1880

Create Jabaco-Menu / Jabaco-ToolBar

I've managed to add a separator: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Option Explicit Public Sub Form_Load() Call Me.ToolBar.createToolBarItem("New", "New", "ToolTip New", Burning002Png, fmPicturePositionAboveLeft ) Call Me.ToolBar.createToolBarItem("Open", "Open", "ToolTip Open", Burning002Png, fmPicturePositionCenter) Call Me.ToolBar.addSeperator Call Me.ToolBar.createToolBarItem("Tools", "Tools", "ToolTip Tools", Burning002Png, fmPicturePositionCenter) Call Me.ToolBar.addSeperator(5...

Sunday, February 14th 2010, 10:40pm

Author: A1880

End problem

Comment out the following line in Module1: Jabaco Source 1 Form1.SetDefaultClose() This topic has been discussed before ih the forum. Please try the search facility. The "System.exit()" works but is regarded a bit rude by Java purists. Your are basically shutting down the whole Java VM. This is something a normal thread should try to avoid. However, in small applications I don't see any objections. Greetings A1880

Thursday, February 11th 2010, 3:30pm

Author: A1880

FireBall *.syn-Datei ... Alle hervorgehobenen Wörter

Hier ist eine Liste zu "vb" von Notepad++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 addhandler addressof andalso alias and ansi as assembly attribute auto begin boolean byref byte byval call case catch cbool cbyte cchar cdate cdec cdbl char cint class clng cobj compare const continue cshort csng cstr ctype currency date decimal declare default delegate dim do double each else elseif end enum erase error event exit explicit false finally for friend function get gettype global gosub goto handle...

Thursday, February 11th 2010, 3:15pm

Author: A1880

FireBall *.syn-Datei ... Alle hervorgehobenen Wörter

Hallo, ich denke, du kannst zunächst die *.syn-Datei von VB6 nutzen, da Jabaco weitgehend die gleichen Schlüsselwörter hat wie VB6. Zusätzliche Schlüsselwörter sind z.B. WINAPI, import und byJava. Das ActiveX-Control kannst du in Jabaco selber nicht nutzen. Vielleicht ist das möglich mit externen Frameworks wie "Jacob" (Java Com Bridge). Ich bin mir nicht sicher, ob ich deine Frage richtig verstanden habe ... Gruß! A1880

Thursday, February 11th 2010, 1:11pm

Author: A1880

JABACO Error/Exception Management

Please have a look at this related post Greetings A1880

Thursday, February 11th 2010, 12:45pm

Author: A1880

JBGrid Click event

The following sample shows click events for rows greater than 12: 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 Option Explicit Public Sub JBGrid1_Click() MsgBox "clicked!" End Sub Public Sub Form_Load() Dim row As Integer Dim col As Integer Dim rowIndex As Integer = 2 Dim columnIndex As Integer = 3 JBGrid1.Cols = 4 JBGrid1.Rows = 16 JBGrid1.SelectionMode = flexSelectionFree JBGrid1.Editable= jbEditOnClick For row = 0 To JBGrid1.Row...

Sunday, February 7th 2010, 3:55pm

Author: A1880

XML parsen

Hallo, es gibt mehrere grundlegende Richtungen: 1.) Man liest das komplette XML-Dokument in den Speicher und nutzt dabei das "Document Object Model" (DOM). Unter Google musst du dazu nach "org.w3c.dom" suchen. Diese Objektstruktur kann man dann durchsuchen, manipulieren, wieder ausgeben, ... 2.) Man verarbeitet das XML-Dokument mit einem Parser und definiert bestimmte "Call-Back"-Routinen, die z.B. für jeden XML-Tag oder für jedes XML-Attribut aufgerufen werden. Als Beispiel könntest Du dazu nac...

Tuesday, February 2nd 2010, 4:17pm

Author: A1880

Set commandline in IDE

In the meantime, I've managed to solve the "isInIDE()" riddle: 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 Sub main(ByJava args() As String) Dim myArgs() As String myArgs = args Dim i As Integer Dim s As String Dim isInIDE As Boolean = (UBound(myArgs) < Lbound(myArgs)) If isInIDE Then s = "we are in IDE!" Else s = "we are outside the IDE!" End If s = s & vbCrLf For i = Lbound(myArgs) To Ubound(myArgs) s = s & i & ": '" & myArgs(i) & "'" & vbCrLf N...

Tuesday, February 2nd 2010, 11:39am

Author: A1880

error writing text to VBFileHandler file

I guess the implementation of "FileSystem" in the Jabaco framework is not complete yet. As a workaround, you can use Java mechanisms directly. Sample: 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 Option Explicit Public Sub Command1_Click() Dim lnr As LineNumberReader Dim s As String On Error Goto ErrHandler lnr = openReader("w:\some not existing path\foo.xyz") s = lnr.readLine() MsgBox s Exit Sub ErrHandler: MsgBox "click han...

Tuesday, February 2nd 2010, 8:54am

Author: A1880

Serial Port

Access to hardware resources is a matter of various components. Sorry, but I can't diagnose this problem any further. The sample works OK on my system (Windows XP SP3, Java 1.6). It might be an installation problem. Do you have all platform specific libraries in place? As mentioned before, Javax.comm seems to cause a lot of trouble. I'd welcome any reports on communication packages that work seemlessly. Greetings A1880

Monday, February 1st 2010, 10:30pm

Author: A1880

Serial Port

Here is a sample: 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 Import javax#comm Public Sub Command1_Click() Dim cpi As CommPortIdentifier Dim ty As Integer Dim s As String = "" Dim en As java#util#Enumeration = CommPortIdentifier.getPortIdentifiers() Do While en.hasMoreElements() cpi = Cast(en.nextElement(), CommPortIdentifier) ty = cpi.getPortType() If ty = CommPortIdentifier.PORT_PARALLEL Then s = s & "parallel port: " El...

WoltLab Burning Board