Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3991430
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:36:54+00:00 2026-05-20T06:36:54+00:00

We have an application that, amongst many other things, has an export to Excel

  • 0

We have an application that, amongst many other things, has an export to Excel function. This uses the Excel COM interface and simply exports some data to a new sheet in Excel and formats it to look like where it came from. For years we known that if the machine locale is set to something different to what Office was installed under that an “old format or invalid type library” will arise. However, under Excel 2003 it was possible to download and install a MUI (multi-language user interface) pack to fix the problem. With Excel 2007 and later there does not seem to be the equivalent pack – there are language packs (we downloaded a 7GB pack from MSDN for Office 2007) but these either don’t work (setup.exe is “corrupted”), or don’t work in the sense that we still get the “old format or invalid type library” problem.

Does anyone know if there is a pack for Office 2007 and Office 2010 that will definitely solve this problem, and where to get it from?

Alternatively, there is an MS link (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q320369) that shows some code (in VB.Net I think) which purportedly sets the culture temporarily to “en-US” before doing stuff in Excel, then sets it back. I am sceptical about this solution because it seems to assume that the original Office installation would always be “en_US”. What if it was Swiss German? Has anyone ever successfully used this approach, and have they ever done in win32 Delphi, and can you share a few code snippets?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T06:36:55+00:00Added an answer on May 20, 2026 at 6:36 am

    The correct solution is to pass LOCALE_USER_DEFAULT whenever you call a method that expects an LCID. What are you passing to such functions?

    If you do that then you don’t need any of this MUI magic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that has, amongst other things, one web application (mvc) and
I have an application that uses incident numbers (amongst other types of numbers). These
In my JSF 2 based application I have a form that includes (amongst other
I maintain an application that, amongst other things, provides a list to the user
In our application we have some data structures which amongst other things contain a
This is nuts. I have an ASP.NET MVC application using Windows authentication that, amongst
I have an application that goes like this F5 load balancer - IHS(a&b) -
I have an application that has 2 beans with the same name, but which
I have a use case that requires me to control the deployment (amongst other
We have a C# (winforms) application used for adding new starters to amongst other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.