| | |
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 |
"crystal .net .net2005 30minutes 2005 2008 access account arithmetic array assignment basic binary bing box button buttons center check code component connectionstring convert cpu crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist editvb.net excel file-dialog firewall folder ftp hardcopy image images insert isnumericfuntioncall login math memory mobile ms mssqlbackend mysql navigate net networking opacity output passingparameters peertopeervideostreaming picturebox1 port printpreview problemwithinstallation project record reports" reuse save savedialog serial soap storedprocedure string tcp temp text textbox timer toolbox trim update updown useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio web wpf





