Solved

Old format or invalid type library vb.net 2008

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

862 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now