Solved

How to open an Excel file and edit it on a windows form

Posted on 2008-10-27
3
310 Views
Last Modified: 2012-05-05
I need to be able to open, create and edit an Excel file from a Windows form. I am not worth using DataGrid or DataGridView, abd not a WebBrowser.
What i want is the most similar to Excel itself.

Are some object in the office who i can use to it?

In teory i can use this objet : AxSpreadsheet but i dont find samples for he and when i put this object in the windows form i have a error message when i try to load the form.

Original Error Message in Spanish
Error: Error al crear el formulario. Consulte Exception.InnerException para obtener más detalles. Error: No se puede obtener el identificador de ventana para el control 'AxSpreadsheet'. Los controles ActiveX sin ventana no son compatibles.

google traduction:

Failed to create the form. See Exception.InnerException for more details. Error: Unable to get the identifier of the window to control 'AxSpreadsheet'. ActiveX controls without windows are not compatible.
0
Comment
Question by:JPdeLeon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 22811575
there are some 3rd party products that allows you to do it like http://www.fpoint.com/netproducts/spreadwin/spreadwin.aspx
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question