You are not logged in.

Search results

Search results 1-20 of 40.

Tuesday, February 25th 2014, 2:22pm

Author: Perry

Multi-line jbgrid header

I'm trying to reproduce this Application in Jabaco. Notice the multi line Header, and how it is arranged. I've read a bit on methods of creating multiline headers, but I have not located anything on combining cells. Also Note that in some cases the text is centered in the header. Though I can align text in the cells right, left or centered with the .DataMatrix().TextAlign property, I could not find a similar method to align text in the header. I've tried a work around by using 2 JBGrids, the one...

Tuesday, February 11th 2014, 6:04pm

Author: Perry

Redim Preserve

I did view the thread that you gave. I am not sure how that particular discusion applies here though it was informative.The problems could be related of course. You mentioned though that you wound up syncronizing two arrays, to fit your purposes. Were they single dimensional arrays that you synced? That might be a possibilty here, but in the above example A(30,5), it would require 5 single dimensional arrays of 30 items to fit the purpose. Restating the problem, I havent had a problem with array...

Monday, February 10th 2014, 8:06pm

Author: Perry

Redim Preserve

In using Jabaco I've noticed that the Preserve option in the Redim statement will cause an error if the array being redimmed is multidimensional. Redim Preserve A(30) works While Redim Preserve A(30,5) generates an error. I did a search for the error on the site and I did find issues concerning Redim that have evidently been resolved But I didn't find this particular issue in using the Preserve keyword Is this a known limitation or Issue?

Tuesday, February 4th 2014, 2:44pm

Author: Perry

Listbox Speed

Dani These improvements are HUGE. Thanks a lot. Good Work.

Friday, January 24th 2014, 1:57pm

Author: Perry

Listbox AddItem Method

Quoted Just take my code above and compile the framework! I need to be stepped through. Are there instructions posted somewhere that I can follow?

Wednesday, January 22nd 2014, 6:57pm

Author: Perry

Slow List Boxes

How about we split the code. Have 1 version of code for a List box without icons, and one code version for list boxes with Icons. Do the same for combo boxes. Just an Idea. I don't know how feasable that would be, since I'm not a very good Java programmer. What we would be attempting, is to isolate the problem only to the case where a person would use Icons. I will admit this does not solve the problem with the Icons, but it would free up the use of the list boxes in cases where no Icons are use...

Thursday, September 12th 2013, 7:31pm

Author: Perry

Re: theuserbl

If you follow this thread long enough, you will find that initially I had a currupted jar (105), which I reinstalled. CurrDir actually yields the results I wanted, so I'll use that. For the most part I'm not so concerned that Jabaco has everything just like VB6 though that would be nice. I just wanted some method of yielding the results that I wanted to see. In VB6 I would have used App.Path. CurrDir does fine. See I've already programmed that Library Application using App.Path. That worked OK a...

Thursday, September 12th 2013, 5:06pm

Author: Perry

Reply to Dani

To Dani; Lets see I'm using WinXP (I downloaded and saved the new jar all over again for this test, just in case I had a currupt jar) Download Jabaco-rev111.jar from the link in this thread place it in C:\Program Files\Jabaco\ rename existing Jabaco.jar to JabacoOld.jar rename Jabaco-rev111.jar to Jabaco.jar run Jabaco what am I forgetting? I Made a Simple Program to test this and Compiled & stored it on My F: Drive I placed a command button on the form and a textbox This is the code Source code...

Wednesday, September 11th 2013, 7:10pm

Author: Perry

App.Path

I'm sorry to be a PITB It's obvious you guys are working on this pretty hard. I was testing the new .jar version 111 and was expecting something other than what I got. No it didn't hang, but it also didn't yield the expected result. If I for instance use the App.Path command in a program, and place that program on a flash drive, or any other drive, shouldn't it yield the path to the folder of the operating program? If the folder where I place the program is in "F:\Foldername\", App.Path should r...

Thursday, September 5th 2013, 12:55pm

Author: Perry

App.Path

I'm a bit surprised nobody responded about this last .jar update Jabaco-rev109.jar Maybe it's just me or my machine, but this code doesn't work for me. Source code 1 2 3 4 5 Public Sub Form_Load() Dim gLP As String gLP = App.Path Debug.Print gLP End Sub It used to. But now it makes Jabaco enter an unending pause.

Friday, August 16th 2013, 1:53pm

Author: Perry

Listbox AddItem Method

The AddItem Method of combo boxes and list boxes seems to be slow. Most times it isn't a problem until you reach around 5000 entrys. You can test this on the sort routines that are given as sample apps. Instead of clearing and adding items to the list box on the right, try simply changing .List() values in the entrys in the left list box with the new sorted data. Do this without clearing the List Box, or using the .AddItem Method. The speed of the Sort Demo picks up impressively. I'm testing one...

Monday, August 12th 2013, 5:51pm

Author: Perry

Common Dialog

Thank you. Either of those commands work fine. I found no examples of this ... and I don't know if there is any documentation on it I seemed a question too basic to ask, but I need to know. Thanks again.

Monday, August 12th 2013, 5:07pm

Author: Perry

Common Dialog

There is something wrong here. I stripped this code to the bare essentials so other variables wouldn't interfere. To try this example, make a new form with 1 command button Paste this code in. Source code 1 2 3 4 5 6 7 8 9 10 11 Public Sub Form_Load() Dim FD As New VB#CommonDialog FD.ShowOpen True Set FD = Nothing End Sub Public Sub Command1_Click() Unload Me End Sub When I exit the program through program control (command button) .. it will not release me to the editor. It is as if the commondi...

Monday, August 12th 2013, 4:55pm

Author: Perry

Listbox (Checkbox)

Dani; Great. You said a patch ... is that something we can just plug in until a new framework ver? Where did you commit it? Is there a new Version of the framework out? Perry

Friday, August 9th 2013, 4:17pm

Author: Perry

Shell

Quoted So, if you want to be sure, that you can edit an textfile from every platform, then write your own texteditor in Java or using an external texteditor written for the JVM. Well I did a search for a freeware RTF Editor for the JVM. I tried all I found and they were not satifactory. Maybe you know of one that works well, but I suspicion there is a reason why these are so scarce. I did see one that looked pretty good that would have cost a bit, but this program I'm making is offered to the p...

Thursday, August 8th 2013, 9:20pm

Author: Perry

Library Catalog Application

Those of you that downloaded this program before 3:16PM Eastern US Time on 8/8/13 There is a bug in the code that will allow a CSV import only on the first attempt. It will hang on the second attempt. Please download it again... it has been repaired.

Wednesday, August 7th 2013, 6:13pm

Author: Perry

Richtext box

Thanks for your Response. Though I didn't really want to save to HTML, your code may come in handy in the future. What I came up with? I needed to format barcodes into positions for label printing. No easy task if I can't save from the rich text control. So I used the Wordpad utility from microsoft, made a bare bones nothing in it document, saved it, and reloaded it into a text editor. I also viewed it from a Hex editor so if there were any unprintable codes I could see them as well. I figured o...

Wednesday, August 7th 2013, 2:23pm

Author: Perry

Library Catalog Application

I promised to make this available to you when I was finished with it... Well any programmer knows you are never truly finished with it, you just stop for a while. I'm at that point. click this link to download the Library Application and the source code I was working on. http://polywop.com/Lib/LibraryCatalog.zip A (by no means brief) explanation follows: I started this Library Catalog program with the intent to educate myself upon what works and what doesn't in Jabaco. Being a practical person I...

Tuesday, August 6th 2013, 7:58pm

Author: Perry

Shell

Thanks much. It works well in MS Windows and I understand from your thread it will work at least in Linux as well. I placed it in a Jabaco wrapper Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Public Sub ShellExec(FN As String) Dim p As java#lang#Process Dim input As java#io#InputStream Dim cdata As java#lang#Character Dim data As Integer p = Shell("cmd /c start " & FN) input = p.getInputStream data = input.read While data <> -1 cdata = Cast(data, java#lang#Character) data = input.read W...

Tuesday, August 6th 2013, 2:33pm

Author: Perry

Shell

Thanks for that response. A question then. I don't have access to a MAC. I assume that your implementation is for a MS OS Is it implemented on a Mac the same way? How about Linux and Unix OS? Anybody try this on other operating systems?

WoltLab Burning Board