473,396 Members | 1,929 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,396 software developers and data experts.

how to read office 2007 file when i drop to a application using visual c#(urgent)

hello everyone,
Iam having a windows form application created using visual c# 2008. I want to capture the drag and drop event of a office 2007 file( e.g .docx, .pptx, .xlsx) and read the .xml file in it. any help?.

Thank you very much.

Regards,
Dinesh.
Feb 11 '09 #1
1 1245
vekipeki
229 Expert 100+
Check this link to learn how to accept dropped objects: http://support.microsoft.com/kb/307966.

Then, you will have to unzip the .docx file (it is basically a .zip file) and find your xml file inside. For zip compression in C#, I use SharpZipLib (although there may be other libraries out there).
Feb 11 '09 #2

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

Similar topics

4
by: Hawkmoth | last post by:
Hi I hope you can help with what seems to be a simple problem that is driving me nuts! I am developing a C# application using Visual studio 2003 and I need to use Office 2003 automation. In...
4
by: Richard | last post by:
Office Addins are easy in .NET. Try this from Visual Studio's main menu: File New Project "Other Projects" Extensibility Projects Shared Addin Run the wizard and you're off...
0
by: fiona | last post by:
Divelements release fully featured Office 2007 style Ribbon control Major component suite designed to mimic the advanced user interface features of Microsoft Office 2007 Dorset, United Kingdom -...
6
by: | last post by:
Hi, I'm steel trying to read and update my XML file with Visual Basic Express but i am unable to find the right way to read my xml file and update it if neccessary... Here is my problem :...
0
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista...
3
by: auad | last post by:
Hi, I would like to know if there is any available .net library that allow me to create my own non-commercial applications in c# using the office 2007 UI ribbon controls. Thanks, Auad
0
by: girlswannahavefun | last post by:
Hi! I am developing an ASP application on a local machine with MS Office 2003 while the server we are testing it on has MS Office 2007. In visual studio i have added a reference to Microsoft Excel...
0
by: TBass | last post by:
Hi, For years, I've been using visual basic and the Excel Object library version 9 and 10 to pass data back and forth between Visual Basic and Microsoft Excel. A few months ago, we changed over...
7
by: David C | last post by:
I have an internal asp.net 2.0 web application where we display the contents of various files using Response.ContentType and Response.WriteFile() settings and it works great for .doc, .xls, etc....
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
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...
0
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,...

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.