LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default getting pointer to Excel file binary

Hi!

I have a program in C# which populate an excel worksheet.
I'd like to get an IStream pointer to the worksheet so that I could
send it via TCP/IP to another program.

We are not able to do that. the closest we could come to is:
- populate spreadsheet
- ask excel to save the file
- open it,
- send it
- close the file
- erase the file on disk

it does work, but going to disk for temporary data is a bit clunky.
So I was thinking, there might be a way to get from excel some kind of
object that I could use to read the excel file in memory.

the pseudocode would become:
we'd like to do:
- populate spreadsheet
- ask excel for data pointer
- send it (using the data pointer)

No more problems with:
- saving file
- name clash
- not deleting files
etc...

Any idea on how I could do it.

Thanks


Wonixen

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert binary image file to Excel sexball Excel Programming 2 September 14th 05 11:28 AM
Solver returns non binary answer in binary constrained cells Navy Student Excel Worksheet Functions 6 September 1st 05 03:11 PM
Binary operations (left/right shift, binary and/or, etc.) Mike Hodgson Excel Programming 4 June 17th 05 09:27 AM
Why is pointer and keyboard control is lost in certain Excel file. MarkB3 Excel Discussion (Misc queries) 0 January 4th 05 07:15 PM
Excel binary file format Rob Bovey Excel Programming 1 November 8th 03 12:04 PM


All times are GMT +1. The time now is 09:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"