Solved

Old format or invalid type library vb.net 2008

Posted on 2009-07-08
3
946 Views
Last Modified: 2013-11-25
Hi ye all, i have office 2003 and its PIAs installed,visual basic express 2008, i added all references i have vista ultimate, and when i run the application -F5 - to test my application automation with excel, i get this"Old format or invalid type library"
i added all the libraries microsoft, i imported microsoft, system..........!
my office is 2003 fully functional full installation, all language packs are installed,latest updates and MUIs....!
any ideas would really help , thanks.
0
Comment
Question by:ahashash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Robert7827 earned 250 total points
ID: 24806663
ahashash,

This is a known issue.  The text below is from microsoft support.

CAUSE:
You receive this error calling an Excel method when the following conditions are true:

    * The method requires an LCID (locale identifier).
    * You run an English version of Excel. However, the regional settings for the computer are configured for a non-English language.

If the client computer runs the English version of Excel and the locale for the current user is configured for a language other than English, Excel will try to locate the language pack for the configured language. If the language pack is not found, the error is reported.

WORKAROUNDS:
Pull up this knowledge base article for workarounds

http://support.microsoft.com/kb/320369

Robert
0
 
LVL 2

Expert Comment

by:Robert7827
ID: 24806712
ahashash,

I do see you state you have the language packs installed.  There are also a couple of other references that may be of value.

http://msdn2.microsoft.com/en-us/library/aa168494(office.11).aspx  (http://msdn2.microsoft.com/en-us/library/aa168494(office.11).aspx)

http://msdn.microsoft.com/en-us/library/aa192494(office.11).aspx

Hope this helps,

Robert
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
Part One of the two-part Q&A series with MalwareTech.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question