473,394 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Excel automation - writing image/picture files

I'm trying to automate Excel 2003 from Visual C# .Net. Is it possible to
export an picture/image file from c# to excel?

If so, how do you do this? Are there any code examples available?

Thanks.

Mansi

Nov 22 '05 #1
2 1914
You can use the COM libraries that MS provides. In your project go to add
reference to the COM tab. If you have office installed you should be able to
find a library similar to "Microsoft Excel 11.0 Object Library". This library
allows you to automate Excel. The object model is very easy to learn. Notice
that almost everything in the library is an interface. You can get started by
going through the ApplicationClass class. Search MSDN for more information...

Take a look at this: www.codeproject.com/com/ComExcelImages.asp

"Mansi" wrote:
I'm trying to automate Excel 2003 from Visual C# .Net. Is it possible to
export an picture/image file from c# to excel?

If so, how do you do this? Are there any code examples available?

Thanks.

Mansi

Nov 22 '05 #2
Thanks so much for this link! This is exactly what I was looking for. :)

"Alex K" wrote:
You can use the COM libraries that MS provides. In your project go to add
reference to the COM tab. If you have office installed you should be able to
find a library similar to "Microsoft Excel 11.0 Object Library". This library
allows you to automate Excel. The object model is very easy to learn. Notice
that almost everything in the library is an interface. You can get started by
going through the ApplicationClass class. Search MSDN for more information...

Take a look at this: www.codeproject.com/com/ComExcelImages.asp

"Mansi" wrote:
I'm trying to automate Excel 2003 from Visual C# .Net. Is it possible to
export an picture/image file from c# to excel?

If so, how do you do this? Are there any code examples available?

Thanks.

Mansi

Nov 22 '05 #3

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

Similar topics

2
by: Mansi | last post by:
I'm trying to automate Excel 2003 from Visual C# .Net. Is it possible to export an picture/image file from c# to excel? If so, how do you do this? Are there any code examples available? ...
7
by: taylor.bryant | last post by:
I am running: Win XP SP2 Excel 2002, Access 2002 (Office XP SP3) Using Visual Basic (not VB.NET) At one point (prior to XP SP2?!? - I can't pin it down), this did not happen and I was easily...
17
by: Mansi | last post by:
I need to do some research on how to use excel automation from c#. Does anyone know of any good books related to this subject? Thanks. Mansi
4
by: Banu_tr | last post by:
Hello, In my windows app. I send the result of sp to excel sheet. It has siz column. My problem is, I want to make the text in a column to hyperlink. How ca nI do this when I am sending the info...
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...
1
by: Troy | last post by:
I have VB.Net code that opens Excel files and imports data from them. It works fine for all versions up to 2003 and has for over a year. We have users updating to Office 2003 and the Excel...
6
by: Thelma Lubkin | last post by:
I am trying to modify an Access form that allows a user to specify the information s/he needs from a census-type database. The form's code builds a SQL statement from the user's request, and...
14
by: cj | last post by:
I want to start a workbook and add sheets to it one at a time. Right now my code opens a workbook and it has 3 sheets alread in it and I don't even know how to move from one to another. Any help...
3
by: saragoesnuts | last post by:
I have a program that automates to Excel with information in tables. I want to add charts to the excel file (pie charts, bar charts, etc). Is this possible?
4
by: =?Utf-8?B?THluZXJz?= | last post by:
Hello All, We have a VB.NET application writen using VS 2003. This application apens an excel file from a vendor, reads the data and performs whatever functions it needs. We recently upgraded our...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.