1. KMatle

    B4J Code Snippet Print all files in a folder (*.pdf, etc.) on the standard printer via VBS (Windows)

    I use this small vbs script to print all documents (in my case pdf files) on the standard printer (works fine in a WIN 10 production system). Call it via jShell with the folder as a parameter where the docs are. Printing PDF's is very easy as you don't need to know the installed PDF viever and...
  2. D

    B4J Question [Solved] Shell.run blocking server

    Hi! I'm developing an api to interact with mssql. Now I'm trying to generate a PDF file with an external exe, to do so I call shell.run an powershell script and wait for it to close to write a response, but while the external exe is running the server not respond any other request. s.Initialize...
  3. KMatle

    Other jShell: MySQLDump.exe (does not work) vs. batch file (works)

    I'm trying to use jShell to run MySQLDump.exe to dump a database: DumpDB.Initialize("DumpDB","C:/xampp/mysql/bin/mysqldump.exe" , _ Array As String("-u root","-pxxxxx#","dbname","> ", "C:\xampp\htdocs\enctrans\Dumps\test.sql" )) It fails with: When I start a batch file via jShell...
  4. C

    B4J Question How to Send commands to a jShell opened Program

    I already Run the aplication.exe i wanted to run with jShell, know i want to rite some commands so that they are automatically done in the aplication I opend. Is there a way to do this? if so How? the Code to run the app is: Sub btnRun_MouseClicked (EventData As MouseEvent) Dim xfoil As...
  5. C

    B4J Question Run a .exe File with jShell

    I am trying to run a .exe application with a button. The app is located in the Object Folder of the B4J file. When I click the button the app doesn't start and it doesn't appear any error in the logs it just doesn't start. the code im using is below. Dim xfoil As Shell Dim params As...