473,790 Members | 3,265 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating Excel file in asp.net using vb without installing office

1 New Member
I want create my output in excel file. But in server i cannot install office, its too costly

i am developing it with vishual studio2005 with vb.


so anybody can give the solution for this


thanks in advance
Mar 16 '10 #1
2 5813
tlhintoq
3,525 Recognized Expert Specialist
You don't need Office installed to use the .Net framework, which has office namespace.

http://msdn.microsoft.com/en-us/library/bb726434.aspx
Mar 16 '10 #2
YonngTyler
3 New Member
If you open the output excel file within the browser(inline) , you can just output a html with Response.Conten tType = "applicatio n/vnd.ms-excel". In the html you can use a table to render you data.
If you need to generate a complex excel file and you don't know what the html codes should be, you can:
1. create a similar excel as what you want via Microsoft Excel.
2. save it as a html file, you will get the html codes.
Dec 27 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

11
1948
by: James Baker | last post by:
Here's my situation. I need on-site manager's to be able to view a list of records on our website (which they already can do). They need to be able to select any/all fields and then export these items to an excel spreadsheet. The spreadsheet will have dynamically created columns/rows to append and life is good. What's the best way to go about this? I've used DTS to do this before, but it's been a long time and I can't remember if...
0
1032
by: ICE Srl | last post by:
Hi everybody I am trying to build an ASP.Net application to create dinamically an Excel File on the server. I am trying using this VB code Public Sub CreateExcelForm( Dim MyExcel As Excel.ApplicationClas Dim oWorkbooks As Excel.Workbook Dim theWorkbook As Excel._Workboo Dim oSheet As Excel.Workshee
3
2849
by: Whoever | last post by:
To create Excel file, you can Add Reference Visual Studio.NET, browse to ... and then select Microsoft.Office.Interop.Excel, etc. It endsup some reference to GUID in project file. You can then import namespace and create Excel file etc. Is it possible to do this in one aspx page without using VS project and code behind? Thanks
9
4438
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in asp.net. The Xl sheet should not be opened in the browser. All the information from dataset(datatable,datarows) should be sent to XL and the file name should be given dynamically through program and the xl file should be saved dynamically through...
4
2459
by: Maileen | last post by:
Hi, I'm new to VB.NET and i have a little trouble with a small task regarding use of Excel files. My VB application should be able to open an Excel file, extract some data, create another Excel file, create inside this new Excel file some table and write extracted data there. Nothing special...
8
4472
by: Wilbur Slice | last post by:
I need to write some VB.NET objects that can be called from another environment (a Progress app, specifically). I'm having some difficulty getting this to work. My first assumption was that I should write a COM object. Is this a good approach? Or is there a better one? I wrote the new VB.NET object and included a COM Class object. All is fine and the system creates a TLB file and everything. It all works great on my development...
2
2149
by: kalaivanan | last post by:
hi, i did not the office version of the system in which the application is going to be deployed. is there any way of opening an excel file which is office independent. My requirement is that i have to open a template file which is in the server. regards, kalaivanan
4
7227
by: mina | last post by:
One of my client want to export data into excel file but he can not installed office just installed excel and want to export file into ..xls format at that time he got error .... Retrieving the COM class factory for component with CLSID{00024500-0000-0000-C000-000000000046}failed due to the following error.80040154 i hope any one help me which ddl. require to avoid this error without installing whole office or is this possible to allow...
2
17724
by: Senthil | last post by:
Hi All I need to create an Excel report and create a command button and have to run a macro on the click event that will print all the pages in the Excel workbook. I am able to create the report from the database but I am not sure how do I put a command button and associate a macro with that using C#. Can anyone help me?? Thanks in advance. Senthil
4
8552
by: =?Utf-8?B?UHJpeWE=?= | last post by:
Hi, I'm developing a webservice whicg reads data from a database and exports to a excel sheet. This applciation works if i have MS Office installed in my system . Since i'm unable to install MS Office in teh server is there any alternate way to program this. Thanks in advance Priya
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10201
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9023
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6770
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5552
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4100
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3709
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.