| | |
Unable to create an excel file in VB.net
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2005
Posts: 3
Reputation:
Solved Threads: 0
Hi,
Unsung VB.net, I am trying to create an excel file in my web server (windows 2000 server). But I end up with the following error:
System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.
MS Office is not installed in my server. Even I do not want to install MS Office in my server.
If any one can help me.
Thanks
Tapan Kumar Pattanayak
Unsung VB.net, I am trying to create an excel file in my web server (windows 2000 server). But I end up with the following error:
System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.
MS Office is not installed in my server. Even I do not want to install MS Office in my server.
If any one can help me.
Thanks
Tapan Kumar Pattanayak
Umm, ok. If you look at that error it tells you flat out... how do you expect to call on a CLSID (registry object) that you don't want to install in the server?
Inorder to create the XLS file (which is an object) you will need to object registered in the system registry in order for InteropServices to invoke methods from it.
Sorry dude, but you will have to install Excel at the minimum to have this work, at least to my knowledge anyway.
Reading from an excel file without excel installed is on thing, but creating one through method calls to it...is another.
Inorder to create the XLS file (which is an object) you will need to object registered in the system registry in order for InteropServices to invoke methods from it.
Sorry dude, but you will have to install Excel at the minimum to have this work, at least to my knowledge anyway.
Reading from an excel file without excel installed is on thing, but creating one through method calls to it...is another.
•
•
Join Date: Aug 2008
Posts: 4
Reputation:
Solved Threads: 0
eck the following link , step by step to ctreate the excel file
http://vb.net-informations.com/excel...reate_file.htm
hu.
http://vb.net-informations.com/excel...reate_file.htm
hu.
![]() |
Similar Threads
- Get data out of excel file stored as an image (MS SQL)
- Open Excel Sheet in Vb.net (VB.NET)
- Open Excel Sheet in Vb.net (VB.NET)
- Open Excel file from Visual Basic (Visual Basic 4 / 5 / 6)
- How to display Excel file in a tabPage? (VB.NET)
- record results in excel file from vb (VB.NET)
- Create log file in Visual C++.NET (C++)
- grabbing source from excel file (was: please, somebody help me!!!) (Visual Basic 4 / 5 / 6)
Other Threads in the VB.NET Forum
- Previous Thread: new learner
- Next Thread: Screen Scrape remove spaces/line breaks between specified tags
| Thread Tools | Search this Thread |
.net .net2008 30minutes 2005 2008 access account arithmetic array basic bing button buttons center check code combobox component connectionstring crystalreport data database databasesearch datagrid datagridview date design dissertation dissertations dropdownlist excel fade file-dialog filter folder ftp generatetags google gridview hardcopy images input insert intel internet mobile monitor ms net networking objects output panel passingparameters peertopeervideostreaming picturebox picturebox1 port position print printing problem problemwithinstallation project save searchbox searchvb.net select serial shutdown soap survey table tcp temperature text textbox timer timespan toolbox trim update updown user vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf year





