By default the WebImageView in Xojo will not scale down images (Feedback case 40994) and not handle the case where an URL doesn't work (Feedback case 40996).
For a project here, we need those features, so here is a possible implementation. In our application we show preview images, but those are hosted via apache (outside the web app). This allow us to put them on other servers and keep the Xojo web app less busy. Normally in Xojo it looks like the picture below. Image doesn't fit and if an URL is broken, it shows a question mark.
EventHandlerSub Shown() dim w asstring = str(me.Width) dim h asstring = str(me.height) dim o asstring = "document.getElementById('"+me.ControlID+"_image')"
We have been reselling a few Real Studio licenses over the years. With Xojo we also want to offer this service in the future with attractive bundles. So if you need a plugin licenses and Xojo licenses, you can now order them from us together as a package with a discount.
We can resell new licenses for Pro, iOS, Desktop, Console and Web. Simply check what you need and we make you an offer like this:
Xojo Pro with 12 month updates:
MBS Xojo DynaPDF Pro Plugin:
MBS Xojo Complete Plugin:
total, sold separated:
total, with MBS Bundle:
As you see we grant here a special price which saves you 174 Euro in this example. To order simply send us an email and we write an invoice for you.
As you may know we are big fans of SQLite. So we offer for both Xojo and FileMaker to use SQLite for connecting to database with our SQL functions.
Now we have a SQLite internal library already for some time in Xojo. With next prerelease we add that for FileMaker. So with both tools you can now use MBS SQL functions and use the internal SQLite library. This frees you from providing yourself a dylib/dll file. Currently we use version 22.214.171.124, but can update at any time. If you need a specific extension for SQLite, we can also check if we can enable it by default. Currently we support column metadata, full text search, soundex and thread safety.
Another thing we add with next prerelease is encryption. We licensed the SQLite Encryption Extension and include it now by default. You can use it to access SQLite databases using our plugin with AES 128 OFB, AES 256 OFB and RC4 encryption. The AES 128 mode is the same as in Xojo (or Real Studio).
To enable encryption, please use in FileMaker the SQL.SQLite3.SetKey function after connecting. In Xojo we have SQLiteEncryptionKey properties in both SQLDatabaseMBS and SQLConnectionMBS classes. If you set those, the plugin will apply the key after connecting automatically for you. Alternatively you can use SetKey method in SQLite3MBS class directly.
Interested in testing, please contact us soon to get a copy to try or wait for the next prerelease to be uploaded.
For the next prerelease we add a new DynaPDF function for both FileMaker and Xojo to show differences in two PDF pages.
This is a new function written to annotate a page in a PDF with highlight annotations if two blocks in a the pages have different image. This works well here and shows differences in various PDFs. We include a check to make sure that lines moved up or down on the PDF page don't cause to be highlighted.
Please try soon in next prerelease. You'll need a DynaPDF Pro license as this is based on the render feature.
Some conference and meetings are currently planned:
First, we are considering doing a one day event in UK in/near London. As you can read on the forum (forum.xojo.com/25990-little-xojo-conference-in-uk/), we have a proposal and are currently looking for who is interested and to find a date. The survey already shows a couple of dates where several people can attend, but we'd like to see more votes there. Once we have a few dates with 10 people, we can sync our date list with various hotels and make reservation.
Second, I will visit both Hamburg (survey here) and Gothenburg (survey here) in October, so I look for interested developers for a meeting in a restaurant for dinner. Just a chatting about Xojo, maybe showing some pictures from XDC in Austin or talking about latest Xojo release.
And finally we still take bets for where XDC 2016 will be.
Sometimes you write an audio app in Xojo and need to write your audio data to a file. Using the WAV file format is very easy and this code is from an app we made today. Samples are stored in memoryblock in LittleEndian byte order and with stereo. The code to write WAV file looks like this:
Sub WriteWAV(f as FolderItem, m as MemoryBlock)
//writesamplesinInt16formatwithstereotoaWAVfiledim b as BinaryStream = BinaryStream.Create(f, true)
b.WriteInt32 6+4+16+4+m.Size //sizeoffile
Stephane Pinel talked about what is soon coming in 2015r3 and what's planned for future releases. We are all looking forward for those new things!
Than we had my presentation about MBS Plugins with a few demos. And currently Dirk Cleenwerck talks about Arbed and SVN (Slides).
After lunch we started with my presentation about PDF and our DynaPDF Plugin. If you are interested in the invoice standard: Forum electronic invoicing in Germany. With DynaPDF we can create the PDF/A files with embedded XML for you.
Now Daniel Burkhalter shows his application for testing systems. Connecting to various devices, databases and data sources, it can test various devices and write reports and keep track of thousands of test runs. And all can be configured with huge XML files.
Later we have Hans van Schaick showing us his applications using databases and reporting. Than we have a conversation with Paul Lefebvre about new frameworks, iOS and raspberry PI support.
We closed after the session about CURL and after a little break walked to the beach to a restaurant. It was a nice evening with a lot of shoptalk about xojo development. I hoped you all stayed for saturday with sunshine from noon till sunset.
Our MBS Xojo Conference starts in two weeks. We have a few last seats to offer, so if you want to be there, decide quickly.
This is an english speaking conference located in the middle of Europe in Bad Hotel Scheveningen in Scheveningen a suburb at the beach near Den Haag.
The conference will start on 17th September 2015 in the evening with a casual get-together. The exact location will be given earlier same day. Meet your colleagues, have a drink together and chat about what's new in Xojo world.
Our conference sessions will run on 18 September 2015 from about 9:00 to 17:00 with lunch and coffee breaks in-between. Sessions include an overview from Stephane Pinel about what is new in Xojo this year and what's on the way for the future. Christian Schmitz presents what is new for MBS Plugins. Followed by sessions of attendees.
On the evening, we offer to have dinner together with others in a casual get-together. If you like, extends your stay for more days and stay the weekend in Den Haag at the beach.
Everyone is invited to share his knowledge. Show your big Xojo projects and tell how you did solve problems and how Xojo helped you to deliver solutions quickly to your clients. Talk about Xojo related topics and what things you have to offer. If you like to get a session, please contact us with a topic description.
Registration is possible at the MBS website. Cost is 49€ + VAT. Companies inside european union do not need to pay VAT if they provide their VAT ID. All others have to pay 21% VAT which gives a total of 59,29€.
Space is limited, so be quickly. We are looking forward to meet you all there!
The September/October 2015 (13.5) issue of xDev Magazine is now available.
Here's a quick preview of what's inside:
* Spot the Error * by Markus Winter
Errors with different integer types can be extremely subtle. What happens when you convert from one type to another? What about overflow errors? Markus challenges you to "Spot the Error" and explains what's really going on.
* Simple Is Better * by Mark Strickland
We're programmers -- we naturally like to make things complicated. But sometimes simple is a better approach, especially when it comes to user interfaces. Mark writes about how he used the simplest interface of all -- cell phone text messaging -- to create an electronic time clock system that employees in the field can use without a computer or even a smartphone.
* Tracking Medications for Personal Health * by JC Cruz
You might think a personal health journal is all about tracking your exercise, heart rate, and other details, but keeping your medications
up-to-date is also critical. Jose explains how that works in his ongoing health project.
Plus articles on Xojo open source software, database design tools, making document-based applications, tips, and much more.
As you may know Xojo 2014 and 2015 don't support QuickTime on Windows any more. Some users still need that for their projects.
So we developed a plugin which is similar to the EditableMovie class in Real Studio and still work in Xojo. So you can open a movie file as QTEditableMovie or create a new movie file. You can query tracks, insert/append/scale tracks, create new tracks or flatten the movie to a new file. Our MBS classes like QTPictureMovieTrackMBS and QTMovieExporterMBS can be used in combination with QTEditableMovie to create new track from pictures or export the movie in a different format.
This is of course a bridging technology. The new plugin will not work on 64-bit. But it allows some clients to move from Real Studio to Xojo. The classes work for Mac and Windows, even Cocoa target as long as it's 32-bit.
Thanks to Xojo Inc. for providing source code and help to get it running.
If you are interested, please contact me.
Depending on what features you need, more customization to the plugin maybe needed.
PS: You may need to use QuickTime 7.7.6 on Windows 8 or 10. Version 7.7.7 may not install.