You are not logged in.

Search results

Search results 261-280 of 325.

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 21st 2012, 6:41pm

Author: Dani

Http User Agent - conn.setRequestProperty() how to set globaly

@ my initial Post of this thread When I use a .bat file to start my.jar: Source code 1 2 3 4 5 @echo off start /B javaw -Dhttp.agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" -jar -Xms16m -Xmx512m my.jar @echo on I can successfully fetch that site from within my H2 database!! I am wondering why this does not work though: Source code 1 System.setProperty ("http.agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)") Is there some way to set that as a startup parameter within the ...

Saturday, February 11th 2012, 12:38pm

Author: Dani

Http User Agent - conn.setRequestProperty() how to set globaly

I will try compiling a Jabaco.jar next week. I don't have the time this weekend!! So I might get back to you if I get stuck at any point... Regarding the dialog matter: I am just wondering how come that when I creat a bordeless form1 / dialog1: Jabaco Source 1 .BorderStyle = vbBSNone the form / dialog does open as a startupscreen on top of my main form without the popup effect!!? It seems possible to get that behavior. So we have to find the piece of code in the framework where a .BorderStyle = ...

Saturday, February 11th 2012, 10:45am

Author: Dani

Http User Agent - conn.setRequestProperty() how to set globaly

Thanks theuserbl, I already asked in the H2 forum because I was hoping to be able to get a handle on the internal http connection H2 establishes! Unfortunately that is not possible. But there were some recommendations: Source code 1 2 3 4 You can try to set the default java useragent: http://docs.oracle.com/javase/1.4.2/docs/guide/net/properties.html (start with java -d*http.agent*="myAgent" ....) alternativly cou can provide a cstom URL sceme. I also quoted my source for a stream reader as Java...

Thursday, February 9th 2012, 5:01pm

Author: Dani

Http User Agent - conn.setRequestProperty() how to set globaly

Hey everybody, I am fetching data from a website via the H2 databaseengine and the FILE_READ('http://...') functionality in my SQL statement. The site returns a "403" HTTP error because a check is made to restrict access to "real" browser! Now the databaseengine establishes the connection to the website so I can not set the conn.setRequestProperty here! Is there a way to globally set that information when starting my Jabaco Program? This does NOT work: Source code 1 System.setProperty ("http.age...

Wednesday, January 11th 2012, 6:36pm

Author: Dani

Installationsproblem

Hallo Jacofatz, möglicherweise ist ja auch Java selbst nicht richtig auf deinem System installiert!? Oder es fehlt eine Bibliothek. Versuch doch mal Java zu deinstallieren und eine frische Version aufzuspielen! Viel Erfolg, Dani

Tuesday, January 10th 2012, 10:56pm

Author: Dani

Installationsproblem

... nur nochmal credit an theuserbl, der die letzten Updates des Frameworks zur Verfügung gestellt hat

Tuesday, January 10th 2012, 10:52pm

Author: Dani

Installationsproblem

Hallo Jacofatz, versuch doch mal das aktuelle framework zu verwenden: http://jbaindi.googlecode.com/files/Jabaco-rev87.jar In Deinem Jabaco Installationsordner einfügen und die Jabaco.jar in Jabaco.old und die Jabaco-rev87.jar in Jabaco.jar umbenennen. Hoffe das hilft Dani

Thursday, December 22nd 2011, 10:30am

Author: Dani

JBDialog - StartupLocation

Hey everybody, when initializing a Jabaco Dialog (Dialog1.BorderStyle = vbFixedSingle) Jabaco Source 1 2 3 4 Dim Dialog2 As New Dialog1 Dialog2.Parent.setSize(500,500) Dialog2.Parent.setLocationRelativeTo(Me) Dialog2.Show(1) On Windows it will popup right above its owner Form1 On the Mac it will poup in the upper left corner of the screen and jump to the desired location! Very disturbing behaviour! (Same with a Jabaco Form by the way!) Now when the same Dialog is borderless (Dialog1.BorderStyle ...

Saturday, December 17th 2011, 9:44am

Author: Dani

About PictureBoxes...?

OK, it is in the Framework! But obviously it does not work. I don't know why!? http://www.google.com/codesearch#search/&q=transparency%20package:[url]http://jabacoframework\.googlecode\.com&type=cs[/url]

Friday, December 16th 2011, 3:28pm

Author: Dani

About PictureBoxes...?

Hey there, ...I guess they have not been implemented yet! You could look for possible hints within the framework: http://code.google.com/p/jabacoframework…Framework%2Fsrc Maybe this post helps though: http://www.jabaco.org/board/p2701-transp…m.html#post2701 Dani

Saturday, December 10th 2011, 1:21am

Author: Dani

JBGrid - .Parent.print()

I found this post: http://www.coderanch.com/t/346937/GUI/ja…-without-border but I am not sure what to do with it!?

Saturday, December 10th 2011, 1:13am

Author: Dani

JBGrid - .Parent.print()

Hey there, I am using the JBGrid to print data from a database. Unfortunately there is a border in the printed version surounding the grid that I can not get rid of! I tried all sorts of things to make that border disappear: 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 Public Sub Form_Load() JBGrid1.HeaderHeight = 0 JBGrid1.HeaderVisible = False JBGrid1.Parent.setShowGrid(False) JBGrid1.BorderStyle= fmBorderStyleNone JBGrid1.BorderColor=vbWhite JBGrid...

Friday, December 9th 2011, 5:54pm

Author: Dani

Multi-line jbgrid header

Jabaco Source 1 2 JBGrid1.HeaderHeight = 60 JBGrid1.Header(1) = "<html>multiline header<br>JBGrid</html>"

Friday, December 2nd 2011, 10:01am

Author: Dani

MSGBOX

MsgBox with options Hey there, here is how to use some options: Jabaco Source 1 Debug.Print MsgBox("Question?", vbQuestion Or vbOKCancel Or vbDefaultButton2, "Titel") The 3rd option 'vbDefaultButton2' does not work! Does anyone know how to change the vbDefaultButton of the Msg or Input Box? Dani

Sunday, November 20th 2011, 9:42pm

Author: Dani

Command1/Text1 Enabled = False - not the expected behaviour

Quoted How solved VB6 this problem? I can mix the ForeColor with white or black or gray. Or set it per default to gray. And which gray color? #808080 ? it looks like grey is mixed with white in VB! index.php?page=Attachment&attachmentID=300

Sunday, November 20th 2011, 9:34pm

Author: Dani

Command1/Text1 Enabled = False - not the expected behaviour

What you are saying makes sense! All the controls that have a caption their ForeColor stays black when enabled = False. So I guess it is meant to be that way. It just did not look right to me. Kind of like I could push it but then I can't! Oh well... VB6 it is the way I described it. The color is &H80000010& on my system and I would probably call it ForeColorDisabled. But now I don't know if it really makes sense to add a property. You would have to do thid fr the other controls too. I was not a...

Sunday, November 20th 2011, 7:45pm

Author: Dani

Command1/Text1 Enabled = False - not the expected behaviour

Thanks a lot theuserbl, for constantly updating the framework I still did not give it a try myselfe the problem I am facing here: Quoted when setting Jabaco Source 1 Command1.Enabled = False the caption is not greyed out! It just does not look right at runtime. It is fine at designtime though. is not a malfunction. It is the looks! In my LAF environment the disabled Command Botton changes to the disabled look BUT it's caption stays black (the 'enabled = True' appearence)! Here is a picture of wh...

Thursday, November 17th 2011, 11:23am

Author: Dani

Command1/Text1 Enabled = False - not the expected behaviour

Hey everybody, when setting Jabaco Source 1 Command1.Enabled = False the caption is not greyed out! It just does not look right at runtime. It is fine at designtime though. Jabaco Source 1 Text1.enabled = False does not seem to change anything. It should be greyed out and locked! Dani

Tuesday, November 15th 2011, 11:01am

Author: Dani

Always on top

Hey there giucleand, it really depends on what you are trying to do! Try the following samples Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 Dim Dialog2 As New Dialog1 Public Sub Command1_Click() 'Dialog2.Parent.setAlwaysOnTop(True) Dialog2.Parent.setVisible(True) 'Dialog2.Parent.setModal(True) 'Dialog2.Show(1) End Sub Public Sub Command2_Click() Dialog2.Parent.toFront() End Sub Hope it helps, Dani

Monday, November 7th 2011, 8:57am

Author: Dani

open a link with default browser

Very nice JasonS! Now we have solutions for most cases...

WoltLab Burning Board