MS Office Install on Windows 64 bit – Error message is displayed when setup application is started

יום חמישי, מרץ 24, 2011

When you start installation process for MS Office on Windows 64 bit Operation System sometime you receive error message immediately. For solving this problem open Register Editor - regedit.exe in Start -> Run and navigate to this key and remove it HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0 After this navigate to follow register key and remove it too HKEY_LOCAL_MACHINE\Wow6432Node\Microsoft\Office\12.0  Try run setup again, this solution must solve installation problem. Enjoy.

Print Word Document in C# – MS Office on Windows 64 bit Operation System – Error when you try Open Word Document or Print Word Document inside C#

When you try Open Word Document or Print Word Document inside C# Application on Windows 64 Operation System, you receive COM Object Error. For Example: object wordFileName = "c:\\temp\\test.docx";object unknown = System.Reflection.Missing.Value; object missing = Type.Missing; object readOnly = false; ApplicationClass wordApplication = new Microsoft.Office.Interop.Word.ApplicationClass(); wordApplication.Visible = false; // you may receive exception in next line Document wordDoc = wordApplication.Documents.Open(ref wordFileName, ref unknown, ref readOnly, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown, ref unknown);wordApplication.Application.Visible = false; wordApplication.WindowState = Microsoft.Office.Interop.Word.WdWindowState.wdWindowStateMinimize;object background = false; object printToFile = false;object printAllDocument...