Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Data exporting to Excel .. Error
 

Data exporting to Excel .. Error

Hi

I have done with data from databse to Excel in my PC. where Office 2007 is installed and i tried same in other PC where the office doesnt exist ..


So its giving error

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154.

in this line

Dim xlApp As New Microsoft.Office.Interop.Excel.ApplicationClass



What am i missing in that? do i need Microsoft office for that or is there any alternativ way?


Thanks Avinash Desai
Avinash Desai  Wednesday, September 09, 2009 12:45 PM
You Need to Install the MS Office on the System.
Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.
_SuDhiR_  Wednesday, September 09, 2009 1:17 PM
You Need to Install the MS Office on the System.
Please mark the post as answer if it is helpfull to you because it boosts the members to answer more and more.
_SuDhiR_  Wednesday, September 09, 2009 1:17 PM
If it not there then is there any other option???
Thanks Avinash Desai
Avinash Desai  Wednesday, September 09, 2009 1:25 PM
See this discussion for a summary of your options.
Wole Ogunremi  Wednesday, September 09, 2009 1:34 PM

Hi,

I also think you need to install.

The following thread also tells about that.

http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f34ef6bb-21b2-4bcd-afad-009c319d886b

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, September 16, 2009 12:06 PM

You can use google to search for other answers

Custom Search

More Threads

• combobox behavior?
• datagridview display help
• DataGridView ComboBoxCell, ArgumentException
• Why does Dataset.table(n).clear take so long?
• Wrapping Windows Forms DataGrid Column
• Conect data from sql serverce to sql server
• DataGridView Formatting Question
• Move select after Enter in DataGridView
• [DataGridView] Jumping to a row on key press
• Excel like tables / grids without binding?