A guest-induced assembly of a molecular box from methylcobaloxime and 1, 4-phenylenebisboronic acid.