Solved

Old format or invalid type library vb.net 2008

Posted on 2009-07-08
3
938 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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
A short article about problems I had with the new location API and permissions in Marshmallow
This video teaches viewers about errors in exception handling.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

762 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

7 Experts available now in Live!

Get 1:1 Help Now