MBS Xojo Plugins, version 17.4pr4

New in this prerelease of the 17.4 plugins: Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Xojo Consulting in German

This is an updated list of our German Xojo Developers available for consulting:

Name Company Location Website
Alex von Siebenthal
bei Zürich
Christian Jesse pronomiX GmbH Berlin pronomix.de
Christian Mézes cmezes software bei Schwäbisch Gmünd cmezes.com
Christian Schmitz Monkeybread Software bei Koblenz monkeybreadsoftware.de
Daniel Fritzsche varcess GmbH Siegen varcess.com
Heinz Wieczorek
bei Heilbronn
Karsten Deppermann Formalis EDV Beratung Bielefeld formalis.de
Martin Hänisch Systemlösungen Martin Hänisch Fürth martin-haenisch.de
Markus Minihold bei Wien
Maximilian Tyrtania Contact King Berlin contactking.de
Stefan Welcker cmd IT-Services GmbH bei Frankfurt cmd-it.de
Thomas Rottensteiner Rottensteiner EDV Salzburg rottensteiner-edv.at
Thomas Tempelmann
München tempel.org
Tobias Eichner Star Enterprise bei Bayreuth starenterprise.com
Tomas Jakobs jakobssystems limited zwischen Siegen und Gießen jakobssystems.net
Torsten Gaidies Neuss apps2focus.com
Walter Zeidler Z-Systems bei Frankfurt zsystems.de
Carsten Belling BSWe Software Studio zwischen Münster und Osnabrück bswe.net

The list is in random order. If you like to be added, please email me with details.

Things to do in Denver beside XDC

As of now I am signed up for the XDC 2018 conference in next April. Hotel is reserved as reservation can be adjusted easily later when flights are booked. Now I am looking for things to do beside the conference. For example:
  • In Denver
    • 16th street, food walk area with lots of shops and restaurants
    • Capitol in Denver with the one mile high step.
    • Denver Zoo
    • Children's museum of Denver, if you come with family.
  • In the Rocky Mountains
    • Trail Ridge Road with 3713m high pass
    • Independence Pass with 3687m high
    • Loveland Pass with 3655m high
    • Frisco historic park, behind Loveland pass.
  • A trip to the north
    • Mount Rushmore National Memorial
    • Crazy Horse Memorial
    • Devils Tower National Monument
    • Scotts Bluff National Monument
  • West of Denver
    • Colorado Railroad museum
    • The Buffalo Bill Museum and Grave
    • Golden city with Golden History Museum and Clear Creek Historic Park Trail
    • Roxborough State Park
Anything else you can recommend or plan to visit?

If you come by airplane, you should know there is a train from airport, which brings you directly from the main building in the airport down to Union Station. It costs only $9 and you can walk to the conference hotel.

Updates for Updater, WebStarter and Bugreporter Kits

Today we update our Xojo developer Kits for Updater, Bugreporter and Web Starter. The main point is the move to use Xojo 2017 everywhere and remove the example projects for Real Studio. And over the years we collected a few improvements and bug fixes, which now go in the release for everyone.
  • Bug Reporter Kit 1.3
    • Added console example project.
    • Updated for Xojo 2017.
  • Web Starter Kit 1.2
    • Added helper functions for WebPopupMenu
    • Fixed some back buttons.
    • Added low level exception/signal handling classes from Bug Reporter Kit.
    • Changed code because some App.File* functions which are not available in newer Xojo versions.
    • Renamed Hash Function to not conflict with hash function in other Web components.
    • Updated for Xojo 2017.
  • Updater Kit 2.1
    • Fixed timeout property for CURL.
    • Updated for Xojo 2017.
Those updates are free for all current license holders. Of course if you have the code already in your projects, you may just look on our changes and maybe transfer them to your project.

Interest for UK Xojo event in November 2017?

It is still a lot of time till XDC in April. You probably all sign up till end of October to get the $200 discount on the XDC Ticket, right?

So how about a smaller local event in London again?

We could go back to the Antoinette Hotel in Wimbledon, which is located a bit outside of London, so more affordable, but still you can just take a train to center London easily from Wimbledon.

If interest is good, I'd love to organise an event:
  • Thursday an optional Xojo training day with me for beginner/intermediate level.
  • Thursday the great buffet dinner
  • Friday a conference day with a few presentations.
  • Friday evening dinner together
  • and you can stay the weekend and visit London!
Here is a survey to find interest:
surveymonkey.de/r/CBKZNVT

Please let me know if you are interested, so I can put all people on the list.
Questions?

MBS Xojo Plugins, version 17.4pr3

New in this prerelease of the 17.4 plugins:
  • Updated DynaPDF to version 4.0.12.33.
  • Removed direct dependency for Wmvcore.dll from WindowsPlayerMBS class. If it's missing player can't work, but at least the plugin can be loaded.
  • Added LibTag plugin part with new TagLibTagMBS class to read/write audio file tags.
  • Added sndfile plugin part with new SoundFileMBS class to read/write audio samples.
  • Changed ReplaceTag in WordFileMBS to be case insensitive for ASCII characters.
  • Added WordFileMBS.Caseless property for case (in)sensitivity.
  • Added GetDIB and SetDIB to WindowsClipboardMBS class to better get/set pictures on clipboard.
  • Added SQL_ATTR_CURSOR_TYPE as one of the options we pass from SQL connections down to all command objects.
  • Changed code for Xojo 2017 for HBITMAP handling which affected clipboard functions on Windows.
  • Added KeyDown/KeyUP and GotFocus/LostFocus events to OverlayMBS class.
  • Updated all GTK code to dynamically load GTK+ 3 for Xojo 2017r2 and GTK+ 2 for older versions.
  • Fixed problem with TidyAttributeMBS Is* properties.
  • Fixed a problem with registration in TimerMBS class.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

LibSndfile and TagLib plugins for Xojo

Over the weekend I added two new plugin parts which will come with next plugin release:

LibSndfile, an open source library to read and write sample data with various sound file formats.
We compiled it for all targets and it seems to work well so far. The website has a table for supported audio formats.
Our new SoundFileMBS class provides the generic interface and allows you to load the library, open or create files and read/write samples in various formats.

Due to being LGPL, you need to build yourself or get the libraries from us prebuilt. We can’t include GPL code in the plugin, but as it’s LGPL, you can load the library in your closed source app at runtime without problems.
Website: www.mega-nerd.com/libsndfile/

TagLib, an open source library to read metadata from audio files, e.g. ID3 tags.
Now we first add the generic interface which works for all file formats supported. See new classes like TagLibTagMBS.
Later we can add specific classes for individual formats based on demand.

This library is available both with LGPL and MPL. As we have to statically link the library (it’s C++), we need to use the Mozilla Public License, which doesn’t restrict us like the GPL does.
Website: taglib.org

Under the Radar Podcast

The last days I enjoyed listening to a couple of episodes of the Under the Radar podcast.

Originally pointed to by Paul Lefebvre's tweet, I quickly subscribed as they talk about various topics for independent app developers and those episodes are very interesting. They face similar issues as myself and so I like to hear their solutions.

Thanks to David Smith and Marco Arment for their apps and the podcast.

And thanks to Xojo Inc. for supporting the shows. Xojo is sponsor for episodes #92 and #93. Coupon code is RADAR.

Do you like this podcast?

Windows, Xojo and the Clipboard

You may know that we have a few clipboard dedicated classes in our Xojo plugins.
Now Xojo’s move to DirectDraw in 2016r4 and subsequent changes in 2017r1 and 2017r2, we had to adjust our plugins to keep working on Windows. So for next plugin version we include fixes to our SetPicture and GetPicture functions to correctly put a bitmap on the clipboard. Our plugin can get/set the bitmaps to the clipboard now in 32 and 64bit.

The clipboard can hold several data types and Windows defines a couple of standard formats. Beside the bitmap type, there is a DIB type for a device independent bitmap and Metafile Picture for vector graphics. Normally Windows should convert from DIB to BITMAP or back.

Still some applications like Excel or Word look for the DIB and the conversion from BITMAP doesn’t work well. So we added new SetDIB/GetDIB functions to put a Xojo picture on the clipboard in the DIB format. This should solve problems people may have with clipboard.

If you like to try the newer plugins, please do not hesitate to contact us.

Multiple recordsets with Microsoft SQL Server

If you try to run two SQL statements on one connection, you often see this error message:

"HY000 [Microsoft][SQL Server Native Client 11.0]Connection is busy with results for another command"

We regularly see the problem with Microsoft SQL Server, but it also happens with Sybase ASE and others.

To solve you can set the option "SQL_ATTR_CURSOR_TYPE" with the value "SQL_CURSOR_DYNAMIC" to get a server side cursor. This will tell the connection to use a dynamic cursor and you can have several of those.
In Xojo:

dim cmd as SQLCommandMBS
cmd.Option("SQL_ATTR_CURSOR_TYPE") = "SQL_CURSOR_DYNAMIC"

in FileMaker:

MBS( "SQL.SetCommandOption"; $Command; "SQL_ATTR_CURSOR_TYPE"; "SQL_CURSOR_DYNAMIC" )

For next plugins we will include code to make sure you can set the option on the connection and pass it down to all commands on that connection.

Alternatively you can use the flag MARS_Connection when connecting inside the connection string:

"bedlam-m\\sql2014en@test;MARS_Connection=yes"

This is global option for the connection.

Xojo 2017 Release 2

Xojo Inc. released today Xojo 2017 Release 2. You can download it on their website.

This update adds more than 250 improvements, with a focus on 64-bit enhancements, Linux GTK+ 3 and HiDPI, and iOS Launch Screen support..

Xojo 2017 Release 2 features:
  • 64-bit support for XojoScript
  • 64-bit string handling is faster and more consistent
  • 64-bit support for Windows icons and version information
  • GTK3 for Linux
  • HiDPI for Linux
  • iOS Launch Screen support
  • Additional drag & drop events for ListBox
  • IDE and web improvements
The complete list of improvements in Xojo 2017 Release 2 can be found in the release notes.

If you use MBS Plugins and the GTK classes, please update to 17.4pr2 or newer plugins.
This includes GTK Window class, OpenDialogMBS, Linux WebKit classes and window functions.
But some changes to picture handling for GTK3 affect all plugins using pictures.

MBS Xojo Plugins, version 17.4pr2

New in this prerelease of the 17.4 plugins:
  • Updated CURL Library to 7.55.1.
  • Added convenience properties Name, Model, Manufacturer and DisplayName for MidiObjectMBS class.
  • Improved GTK classes for future.
  • Modernized GetInfoCertInfo for newer CURL version.
  • Added MemoryUsed and MemoryHighwater properties to SQLite3MBS class.
  • Reorganized plugins. From 65 down to 39.
  • Merged Nikon and Canon plugins into Cameras Plugin.
  • Merged LCMS2, OCR, GIF, PNG, LargeImage, JPEG and Tiff plugins into Images plugin.
  • Merged PHP, CUPS, markdown, RegEx and Tidy into Tools plugin.
  • Merged Twain into Picture plugin.
  • Merged DirectShow, WIA, WinDragDrop, TAPI and WinICM plugins into Win plugin.
  • Removed SQLAnywhere plugin part as that functionality is now available in SQL Plugin.
  • Removed imedia, TCMPortMapper and FTPParse plugin parts as those were really outdated.
  • Removed ImageMagick, LCMS, QTKit and QuickTime plugins. They are archived now.
  • Removed QuickDraw based classes: MacPictMBS, PaletteMBS and related graphics methods.
  • Removed old MacOS Classic classes: WindowGroupMBS, ClickThroughMBS, NumberFormatMBS, DateFormatMBS, AFPURLMBS and InternetConfigMBS.
  • Changed LDAP functions to default to protocol version 3 with UTF-8 as default encoding.
  • Fixed NSPipeMBS class to no longer crash app for broken pipes. We set the signal to be ignored in Constructor.
  • Fixed bug in SKProductsRequestMBS which could lead to crash if you use the class and release instances before you got the event.
  • Updated SQLite to version 3.20.0.
  • Added more constructors for CFURLMBS class.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

URL scheme handling in Xojo

Handling URL schemes in both Mac and Windows can be tricky.
For Mac you need to define plist entry to declare the URL scheme and later handle the AppleEvent.
For Windows it is more difficult. First you edit registry to declare your URL scheme. Than you need to handle the URL as start parameter. But as a second copy of your app may be launched, you need to talk yourself to the first instance via IPCSocket and pass URL command to main app.

Robert Beier from Dibomedia GmbH in Leipzig recently implemented a helper class to handle this and put it on githup:

github.com/CranberryStackCookie/xojo-url-scheme

Feel free to send feedback including bug fixes to him. And next time you meet him at a Xojo conference, you can of course invite him for a drink!

Special Complete Upgrade offer for MBS Xojo Plugins

For next plugin release 17.4, we will have some reorganization in the plugins. Some smaller plugins get merged, some older stuff dropped and some parts move to other plugins. There may some change needed for people who don't have the Complete license key.

As over 80% of our users have the Complete set instead of individual parts, we make a special offer to all users with individual parts:

Buy the Complete Update in August 2017 to go from whatever part you have to the complete set.
Depending on what part you have, you save up to 50% this way: Order now

We will not stop selling individual parts right now, but as of today we remove QuickTime, Controls, Lion & Leopard from the price list.

Please do not hesitate to contact us for questions.

MBS Xojo Plugins, version 17.4pr1

New in this prerelease of the 17.4 plugins:
  • Updated DynaPDF to version 4.0.12.32.
  • Fixed memory leak in XL Plugin for Windows (leak of GDI handles).
  • Added RAWSocketMBS class.
  • Changed DynaPDFMBS.HighlightPattern to create highlight annotations instead of drawing rectangles.
  • Fixed bug in BarcodeGeneratorMBS class with generating barcode without text.
  • Added exceptions for NSImageMBS constructors. You'll get an UnsupportedOperationException if image creation fails.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.
The biggest plugin in space...

Archives

Mar 2024
Feb 2024
Jan 2024
Dec 2023
Nov 2023
Oct 2023
Sep 2023
Aug 2023
Jul 2023
Jun 2023
May 2023
Apr 2023
Mar 2023
Feb 2023
Jan 2023
Dec 2022
Nov 2022
Oct 2022
Sep 2022
Aug 2022
Jul 2022
Jun 2022
May 2022
Apr 2022
Mar 2022
Feb 2022
Jan 2022
Dec 2021
Nov 2021
Oct 2021
Sep 2021
Aug 2021
Jul 2021
Jun 2021
May 2021
Apr 2021
Mar 2021
Feb 2021
Jan 2021
Dec 2020
Nov 2020
Oct 2020
Sep 2020
Aug 2020
Jul 2020
Jun 2020
May 2020
Apr 2020
Mar 2020
Feb 2020
Jan 2020
Dec 2019
Nov 2019
Oct 2019
Sep 2019
Aug 2019
Jul 2019
Jun 2019
May 2019
Apr 2019
Mar 2019
Feb 2019
Jan 2019
Dec 2018
Nov 2018
Oct 2018
Sep 2018
Aug 2018
Jul 2018
Jun 2018
May 2018
Apr 2018
Mar 2018
Feb 2018
Jan 2018
Dec 2017
Nov 2017
Oct 2017
Sep 2017
Aug 2017
Jul 2017
Jun 2017
May 2017
Apr 2017
Mar 2017
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