You are not logged in.

Search results

Search results 1-20 of 102.

Friday, May 10th 2013, 8:19am

Author: StefanSchnell

How to use SAP GUI Scripting with Jabaco via JaCoB

Hello community, here a small extension: You can use the functions from here to execute your SAP GUI Scripting files from the SAP GUI Scripting recorder. To create an SAP GUI Script file press Alt+F12 on your keyboard to open the options menu from the SAP GUI for Windows. Choose the menu entry Script Recording and Playback. Start the recording and do your activities. Then stop the recording and now you can use your SAP GUI Script file with the MSScript Control from Jabaco. Cheers Stefan

Friday, May 10th 2013, 8:02am

Author: StefanSchnell

JaCoB Again and How to Use VBScript inside Jabaco

Hello community, here is a small extension. With the function ReadScript exists the possibility to read a whole VBScript file and use it. If the argument FileName is empty, the function uses an open file dialog to chosse the file. Source code 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 38 39 40 41 42 43 44 45 46 47 48 49 50 '-Begin----------------------------------------------------------------- '-Constants--------------------------------...

Thursday, May 9th 2013, 10:10am

Author: StefanSchnell

How to use SAP GUI Scripting with Jabaco via JaCoB

Hello community, a longer time ago I presented here the possibility to use an SAP system via JCo (Java Connector). SAP offers a few interfaces to communicate with it. Another interface is the SAP GUI Scripting. With SAP GUI Scripting it is possible to emulate user interaction to an SAP system. Nearly all what you can do manually, you can do with SAP GUI Scripting automatically. Now I have the idea to combine the possibilities of the SAP Remote Function Call (RFC) library via JCo and the user int...

Tuesday, May 7th 2013, 7:17am

Author: StefanSchnell

JaCoB Again and How to Use VBScript inside Jabaco

Hello community, often we discuss about JaCoB (Java to COM Bridge). Jabaco is absolut cool. It can natively combine DLL and JAR functions and with JaCoB also COM functions. Is there any other programming language that offers a similar range of variants on the Windows platform? This combination works perfect from Windows XP to Windows 7, with all Java Version from 1.6.x to 1.7.x. I like it very much. So here is another example, how to call VBScript inside Jabaco: Source code 1 2 3 4 5 6 7 8 9 10 ...

Thursday, July 5th 2012, 8:26am

Author: StefanSchnell

Nor Err.Raise

Hello DR_GREEN, I take your code via clipboard in an new project and compile it. The only error I see: Do not use Err.Raise. Jabaco Error object do not support the method raise. Otherwise is the syntax check okay. Hope it helps. Cheers Stefan

Thursday, July 5th 2012, 8:15am

Author: StefanSchnell

Use JaCoB

Hello LeosDad, mhm, I am a little bit late, but I hope I am not to late. You can use JaCoB (Java COM Bridge) to use ActiveX libaries inside Java and also inside Jabaco. You find JaCoB here. Good luck and let us know your results. Cheers Stefan

Thursday, July 5th 2012, 7:57am

Author: StefanSchnell

Jabaco source with JCo on Linux

Hello community, it is long time ago after my last post on this thread - but it losts nothing of its relevance. The source codes works with the actual version of JCo and Java 7 perfect. You can very easy create executable Java archive files (JAR) with Jabaco. So it is possible to run it in a Linux environment. Linux is one of the most used platforms in business and professional environment. So you can create server applications for SAP environments -Jabaco offer an excellent basis for it. Here i...

Thursday, February 10th 2011, 12:38pm

Author: StefanSchnell

How to create PDF-Documents with Jabaco and iText

Hello community, here is a small new example. It works with iText 5.0.6. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 '-Variables----------------------------------------------------------- Dim Doc As com#itextpdf#text#Document Dim Par As com#itextpdf#text#Paragraph Dim Out As java#io#FileOutputStream '-Create Document----------------------------------------------------- Set Doc = New Document(com#itextpdf#text#PageSize.A4, 50, 50, 50, 50) Set Out = New FileOutputStream("C:\Dummy\JabacoPD...

Wednesday, January 26th 2011, 5:53am

Author: StefanSchnell

Actual situation

Hello community, the iText library has a new location, you find it now here:www.itextpdf.com. The online documentation is not more available, the URL www.1t3xt.com is redirected to www.itextpdf.com. Look at the examples here. My example above works only with version <= 2.1.7 and not with the actual version 5.x. Cheers Stefan

Thursday, March 25th 2010, 12:38pm

Author: StefanSchnell

How to use pointer with Jabaco

Hello OlimilO, I change the class name in P4J. I hope now we have no stress with a potential collision with VarPtr. At the next step I will implement your code to use VarPtr and StrPtr in Jabaco code. You find the library here. Cheers Stefan

Sunday, March 7th 2010, 5:29pm

Author: StefanSchnell

How to use pointer with Jabaco

Hello OlimilO, thanks for your suggestions. Sorry for my late answer, but I am a little bit in stress now. It is a good idea. I am looking forward to realize your idea, but before I will talk to Manuel about a technical solution and if it is okay for him, or have you already inform him? If you want we can realize it together. What do you think? Cheers Stefan

Wednesday, February 3rd 2010, 12:28pm

Author: StefanSchnell

Create Windows control on Jabaco form

Hi A1880, thanks for your hints, but unfortunately it solve not the problem. I check with DestroyWindow and PostQuitMessage but without any new result. So I look at VisualVM and see, after press the close button, a new thread which work and work and work... Have a look at the first part of the thread dump: 2010-02-02 23:03:38Full thread dump Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing): "Thread-1" daemon prio=6 tid=0x03009400 nid=0x418 runnable [0x034cf000] java.lang.Thread.State: R...

Tuesday, February 2nd 2010, 12:24pm

Author: StefanSchnell

Out of stack space (Run-tine 28)

Hallo Hardo, im Java-Magazin 3.2010 steht auf der Seite 8 dass das Java 6 Update 18 verfügbar sei und dass nun auch Windows 7 unterstützt wird. Vielleicht liegt Dein Problem einfach nur an der bisherigen (mangelnden) Unterstützung Deines Betriebssystem. Die Release-Note findest Du hier. Cheers Stefan

Monday, February 1st 2010, 12:28pm

Author: StefanSchnell

Create Windows control on Jabaco form

Hello community, I have a question about creating a Windows control on Jabaco form. Look at the following example: 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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 '-Begin----------------------------------------------------------------- '-External functions-------------------------------------------------- Private WinAPI Function FindWindow Lib "user32.dll" _ Alias "FindWindowW" ...

Saturday, January 30th 2010, 7:18am

Author: StefanSchnell

Out of stack space (Run-tine 28)

Hallo Hardo, ich verwende die Version 7.12.126.14142 von db4o und referenziere auf das Paket db4o-7.12.126.14142-core-java5.jar. Hoffe dass Dir das schon hilft. Cheers Stefan

Friday, January 29th 2010, 12:09pm

Author: StefanSchnell

WinAPI calls in Jabaco programs for a different OS

Hello community, a small hint for all who develop applications for different OS: In Jabaco it is possible and very easy to use the WinAPI. If you use it, you can not run your application, e.g. with Linux OS, this means you can not call a WinAPI function, so you get an exception error. If you want to develop those applications, you can use a global variable to wrap WinAPI calls. Define the variable in the main procedure: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Public Form1 As New Form1 ...

Wednesday, January 27th 2010, 10:54am

Author: StefanSchnell

Out of stack space (Run-tine 28)

Hallo hardo, willkommenn bei Jabaco. db4o ist eine sehr interessante Datenbank. Ich habe mal folgenden Test vorgenommen, der zwar nicht so umfangreich ist wie Deiner, aber einwandfrei mehrfach funktionierte: 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 '-Begin Class Pilot----------------------------------------------------- Private mName As String Private mPoints As Integer Public Sub Pilot(Name As String, Points As Integer) mName = Name mPoints = Points ...

Wednesday, January 20th 2010, 10:53am

Author: StefanSchnell

Jabaco in der database pro

Hallo Community, in der neusten Ausgabe der database pro Jan/Feb Nr. 1/10 ist auf Seite 6 eine zwei-spaltige Vorstellung von Jabaco, mit dem Titel: Ein Visual Basic für die Java-Plattform - Jabaco 1.5.2 Beta: Mehr Sprachenvielfalt für Java. Klasse Cheers Stefan

Sunday, January 10th 2010, 8:46am

Author: StefanSchnell

New advanced version of VarPtr available

Hello community, you can download a new advanced version of VarPtr here or from the attachment. It is now a pure Java library and no communication via clipboard is necessary. This is a version for 32-bit Windows. Cheers Stefan

Friday, January 1st 2010, 7:02pm

Author: StefanSchnell

Graphics/Images/Pictures format

Hello HardDrive, thanks for your hint to the graphic library - cool. Here a small snippet to use the library with Jabaco: Jabaco Source 1 2 3 4 5 6 7 8 9 10 Dim img As Image Dim canvas As JimiCanvas Set img = com#sun#jimi#core#Jimi.getImage("c:\\dummy\\audi.bmp") Set canvas = New JimiCanvas(img) canvas.setBounds(0, 0, Picture1.Width, Picture1.Height) Picture1.add(canvas) Picture1.Refresh Cheers Stefan

WoltLab Burning Board