Partilhar via


Updating the OneNote Text Importer for OneNote 2013

<Edit on 7/26/2013> I'm pulling this for now while I troubleshoot.  Thanks for the reports and sorry for the noise.

I finally got a few minutes, and more importantly, a computer with everything I needed to build, free and updated the text importer for OneNote 2013.

 

There is almost zero change from the 2010 version - I just used to old 2007 version and updated it - so I won't repost any directions here.  And the code is unchanged as well - I only updated the schema and COM references to OneNote 2013.  Just copy this file down and change that last underscore character to an "e" to get it to work.  There is no install program.

Enjoy!

Questions, comments, concerns and criticisms always welcome,

John

Comments

  • Anonymous
    July 22, 2013
    Tried it with WIndows 7-64-bit and Office 2013 - immediately get a messagebox w/ TextFileImporter has stoppedworkgin

  • Anonymous
    July 22, 2013
    Let me take a look.  Can you click File | Account and look over on the right for which version of OneNote you have?  It should be something like 15.0.4454.1008 or similar.

  • Anonymous
    July 24, 2013
    The comment has been removed

  • Anonymous
    July 24, 2013
    Can I get the version number of OneNote you have?

  • Anonymous
    July 25, 2013
    Same error here trying to launch the importer.. the version of OneNote I am running is 15.0.4420.1017 64-Bit windows 7 pc

  • Anonymous
    July 25, 2013
    I built against the latest fixes.  Can you go to Windows Update and install the latest patches?  You may also see this in File | Accounts | Update button over on the right (available if you have a Click to Run install).

  • Anonymous
    July 25, 2013
    @John... I dont have click to run on my work pc.. however I did install onenote2013-kb2817467-fullfile-x64-glb and now my OneNote says version 15.0.4517.1003.. Still the same error the "Text File Importer has stopped working"

  • Anonymous
    July 26, 2013
    When I got home I tried on a windows 8 pc just to rule out AV or any other security software we are running at work.. OneNote fully updated and still same error the "Text File Importer has stopped working". So its reproducable on Windows 7 enterprise 64-bit  and 8 64-bit if that helps at all.

  • Anonymous
    July 29, 2013
    @John... Any update? Cheers Brian

  • Anonymous
    October 06, 2013
    Hi John. You still working on this? Thanks!

  • Anonymous
    October 17, 2013
    Yes - but I noticed this does not work with Unicode text files, only ansi.  Can you check files to see if they are Unicode (easy test - open in notepad, file save as and check if the default is Unicode). Also, there should be an error log file in the executable folder - what errors are logged?

  • Anonymous
    December 03, 2013
    The comment has been removed

  • Anonymous
    December 23, 2013
    Hi John, keen to get hold of this (for 2013). Any chance I can try it? Doesn't appear to be a download available. Thanks

  • Anonymous
    December 24, 2013
    Can you email me (the link is at the upper right)?  I have a new version of this which needs to be tested before general release and I want some real user feedback.  I can send you a copy (next week when I am back in the office) if you like and would be willing to let me know if it works for you.

  • Anonymous
    April 23, 2014
    Hello, John. Thanks for providing a way of getting text files into OneNote. However, I was unable to get it to work for me. The conversion appeared to work but then in OneNote 2013, the folder was empty. Any ideas why? Thanks.

  • Anonymous
    April 23, 2014
    There is a log file in the folder where the text importer EXE file is.  What are the contents of it?

  • Anonymous
    March 04, 2015
    I am also have a problem with OneNote 2013.  the text import adds a new page to my OneNote but then seems to simply stop, progress bar doesn't reflect anything, after a few min I [X] out of tool and the file shows System.Runtime.InteropServices.COMException (0x80042000): Exception from HRESULT: 0x80042000   at Microsoft.Office.Interop.OneNote.ApplicationClassCOM.UpdatePageContent(String bstrPageChangesXmlIn, DateTime dateExpectedLastModified, XMLSchema xsSchema, Boolean force)   at Microsoft.Office.Interop.OneNote.ApplicationClass.UpdatePageContent_AutoBusyRetry(String bstrPageChangesXmlIn, DateTime dateExpectedLastModified, XMLSchema xsSchema, Boolean force)   at Microsoft.Office.Interop.OneNote.ApplicationClass.UpdatePageContent(String bstrPageChangesXmlIn, DateTime dateExpectedLastModified)   at Text_File_Importer.FormTextImporter.buttonImport_Click(Object sender, EventArgs e)

  • Anonymous
    March 04, 2015
    dateExpectedLastModified seems unexpected - where are the files stored?  Do they show an expected Date/Time they were modified?  Right click Properties - what are the date/time fields showing for created, modified and such?