Solved

Old format or invalid type library vb.net 2008

Posted on 2009-07-08
3
945 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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.

734 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