You are not logged in.

Search results

Search results 1-20 of 21.

Saturday, January 16th 2010, 5:36pm

Author: Riaan Pretorius

EXEs don't work...

Hi, Do you have java installed? R

Saturday, January 16th 2010, 2:03pm

Author: Riaan Pretorius

IDE Interface

index.php?page=Attachment&attachmentID=166Hi, Not sure if this is a bug or intentional by design. The Jabaco IDE's Search and Replace Dialog: The FIND button looks different?

Friday, January 15th 2010, 9:43pm

Author: Riaan Pretorius

JABACO Error/Exception Management

oh and PLEASE criticise, flame, comment and suggest! Always nice to know what other think

Friday, January 15th 2010, 9:40pm

Author: Riaan Pretorius

JABACO Error/Exception Management

Persistence pays off.... This is what I will be using for the time being until there is a better method or new stuff gets added to Jabaco. 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 Public Function JabacoErrorManager (MyError As String, MyAction As String, FullErrorMessage As String) 'Dim variables to use Dim AddEnter As String 'Print To Console for Debug Debug().Print(MyError) 'Line Feed AddEnter = Chr(10) 'This is how we will handle the error Select Case...

Friday, January 15th 2010, 8:38am

Author: Riaan Pretorius

JABACO Error/Exception Management

Previous Post .... For example I forgot to start my MySQL and this error: ... These things happen every know and then. That is how I discovered that Java has the weirdest error handling. In the most perfect conditions your application will always work with no problems. You SQL server will always be online, your printer will never run out of paper, and your network will never fail.... (sarcasm) LOL I am thinking of using the err.string and using the message to build up a error lib? This is pretty...

Thursday, January 14th 2010, 8:46pm

Author: Riaan Pretorius

JABACO Error/Exception Management

I had a look at the source and found this; vbError = 10 public VBVariant(Exception e) { setVal(e); } //iTyp = 10 so there is my error code. Very generic, not going to be easy to build error management routines. For example I forgot to start my MySQL and this error: Unable to connect to any hosts due to exception: java.net.SocketException: java.net.ConnectException: Connection refused: connect ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection ref...

Thursday, January 14th 2010, 7:33pm

Author: Riaan Pretorius

JABACO Error/Exception Management

thx A1880! I googled the planet last night. I also tried the catch { } thing. Now at least I know! thank you for the reply. Riaan

Wednesday, January 13th 2010, 9:03pm

Author: Riaan Pretorius

JABACO Error/Exception Management

Hi Community, Does any one know how to manage error manage in Jabaco or woring with exceotion errors? The idea is to catch the error/exception and take action on it e.g database server not started causes a erro like this: java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.SocketException: java.net.ConnectException: Connection refused: connect how would you be able to use this in code? If I use vbError i get a code of 10? What does 10 mean is it a exception error or ...

Monday, January 11th 2010, 7:55pm

Author: Riaan Pretorius

Jabaco/java MySQL Data Manipulation

I found this code on the forums... WORKS GREAT! for searches.. Looking for EDIT and DELETE examples? Unless you can only do that using SQL commands? Dim Con As java#sql#Connection Dim Order As java#sql#Statement Dim Data As ResultSet 'Load the JDBC-ODBC driver Class.forName "com.mysql.jdbc.Driver" 'Create connection to the database test Set Con = java#sql#DriverManager.getConnection("jdbc:mysql://localhost:3306/mydatabase", "mydbuser", "") 'Create a statement and send the command to the database...

Monday, January 4th 2010, 12:05am

Author: Riaan Pretorius

Jabaco User Control

Hi, I figured out what I wanted to do. In this example I am using a LABEL as a "user control". The custom property name is RiaanLabelCaption and the text for it is TESTING! Sample Attached. I hope this can help someone! index.php?page=Attachment&attachmentID=163

Sunday, January 3rd 2010, 11:11pm

Author: Riaan Pretorius

Jabaco User Control

But.. I need something like this? is it possible? Public Enum UCBorderStyles UCBorderNone = 0 UCBorderFlat = 1 UCBorderThin = 2 UCBorderFrame = 3 UCBorderThick = 4 End Enum

Sunday, January 3rd 2010, 10:47pm

Author: Riaan Pretorius

Jabaco User Control

Damn dude... that is a intense sample and description! Thank you very much i will experiment and if i make something usable will post it here for other to use

Sunday, January 3rd 2010, 7:17pm

Author: riaanp

Jabaco User Control

Hi Community , Does anyone know how to give a "properties" option to a user control, to clarify if you add command button it has properties you can set like widht, height etc. And also mabe assigning a icon to it? (not needed but would be great)

Monday, December 28th 2009, 11:41pm

Author: riaanp

Jabaco CommandButton

Adding the buttons as resources did the trick! Once again much thx!

Monday, December 28th 2009, 11:28pm

Author: riaanp

Jabaco CommandButton

I clicked on the button and then used the IDE property to set it. Should I rather do it manually?

Monday, December 28th 2009, 11:19pm

Author: riaanp

Jabaco CommandButton

Has anyone else noticed that picture and rollover picture does not seem to work that well? Or do i have it wrong in how you use the button control e.g picture is the normal look and rolloverpicture is when you click or hover mouse?

Monday, December 28th 2009, 11:16pm

Author: riaanp

Jabaco JBGRID

Great code! That actual answered my next question! LOL How to focus on a specific line

Monday, December 28th 2009, 11:13pm

Author: riaanp

Jabaco JBGRID

Nope that was a perfect example. Same problem still. I will continue to experiment. I know the WINAPI have a function like this but i would like to stay away from WINAPI's as much as possible. And I have found a JAVA class thingy that will do the job. Just need to add it in somehow Thx for the suggestion though!

WoltLab Burning Board