I lied. I’ll be the first to admit it. In my post

I said I was done with the Modern Web Browser control. Apparently not!
So I was doing some house cleaning and came across a project I had developed several years back, but wouldn’t work because the old web browser control didn’t support HTML canvas elements and I had shelved it.
Well, we have the Modern Web Browser now, so I thought this should be an easy thing to complete. Let’s just say that wasn’t the case.
In all fairness, I did get the original demo up and running within 30 minutes, but I wanted to enable the user to be able to swap images easily and to do that wanted to dynamically populate the Modern Web Browser control on the fly based off of user file selection. To make that actually work was quite the learning process and took me the better part of a day to actually get functional and cleaned up.
The end result though, is a flexible tool that can easily be integrated into any database to enable image cropping. No APIs, No OCXs, … no bitness issues, nothing to register, … to worry about. Great for fixing employee webcam pictures, just saying. No need for external image editors anymore.
To make this all happen, I came across a JS library, cropper.js that empowers basic webpages with the ability to crop images. So it was just a question of integrating that within Access, developing so means to save what is done on the webpage… How hard could it be, right!
Demo Database
Feel free to download a 100% unlocked copy of a sample database I have put together to illustrate some of what is discussed above by using the link provided below:
Download “Image Cropping Demo” ImageCropping.zip – Downloaded 4419 times – 794.26 KBNotice About Content/Downloads/Demos
Disclaimer/Notes:
If you do not have Microsoft Access, simply download and install the freely available runtime version (this permits running MS Access databases, but not modifying their design):Microsoft Access 2010 Runtime
Microsoft Access 2013 Runtime
Microsoft Access 2016 Runtime
Microsoft 365 Access Runtime
In no event will Devhut.net or CARDA Consultants Inc. be liable to the client/end-user or any third party for any damages, including any lost profits, lost savings or other incidental, consequential or special damages arising out of the operation of or inability to operate the software which CARDA Consultants Inc. has provided, even if CARDA Consultants Inc. has been advised of the possibility of such damages.


liar liar pants on fire😁…. Seen a reference in the Access VBA window I’ve never seen before “MMC Internal Web Browser event sink 1.0 type library”. You ever came across it before?
No, can’t say that I have.
From what I could quick find, not much out there, it seems like a Web Browser automation library. Probably what makes the control work.
Where exactly did you come across it?