472,980 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,980 software developers and data experts.

Excel Alternatives

I need to create a simple excel file via a console application (C#) which is
schedule to run on a perodic basis.
I first attempted to create and XML file, but when I opened this file up in
excel, it took about 25 minutes to load (about 40,000 rows to the excel file
with about 15 columns). Given the amount of time it took to bring up the
file, I did not consider this to be a viable alternative.
I then created a native Excel file from within the application, and this
works just fine when I run the application interactively. When I schedule
the job to run, I run up against a security error. Upon research Microsoft
does not recommed nor support this method.
I could create a comma delimited file, but then the user has to go through
the hassle of parsing the file each month and each time they access the file
(as they have no ability to save their changes.
So what method would be appropriate for being able to launch a scheduled C#
application and creating an excel file?

Thnaks in advance for your assistance!
Jan 30 '06 #1
3 1762
Comma delimitted, but save with .xls extension. That will work for you.

"Jim Heavey" wrote:
I need to create a simple excel file via a console application (C#) which is
schedule to run on a perodic basis.
I first attempted to create and XML file, but when I opened this file up in
excel, it took about 25 minutes to load (about 40,000 rows to the excel file
with about 15 columns). Given the amount of time it took to bring up the
file, I did not consider this to be a viable alternative.
I then created a native Excel file from within the application, and this
works just fine when I run the application interactively. When I schedule
the job to run, I run up against a security error. Upon research Microsoft
does not recommed nor support this method.
I could create a comma delimited file, but then the user has to go through
the hassle of parsing the file each month and each time they access the file
(as they have no ability to save their changes.
So what method would be appropriate for being able to launch a scheduled C#
application and creating an excel file?

Thnaks in advance for your assistance!

Jan 30 '06 #2
"Jim Heavey" <Ji*******@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
I need to create a simple excel file via a console application (C#) which
is
schedule to run on a perodic basis.
I first attempted to create and XML file, but when I opened this file up
in
excel, it took about 25 minutes to load (about 40,000 rows to the excel
file
with about 15 columns). Given the amount of time it took to bring up the
file, I did not consider this to be a viable alternative.


Any reason you can't create a spreadsheet that links in data from a
database, and then just throw the data to the database? The user will not
have to deal with the same latency and the operations will efficient.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
Jan 30 '06 #3
Jim Heavey wrote:
I need to create a simple excel file via a console application (C#)
which is schedule to run on a perodic basis.
I first attempted to create and XML file, but when I opened this file
up in excel, it took about 25 minutes to load (about 40,000 rows to
the excel file with about 15 columns).


Hi,
I am a little biased here, since I am a developer of a third party
solution to creating excel files, but I would recommend you take a look
at them. Third-party solutions are faster than automating Excel, do not
require to have Excel installed, and allow for a complete range of
formatting, so you do not have to deploy a 'naked' csv file.

I of course would recommend our solution
(at www.tmssoftware.com/go/?flexcelnet ) since I believe it is the
best, but take a look around, there are a lot of them.

Best regards,
Adrian.
Jan 31 '06 #4

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

Similar topics

4
by: RK | last post by:
Hi, In my application, I need to copy data from an Excel file into a SQL table. The article related to this can be found at http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B306572 ...
9
by: Maik | last post by:
Hello, I've developed an assembly, which opens an excel workbook and readout the range names and -values. I'm working with Office XP on my computer. I want to deploy this assembly on computers,...
9
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...
2
by: Praveen K | last post by:
I have a problem in communicating between the C# and the Excel Interop objects. The problem is something as described below. I use Microsoft Office-XP PIA dll’s as these dll’s were been...
2
by: Alex D. | last post by:
Hi .I cant seem to find a way to authorize asp.net user to create an Excel application using this: Microsoft.Office.Interop.Excel.ApplicationClass excel = new...
6
by: Mark | last post by:
I was able to get procedure to work in a VB.Net Windows application, and want to get it to work within a ASP.Net page. It won't create the instance of Excel. It blows up on the CreateObject...
8
by: matt | last post by:
hello, can anyone speak to some of the common or preferred methods for building Excel .XLS files, programmatically thru the .NET framework? i have an intranet app that needs to generate &...
0
by: chico_yallin | last post by:
I am trying to use an Excel file as a template for an Access report. To do this, I have linked the excel range to an unbound OLE frame. The OLE frame is placed over the report detail area and...
3
by: ianlukekane | last post by:
I've spent the past few weeks looking into various reporting mechanisms that will enable our company to create automated Excel reports in a "better" way. Currently, we're running a copy of Excel...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...

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.