Chemistry Add-In for Microsoft Word

CML is Cool

  • Home
  • History
  • Download
  • Consultancy
  • Sponsors
  • Under the Hood
  • News
  • Support ▾
    • Knowledge Base
    • Usage
    • FAQs
    • Tutorials

Chem4Word in Office Online

8th September 2020 by Clyde

What is Office Online?

You often ask us, ‘why doesn’t Chem4Word work in Office Online apps?’  After all, you would be able to use it on any platform that supported them. Such as Apple Mac, used by many chemists in preference to Windows.

A Bit of History

The answer is complicated and lies in the history of Chem4Word.  It started collaborative project between Microsoft Research and Cambridge University more than ten years ago.  If you wanted to develop a Word add-in at that time,  you had two options. 

First, you could write it in Visual Basic for Applications.  This is great for quick, relatively unsophisticated customisations, such as custom templates or dialog boxes.

But Chem4Word demanded a lot more from the platform. So it used Visual Studio Tools for Office (VSTO).  VSTO, pronounced ‘visto’, ties Word and other Office apps into the .NET Framework using the C# programming language.  This unleashes the full power of Windows, including sophisticated graphics and XML handling. This is just what was needed to power Chem4Word.   

The Present

A lot has changed since it was first written.  Microsoft sank more resources into developing the cloud-based versions of Office and now embraces JavaScript as a development language.  It’s bringing its online APIs into line with the VSTO-supported APIs. There will soon be little to choose from them.

But, and this is a very big ‘but’: JavaScript is a very different language to C#.  Despite being ‘the programming language of the Web’, it is arguably a poor relation and does things very differently.  Translating our tens of thousands of lines of code from C# to JavaScript is a huge task!  JavaScript’s graphics capabilities come second to the native Windows platform. For instance, ACME would be difficult to reproduce using the HTML canvas:

Ecce ACME!

The Office Online development platform is also limited. We can’t easily access compound libraries downloaded to the computer.  The security restrictions of running in a web browser put paid to that, and other features! Office Online add-ins can only interact with the user through task panes. It’s difficult to shoehorn all our functionality into those.

A brief Overview of Office Add-ins | by Peter Wasonga Ombwa | Medium
A task pane in action

What Now?

Microsoft have pledged continued support for VSTO-based applications. So, for now we will dedicate our development resources to enhancing Chem4Word on this platform.  Our new ACME editor will allow us to add exciting new features, like reactions and structural templates, while maintaining the full Chem4Word experience that you know and value. 

We will still be closely watching how the new Office Developer story unfolds.  When we are happy that we can take what we have done to the new online platform, with minimal effort, hassle and degradation of functionality, then we will provide a Chem4Word that’s as fully-featured and easy to use online as it is on your desktop!

As a final comment, with the web version of Word, you can open, read and edit documents containing Chemistry that were created with the desktop version of Word without losing the Chemistry components.

Share this:

  • LinkedIn
  • Facebook
  • Twitter
  • Email

Filed Under: News

Merging your Chem4Word V3 Library

3rd September 2020 by Mike

This post shows you how to merge your existing structure V3 library into V2020 essential oils library.

1. Export your existing structures to a folder by clicking on the Chem4Word “Options” button.

Chem4Word Options Button

2. Select the library tab and click on the “Export” button.

Chem4Word Options Library Tab

3. Chose a folder to export them to. Here I have created a folder called “C:\Users\Mike\Library”.

Choose a folder

4. When “Select Folder” is clicked you should see a progress bar at the bottom of the form as shown below.

Export in Action

5. Once the export is completed you will see a dialog similar to the following.

Export Done

6. Select the “Maintenance” Tab and click on the “Open” button for the library.

Chem4Word Options Maintenance Tab

7. Once the folder has opened you can backup the file “Library.db”, then delete it.

Choose a folder

8. Close all running copies of Microsoft Word. If in doubt re-boot your PC after the above step.

9. Start Microsoft Word, Select the Chemistry Tab, then click on the “Open” Library button and you should see that the new Essential Oils database has been installed. In the image below the button’s caption has been changed to close as the library is open.

Show Library

10. You can now import and merge the structures from your previous library by clicking on the “Options” button. Select the “Library” tab, then click on the “Import” button.

Import Button

11. Select the folder you previously exported your library to.

Select folder

12. You will be required to confirm the import operation.

Confirm

13. While working you will see a progress bar at the bottom of the form as shown below.

Import in progress

14. Congratulations, you have now merged the two libraries.

Import done

Share this:

  • LinkedIn
  • Facebook
  • Twitter
  • Email

Filed Under: News

Chem4Word 2020 is here!

2nd September 2020 by Andy

You can now upgrade to the latest version of Chem4Word! Download it from here and see the new features.

Library

The Chemistry Add-In for Microsoft Word now comes with a pre-loaded structure library from CEVOpen – This data represents about 2100 unique chemical names of volatile plant chemicals (essential oils) from the EssoilDB 1.0 database (compiled from the scientific literature over about 10 years in Dr Yadav’s laboratory). They are made available for re-use by anyone for any purpose (CC0). We would appreciate acknowledgement of EssoilDB and the following people who extracted and cleaned the data during 2019. (Gitanjali Yadav, Ambarish Kumar, Peter Murray-Rust).

The new library is default for brand new installations, but if you already have a library of your own, installing the latest release will leave your library in place.

ACME

You’ve already read that we have a new editor. The editor allows us to create new features in future versions. We’re looking at a number of opportunities to improve Chem4Word. As an example, we’re looking to include the drawing of chemical reactions.

The future

We’re in the process of making some video tutorials of the new features, and we’ll post these as soon as we can.

Meanwhile, keep in touch via our Facebook group where you will hear first about the new features and video tutorials.

And as always, Chem4Word is free and will remain so.  What are you waiting for?  Download it now!

Share this:

  • LinkedIn
  • Facebook
  • Twitter
  • Email

Filed Under: News

Chem4Word has a new Library!

1st September 2020 by Andy

The Chemistry Add-In for Microsoft Word now comes with a pre-loaded structure library from CEVOpen https://github.com/petermr/CEVOpen – This data represents about 2100 unique chemical names of volatile plant chemicals (essential oils) from the EssoilDB 1.0 database (compiled from the scientific literature over about 10 years in Dr Gita Yadav’s laboratory). They are made available for re-use by anyone for any purpose (CC0). We would appreciate acknowledgement of EssoilDB and the following people who extracted and cleaned the data during 2019. (Gitanjali Yadav, Ambarish Kumar, Peter Murray-Rust).

The new library is default for brand new installations, but if you already have a library of your own, installing the latest release will leave your library in place.

If you want the new library and to keep the structures from your existing library, we’ll provide instructions on how to do that shortly after release.

Share this:

  • LinkedIn
  • Facebook
  • Twitter
  • Email

Filed Under: News

Functional groups now included in Chem4Word 2020

31st August 2020 by Andy

Fed up with having to draw out common functional groups in your molecules?  ACME, our new structure editor now provides easy shortcuts that can save you time and effort.

In the background, we capture the correct chemical formula, so that the correct formula can be calculated. This feature is in its early stages of development. Right now, we are unable to calculate InChI keys and find names from structures with embedded functional groups, but this feature is on the roadmap, so you can expect improvements in future releases.

Share this:

  • LinkedIn
  • Facebook
  • Twitter
  • Email

Filed Under: News

  • 1
  • 2
  • 3
  • Next Page »

Recent Posts

  • Chem4Word in Office Online
  • Merging your Chem4Word V3 Library
  • Chem4Word 2020 is here!
  • Chem4Word has a new Library!
  • Functional groups now included in Chem4Word 2020

Archives

  • September 2020
  • August 2020
  • December 2018
  • April 2017
  • January 2017
  • December 2016
  • September 2016
  • December 2015
  • Privacy Policy – Chemistry Add-In for Microsoft Word
  • About Us
  • Contact Us

Copyright © 2021 · Enterprise Pro on Genesis Framework · WordPress · Log in

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
This site uses cookies: Find out more.