Our Blog, Filemaker only, Xojo only, Archive (older), Follow us on Twitter, Xing, LinkedIn or Facebook.


Dash help archives for Xojo and FileMaker

Monday 20 February 2017 at 09:15 am
For browsing help files, the Dash application is very useful on Mac and iOS.

Here you can click to launch Dash and install our plugin help:
MBS Xojo Plugin and MBS FileMaker Plugin

You can download the archives manually on our website:
FileMaker and Xojo (Real Studio).

You can also add Xojo documentation itself to your dash set, see download in preferences dialog.
For FileMaker you find the docsets for v15 here: FileMaker Dash Docsets

Feedback is welcome.

Worldwide first curl conference in Germany, March 2017

Wednesday 15 February 2017 at 10:41 am
On the weekend of March 18-19, 2017, the first ever curl conference is taking place is Nuremberg, Germany.

Users, developers, binding authors, application authors, curl maintainers, libcurl hackers and other people with a curl interest are welcome!

I will be there and finally meet the curl people. I've been using curl for various projects including Xojo and FileMaker plugins for over 10 years.
Do you also come?

MBS Xojo Plugins, version 17.1pr2

Friday 10 February 2017 at 4:57 pm
New in this prerelease of the 17.1 plugins: Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Macwelt TV Folgen rund um Xojo

Friday 10 February 2017 at 10:24 am
Vor fast zehn Jahren habe ich für die Macwelt ein paar Videos gemacht für Macwelt TV zu REALbasic:



Die Anleitungen funktionieren wunderbar mit dem aktuellen Xojo. Natürlich sieht Xojo etwas anders aus als REALbasic früher:
  • Alle Events müssen Sie selber hinzufügen.
  • Das StaticText Steuerelement heißt jetzt Label.
  • Alle Konstruktoren heißen Constructor und nicht mehr wie die Klasse.
Aber die Spiele kann man beide noch wunderbar nach programmieren und etwas Spaß mit dem Ergebnis haben!

Alle Videos finden Sie auf YouTube. Ein paar Kopieren liegen auch hier zum Download.

MDI Window Background in Xojo

Wednesday 08 February 2017 at 3:10 pm
Recently we had the question whether we can draw into a MDI parent window.
The answer for all your Xojo or Real Studio projects is yes:
MDI Window with background color

We can catch the paint event with our WinNotificationMBS and draw something nice there.
For example a fixed color or any picture you like.

This will come with next prerelease or if you like to try today, just email me.

Tip of the day: AES 256 CBC on iOS for Xojo

Tuesday 07 February 2017 at 10:36 pm
Today I made an example for a client to show how to do AES 256bit CBC encryption on iOS using CommonCrypto library and the MBS Xojo Encryption Kit.

Our Encryption Kit wraps the CommonCrypto framework from Apple which is available for iOS (2.0 or newer) and macOS (10.4 or newer). It also wraps zlib library to compress and decompress data.

The compression and encryption functions are than used in a database connector. That's a proxy to connect to a database on a server and serialize the requests and record sets to send them through the network.

So here is some sample code for AES 256 CBC:

dim MyVal as text = "If you can read this text then process of encryption and decryption is working well." dim mbMyVal as xojo.Core.MemoryBlock = xojo.core.TextEncoding.utf8.ConvertTextToData(MyVal) dim MyPwd as text = "Passphrase goes here" dim mbMyPwd as xojo.Core.MemoryBlock = CommonCryptoMB.Hash(CommonCryptoMB.Hashes.SHA256,MyPwd) System.DebugLog "Test value and passphrase created." dim iv as xojo.Core.MemoryBlock dim cryptor as new CommonCryptorMB(CommonCryptoMB.CryptoOperation.Encrypt, CommonCryptoMB.CryptoMode.kCCModeCBC, _ CommonCryptoMB.CryptoAlgorithm.AES, CommonCryptoMB.CryptoPadding.PKCS7, mbMyPwd, iv) dim enData1 as xojo.Core.MemoryBlock = Cryptor.Update(mbMyVal) dim enData2 as xojo.Core.MemoryBlock = cryptor.Final1 dim enData as new xojo.Core.MutableMemoryBlock(enData1) enData.Append enData2 System.DebugLog "Encrypted data value created." System.DebugLog "Encrypted data: '" + CommonCryptoMB.EncodeHex(enData) + "'" dim decryptor as new CommonCryptorMB(CommonCryptoMB.CryptoOperation.Decrypt, CommonCryptoMB.CryptoMode.kCCModeCBC, _ CommonCryptoMB.CryptoAlgorithm.AES, CommonCryptoMB.CryptoPadding.PKCS7, mbMyPwd, iv) dim result1 as xojo.Core.MemoryBlock = Cryptor.Update(enData) dim result2 as xojo.Core.MemoryBlock = cryptor.Final1 dim result as new xojo.Core.MutableMemoryBlock(result1) result.Append result2 System.DebugLog "Result: '" + xojo.core.TextEncoding.UTF8.ConvertDataToText(result) + "'"

The same code works fine on macOS. For cross platform encryption for Mac, Windows and Linux, I would recommend our CipherMBS class.

MBS Xojo / Real Studio Plugins, version 17.1pr1

Sunday 05 February 2017 at 12:29 am
New in this prerelease of the 17.1 plugins:
  • Updated DynaPDF to version 4.0.8.20.
  • Added NSTableDataSourceMBS sortDescriptorsDidChange event.
  • Added orderOut and orderFront to NSMediaLibraryBrowserControllerMBS class.
  • Added LibraryLoaded property to DB2MBS, InformixMBS, MySQLMBS, PostgreSQLAPIMBS and SQLite3MBS.
  • Fixed InternalPostgreSQLLibraryMBS, so it works again on Linux.
  • Added CFObjectMBS.EncodedData.
  • Fixed issue with overwritten memory in Picture.SteganographyMBS function.
  • Added JPEGExporterMBS.ExportGray with memoryblock for pixel data.
  • Added workaround to CoreLocation plugin to avoid bugs in 32-bit Apple frameworks.
  • Fixed an issue with private API for Mac App Store in NSEPSImageMBS.
  • Removed RegisterCustomQTDataHandlerMBS and OpenMovieWithCustomDataHandlerMBS.
  • Removed AppleTalk properties for SystemConfigurationMBS as they are no longer available in macOS 10.12.
  • Added options to TiffPictureMBS.Scanlines to read only every nth scanline.
  • Added WindowsProcessMBS class, a shell class replacement for Windows.
  • Added CGImageMBS.PictureScaled to get picture scaled down faster.
  • Added support for CEF3 beside CEF1.
  • Fixed NetworkInterfaceMBS.MAC to no longer have a LF character on the end.
  • Fixed HIDAPIMBS to better find libudev.
  • Added AppendTableRow and DuplicateTableRow to WordFileMBS class.
  • Removed CUPSMBS.GetPPD function.
  • Fixed an issue with internal message window for Windows.
  • Changed plugin to show less registration warning dialogs in trial mode.
  • Fixed issue with LDAPMBS.Bind not working correctly on Windows for all auth methods.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Running command lines tools on Windows

Friday 03 February 2017 at 5:30 pm
The last days, I spend some time on a class for Windows to run a process with access to the stdin/stdout/stderr channels. I know the Xojo Shell class can do that, but I wanted a bit more Windows specific commands here.
So we got a new WindowsProcessMBS class to run a process on Windows. You can run GUI or command line applications and specify a couple of options. The plugin will automatically connect stdin, stdout and stderror handles, so the plugin can read the output of the tool and pass data for input. The class can be used synchronously or with events, whatever you prefer. Here an example:
// run command dim w as new WindowsProcessMBS w.CommandLine = "cmd /c dir" w.CurrentDirectory = "C:" if not w.run then MsgBox w.LastErrorMessage Return end if // wait while w.Running app.YieldToNextThread wend // show result dim a as integer = w.AvailableBytesOutput dim r as string = w.ReadOutput(a) MsgBox r
We already got features to specify command line and environment variables. You can read or just peek in the output of the launched application. We can even terminate it or just wait for it to quit. This class will be available in 17.1pr1 plugins soon. If you want to test on the weekend, send me an email.

Last week for early bird tickets for MBS Xojo Conference

Monday 30 January 2017 at 2:29 pm
Last week to get early bird tickets for the conference. If you like to come, please check soon and make your reservations. On Saturday, the early bird price expires as well as our hotel room contingent.

Monkeybread Software is pleased to announce the MBS Xojo Conference in metropolitan Berlin, Germany. We will meet in the lovely Ellington hotel in the center of west Berlin. The hotel is near Kurfürstendamm, the Zoo and KaDeWe. Beside our two conference days, we will have an accompanying social program with our dinner event and optional two training days. For the evenings we will have a casual get-together in the hotel bar or beer garden.

We are happy to have Xojo engineers join our conference. Geoff Perlman, CEO of Xojo Inc. and other engineers will join us and present news about Xojo. Bob and Carol Keeney will share knowledge about reporting and databases, Yousaf Shah will show Raspberry Pi uses and talk about running a business. Jens Boschulte, our PDF specialist and creator of the DynaPDF library will be available for questions. And of course we have a few other well known Xojo developers coming.

The schedule:

May 3rd: Xojo Training in English
May 4th: Conference, first day with dinner event
May 5th: Conference, second day
May 6th: Xojo Training in German

See website for details: monkeybreadsoftware.de/conference

Meine Bundestagspetitionen

Thursday 26 January 2017 at 8:13 pm
Da ich für meine Firma viel Papierkram machen muss, hab ich letztes Jahr zwei Petitionen beim Bundestag eingereicht um die Arbeit etwas einfacher zu machen:


Petition 68061: Umsatzsteuer - Erhöhung der Grenze für Kleinstrechnungen in der UStDV

Petition 68062: Einkommensteuer - Grenzen für geringwertige Wirtschaftsgüter anpassen

Die erste zielt auf die Anforderungen an die Rechnungen. Ist schon oft passiert, dass wir Quittungen hatten über 150 Euro. Wenn man die Vorsteuer ziehen will, dann braucht man eine Rechnung mit der Anschrift vom Leistungsempfänger. Allerdings fehlt der oft und dann ist die Rennerei lästig. Wäre schön, wenn die Grenzen mal angepasst werden, so dass wir weniger oft bei Firmen nach einer ordentlichen Rechnung fragen müssen.

Beim zweiten geht es um die Abschreibungen. Die GWG Grenze liegt seit 60 Jahren bei 800 Mark, heute 400 Euro. Ich würde es begrüßen, wenn die Grenze mal angehoben wird um man direkt Sachen bis 800 oder 1000 Euro abschreiben kann ohne lange sich um die Abschreibung zu kümmern. Es gibt zwar die Möglichkeit GWGs als Paket über Jahre abzuschreiben, aber das ist ja auch Aufwand für die Buchhaltung.

Vielleicht habt ihr 5 Minuten um das mit zu zeichnen?
Gibt auch noch andere gute Petitionen auf epetitionen.bundestag.de.

Xojo Inc. is welcoming more pre-release testers

Tuesday 24 January 2017 at 10:56 pm
Xojo Inc. posted on the forum that they look for new beta testers:

This year, we are looking to expand our pool of testers for pre-release versions of Xojo. Over time we have been contacted by users- who do not have a Xojo Pro or Enterprise license- asking if there was a way for them to help test. Since more testing can benefit both the tester- and all of us as a community- we are expanding our testing group.

It should be noted that a Xojo Pro or Enterprise license today grants access to pre-release versions that we put up for testing, regardless of any criteria here. We are just allowing more opportunity for those without that license benefit to apply to join the testing group.

If you'd like to join, here's our basic criteria:

  • Be on the forum. If you're reading this- you've already met this one!
  • You have a current Xojo license.
  • You have filed a Feedback case. If you haven't filed a Feedback case before, but want to apply- go ahead and do so now. You can read about Feedback here: developer.xojo.com/using-feedback

  • If you meet these criteria and want to join the testing group, please email us at support@xojo.com and let us know. Acceptance is at Xojo's discretion, and we won't necessarily be able to let everyone in immediately. But we'd love to hear from anyone who uses Xojo regularly and wants to help make it better for all of us in the community.

I hope they find a few new beta testers which try a few more edge cases!

PS: If you want to know what may need beta testing, check the XDC 2016 Recap with the roadmap.

MBS FileMaker Plugin 7.0 - More than 4400 Functions In One Plugin

Monday 23 January 2017 at 11:20 am
Nickenich, Germany - (January 23rd, 2017) -- MonkeyBread Software today is pleased to announce MBS FileMaker Plugin 7.0 for Mac OS X, Linux and Windows, the latest update to their product that is easily the most powerful plugin currently available for FileMaker Pro. As the leading database management solution for Windows, Mac, and the web, the FileMaker Pro Integrated Development Environment supports a plugin architecture that can easily extend the feature set of the application. MBS FileMaker Plugin 7.0 has been updated and now includes over 4400 different functions, and the versatile plugin has gained more new functions:

New functions help you read details from X509 certificate files. You can read PKCS12 files and extract public and private keys as well as additional certificates. You can than write keys or certificates as PEM files and use them with our CURL functions.

Our new XML functions help you find nodes and attributes in XML text. You can extract text and subtrees. To process XML efficiently you can let the plugin read XML and put values in local variables in your script.

For CURL we added new functions to batch download files via FTP. Of course you can still query yourself the list of files via plugin in a directory and than download several files one after each other. But now we have options to do this all in one transfer and with the use of wildcards to specify which files to fetch.

Using the new function FM.AllowFileDragDrop you can allow users to drag and drop container with files from FileMaker to other applications, e.g. the Finder. And if needed you can switch this on/off on layout changes.

For DynaPDF we added new functions to query or set raw content of a page. You can rotate page templates and add page links or watermark annotations to your PDF pages.

As FileMaker on Mac is now 64-bit in most cases, we include an Apple Script to create 32 or 64-bit only plugin. The MBS Plugin in our plugin download is for both and you can split it to get a smaller plugin file if needed.

The functions to work on Word files have been improved. They should now be able to replace tags with multi line texts. And if you have a table in your template, we can now remove rows there, too.

When you run SQL queries in FileMaker using our FM.SQL.Execute functions, you can later query result as text. Or we provide the results properly encoded for CSV export.

We improved PrintDialog, PortMidi, LDAP, Audit, ImageCapture, SerialPort line reading, SmartCard, SQL functions and more. DynaPDF is updated to 4.0.8.19, LibXL to version 3.7.2 and SQLite to 3.16.2.

See release notes for a complete list of changes.

MonkeyBread Software Releases the MBS Xojo plug-ins in version 17.0

Monday 23 January 2017 at 11:02 am
NICKENICH, Germany (January 23rd, 2017) -- Monkeybread Software releases version 17.0 of the MBS plug-in for Xojo and Real Studio.

The MBS plug-in comprises a collection of several plug-in parts which extend the Xojo (Real Studio) development environment with 2,400 classes featuring over 61,000 documented functions. Our plugins support all three platforms Mac OS X, Windows and Linux with all project types desktop, web and console including 64-bit and ARM targets.

Some of the highlights on the 17.0 update:

Sometimes you need to provide certificates and SSL keys to CURL plugin for secure transfers. To make it easier to query details from those certificates, we added a X509MBS class. The PKeyMBS class helps working with private or public keys, which you can read using our new PKCS12MBS class.

For better encryption you can now use our TwoFishMBS class. TwoFish is derived from the older Blowfish encrypter and was one of the AES finalists. Rijndael was choose for AES, but Twofish may be a good alternative in some cases.

For macOS we added the LAContextMBS class to query local authentication. This includes using TouchID on the latest Macbook Pro. Please note that this feature is only available for 64-bit applications.

Our DynaPDF plugin now supports loading newer DynaPDF libraries and use them instead of the built-in library. For page templates we added a convenience function to rotate them. The DynaPDFEditTextMBS class provides now more details on the text to replace so you can use it to find texts on PDF pages and highlight them. As we fixed a few things for printing with DynaPDF, please update your code to match our examples to keep it working well.

The WordFileMBS class to work on Word files have been improved. It should now be able to replace tags with multi line texts. And if you have a table in your template, we can now remove rows there, too.

Our WKWebViewControlMBS control to use WebKit 2 on Mac in 64-bit applications now supports more events. You can use that control instead of a HTMLViewer control. In 32-bit applications, you get WebKit 1.0 while in 64-bit applications you get WebKit 2.0. We try to keep functionality equal for both implementations.

We improved PHP class, PortMidiStreamMBS, CGImageSourceMBS, JSONMBS classes and more. We added MeasureRotatedTextMBS to measure size of text for drawing with DrawRotatedTextMBS.

Finally we updated DynaPDF to version 4.0.8.19, LibXL to version 3.7.2 and SQLite to 3.16.2.

See release notes for a complete list of changes.

Dash help archives updated

Sunday 22 January 2017 at 11:28 pm
Just updated the archives for the Dash application. Does the auto update work for you?

So here you can click to launch Dash and install our plugin help:
MBS Xojo Plugins and MBS FileMaker Plugin



You find the docset links also on our reference websites where you can download archive manually if needed:
MBS FileMaker Plugin Documentation for Dash and MBS Xojo Plugins Documentation for Dash

Feedback is welcome.

MBS Xojo / Real Studio Plugins, version 17.0pr4

Friday 20 January 2017 at 12:24 am
New in this prerelease of the 17.0 plugins:
  • Updated DynaPDF to version 4.0.8.19.
  • Added checks to Nikon module to avoid reentry and raise exceptions if you try to.
  • Added SetGestureConfig/GetGestureConfig methods in WinPointerEventsMBS to use controls as target.
  • Fixed bug with DynaPDFTableMBS.GetNextHeight function.
  • Added WinSelSubScriptMBS and WinSelSuperScriptMBS to TextArea control.
  • Fixed PageBreak event in DynaPDFMBS to work with addhandler.
  • Fixed DOMHTMLDocumentMBS.body function.
  • Changed DrawRotatedTextMBS to use symbol charset for Wingdings font on Windows.
  • Added PortMidiStreamMBS.currentTimeStamp.
  • Added NSExceptionHandlerMBS.Disable and Enable.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

curl meeting in Germany, March 2017

Tuesday 17 January 2017 at 8:26 pm
On the weekend of March 18-19, 2017, the first ever curl meeting is taking place is Nuremberg, Germany.

Users, developers, binding authors, application authors, curl maintainers, libcurl hackers and other people with a curl interest are welcome!

I will try to be there and finally meet the curl people. I've been using curl for various projects including Xojo and FileMaker plugins for over 10 years.

SuperScript and SubScript for Xojo Textarea

Tuesday 17 January 2017 at 8:06 pm
just added to MBS Xojo Plugins:



Our new example project shows how to use the new functions WinSelSubScriptMBS and WinSelSuperScriptMBS on the TextArea control. The example includes a module to do the same for Mac via NSTextViewMBS class.
Screenshots from Mac OS X 10.10, Windows 7 and Windows 10. If you like to try it, let me know.

MBS Xojo / Real Studio Plugins, version 17.0pr3

Friday 13 January 2017 at 6:18 pm
New in this prerelease of the 17.0 plugins:
  • Fixed an issue with DynaPDF printing blank papers.
  • Changed SQL plugin to detect ODBC to FileMaker and handle that better for reading text fields and avoid a crash.
  • Added MeasureRotatedTextMBS function.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Free tickets for young developers for MBS Xojo Conference

Tuesday 10 January 2017 at 8:34 pm
Monkeybread Software is pleased to announce the MBS Xojo Conference in metropolitan Berlin, Germany. We will meet in the lovely Ellington hotel in the center of west Berlin. The hotel is near Kurfürstendamm, the Zoo and KaDeWe. Beside our two conference days, we will have an accompanying social program with our dinner event and optional two training days. For the evenings we will have a casual get-together in the hotel bar or beer garden.

Monkeybread Software would like to offer young developers the possibility to meet the Xojo community, get in touch with other developers and maybe find first clients or an employer.

For the 2017 conference MBS decided to help your developers: Three conference tickets are provided free of charge to three young developers so they have the chance to join our conference. Please apply until 4th February 2017 to get one of the tickets.

The Xojo community is growing and we want to get more young people to join the conference. Especially younger people may hesitate to join a conference due to cost and by giving away free tickets, we encourage them to come. If you know a friend, student or pupil who is interested in Xojo, please tell them about this offer. Or maybe your own child may apply and join you coming to the conference?

Requirements:
  • You speak english and you can follow the conference.
  • You are 25 years old or younger.
  • You have done your first Xojo projects and know Xojo a little bit.
  • You are sure you can cover your cost of travel, food and hotel room.
  • You have the required passport or Visa to travel to Berlin on yourself.
If needed, we may provide help to find low cost traveling or hotel room.

If you like to apply, please get in touch.

Xojo job offer in southern France

Monday 09 January 2017 at 5:48 pm
MedinCell S.A. is a company located in Montpellier in southern France near the Mediterranean Sea.
They use my plugins for a few years now and are looking for another Xojo developer: (more)

Older blog entries:

2017-01-09 MBS Xojo / Real Studio Plugins, version 17.0pr2
2017-01-08 Loading LibXL and DynaPDF libraries in our Xojo plugins
2017-01-07 FileMaker Conference .fmp[x]Berlin 2017
2017-01-06 Save the Date for XDC 2018 in Denver
2017-01-05 Early bird offer ending for MBS Xojo Conference
2017-01-04 MarkDown via HTMLViewer for Xojo and FileMaker
2017-01-04 SQLite Release 3.16.1
2017-01-03 xDev Magazine Issue 15.1
2017-01-02 MBS Xojo / Real Studio Plugins, version 17.0pr1
2016-12-30 Arbed 1.8.6 updated for Xojo 2016r4
2016-12-28 BKS Shorts 1.8.0
2016-12-26 Xojo Developer Conference 2018
2016-12-25 Merry Christmas
2016-12-21 Finally Apple allows iPhone to stay silent in pockets
2016-12-19 Windows Error Codes
2016-12-14 Install Xojo 2016 Release 4.1 please
2016-12-13 Three weeks till year's end
2016-12-12 MBS Xojo / Real Studio plug-ins in version 16.5
2016-12-11 MBSXojoRef Update
2016-12-10 Reminder: Update policy

Archives

Feb 2017
Jan 2017
Dec 2016
Nov 2016
Oct 2016
Sep 2016
Aug 2016
Jul 2016
Jun 2016
May 2016
Apr 2016
Mar 2016
Feb 2016
Jan 2016
Dec 2015
Nov 2015
Oct 2015
Sep 2015
Aug 2015
Jul 2015
Jun 2015
May 2015
Apr 2015
Mar 2015
Feb 2015
Jan 2015
Dec 2014
Nov 2014
Oct 2014
Sep 2014
Aug 2014
Jul 2014
Jun 2014
May 2014
Apr 2014
Mar 2014
Feb 2014
Jan 2014
Dec 2013
Nov 2013
Oct 2013
Sep 2013
Aug 2013
Jul 2013
Jun 2013
May 2013
Apr 2013
Mar 2013
Feb 2013
Jan 2013
Dec 2012
Nov 2012
Oct 2012
Sep 2012
Aug 2012
Jul 2012
Jun 2012
May 2012
Apr 2012
Mar 2012
Feb 2012
Jan 2012
Dec 2011
Nov 2011
Oct 2011
Sep 2011
Aug 2011
Jul 2011
Jun 2011
May 2011
Apr 2011
Mar 2011
Feb 2011
Jan 2011
Dec 2010
Nov 2010
Oct 2010
Sep 2010
Aug 2010
Jul 2010
Jun 2010
May 2010
Apr 2010
Mar 2010
Feb 2010
Jan 2010
Dec 2009
Nov 2009
Oct 2009
Sep 2009
Aug 2009
Jul 2009
Apr 2009
Mar 2009
Feb 2009
Dec 2008
Nov 2008
Oct 2008
Aug 2008
May 2008
Apr 2008
Mar 2008
Feb 2008
XML: RSS Feed XML: Atom Feed