473,785 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to open large HTML FILES IN EXCEL In quick Time

hi,

i am using the following code to generate a xls file using the
content type
now when the user opnes the file at his pc it takes long time to
open..if the no of records in file is large
does the use of html tags has slow down the process of opening in
excel...
does speical care needs to be taken so that large html files open in
excel quiclky........ .............

Please advise your feedback....
Response.Conten tType = "applicatio n/vnd.ms-excel"
Response.Write( "<basefont face=""Arial Narrow"" size = ""2""
color=""#000000 "">")
Response.Write( "<TABLE border = 0 color=blue align=left>")
Response.Write( "<TR>")
Response.Write( "<td colspan = 8><font size=4><b>Indir ect Channels -
Management Information System</b></font></td>")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "&nbsp")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "<td colspan = 7><font size=3><b>" & strRptName &
"</b></font></td>")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "&nbsp")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "<td colspan = 4><b>User Id : " & session("userid ") &
"</b></td>")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "<td colspan = 4><b>User Name : " &
session("userna me") & "</b></td>")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "<td colspan = 4><b>Period From : " & strPeriodFrom &
"</b></td>")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "<td colspan = 4><b>Period To : " & strPeriodTo &
"</b></td>")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "&nbsp")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "<td colspan = 4><b>IN CONFIDENCE</b></td>")
Response.Write( "</TR>")
Response.Write( "<TR>")
Response.Write( "&nbsp")
Response.Write( "</TR>")
Response.Write( "</TABLE>")
Jul 19 '05 #1
0 2417

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
35563
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet and extract information from specific worksheets and cells. I'm not really sure how to get started with this process. I ran the COM Makepy utility from my PythonWin (IDE from ActiveSTate),
55
5191
by: Jonas Smithson | last post by:
I've seen a few attractive multi-column sites whose geometry is based on pure CSS-P, but they're what you might call "code afficionado" sites, where the subject matter of the site is "coding practices." (One example of this is alistapart.com.) However, the project/development realities for small boutique sites are completely different from those of large commercial or institutional sites -- and I was curious to see what coding approaches...
1
651
by: Sarah | last post by:
Hello. I am using Microsoft.Office.Interop.Excel in a C# .NET project. I want to open an Excel application with a specific file name. I am currently opening it with this code: oXL.Workbooks.Open(src, Type.Missing, true, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
10
4739
by: comp.lang.php | last post by:
echo mime_content_type('/var/www/html/video/small.mov'); // 1.5mb Quicktime video returns "video/quicktime" echo mime_content_type('/var/www/html/video/huge.mov'); // 10.5mb Quicktime video returns "text/plain" Environment: PHP 5.0.4 - Windows XP --enable-mime-magic PHP 4.3.11 - Fedora Core 4 --enable-mime-magic
6
6768
by: Daniel | last post by:
Hi all, Can i open and edit the excel sheet on web page after downloading? After editing, i close the web page and the excel file auto upload to the server. Is it possible? I really struggling about the ability. If not, what advice can u provide? thank you in advance. ur help will be appreaciated.
9
1405
by: John Kotuby | last post by:
Hi all... While looking around for tools to create Excel files from either HTML pages or the Data I use to assemble them, I got an interesting response from a vendor. I have looked at Apose, and may end up using their product. I am also looking at the capability of SQL Server 2005 reporting services to produce multi-worksheet workbooks. However, a vendor that does HTML to PDF conversion asked me why I have not used Office Open XML...
2
1891
by: Jeroen | last post by:
The group and search engines revealed many hints on how to use the 'Open With...' dialog, for example at: http://www.codeproject.com/csharp/openwith.asp Now in addition to a solution as presented in the tutorial above, I would like to remember the application that was chosen, so that I don't have to ask the user next time. The situation I'm trying to tackle is as follows. Our application
1
3208
by: johndoyle | last post by:
I've seen a few posts on other sites discussing how to save an excel file, word file, or other office doc as a pdf document. In general, seems the solutions have been pretty complicated or involved trying unsuccessfully to use the undocumented AdobePDFMakerForOffice class. One quick fix that could save time for others, and is not too difficult, is to use the Execute() method of the Excel.Application.CommandBars class. It's definitely a...
2
4616
by: hharry | last post by:
Hello All, Does anyone know of a method to automatically detect if a file is corrupted ? Due to a failed backup process a number of files were corrupted. The files are mostly .xls, .doc, .pdf. When you try to open the file, a dialog box opens stating that the file cannot be opened. I need to log which files wont open properly, and I'm hoping there is a way to automate the process.
0
9480
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
10324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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...
1
10090
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9949
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8971
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...
0
6739
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.