Solved

Old format or invalid type library vb.net 2008

Posted on 2009-07-08
3
941 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
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

808 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