473,946 Members | 8,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic Generation of Graph....

Hello everybody.....

I have an excel file which is resided on server,there is some data on
the cells .Now i want to
generate dynamic graph on the basis of the data present in the excel
file using ASP.NET.
I have solution of this ,that i should use the Com component
interop.microso ft.excel.but
According to the specifaction of this Com Component.In order to
connect to excel u must have
reference of excel File that u want to manipulate.
this can be easily done by using...
Public oexcel As Excel.Applicati on
oexcel = CreateObject("E xcel.Applicatio n")
but This will create a reference of excel file of type
excel.applicati on .& its a newly created excel process.
But my problem is that i have an excel file that is resided on
server.And i need a reference of
this excel file of the type Excel.Applicati on.
How i can get reference , plz help me in this regard....

Mar 16 '07 #1
3 2686

"Jawad Rehman" <ja********@gma il.comwrote in message
news:11******** **************@ n59g2000hsh.goo glegroups.com.. .
Hello everybody.....

I have an excel file which is resided on server,there is some data on
the cells .Now i want to
generate dynamic graph on the basis of the data present in the excel
file using ASP.NET.
Please accept the following suggestion.

As a free alternative to using the Excel component, you may consider using
the TeeChart LITE for .NET charting control which is perfectly capably of
displaying the data the Excel chart can display in an ASP.NET page. You can
download TeeChart LITE for .NET here:

http://www.steema.com/downloads/form_tch_net.html

Thank you!

Christopher Ireland
www.steema.com
Mar 16 '07 #2
"Jawad Rehman" <ja********@gma il.comwrote in message
news:11******** **************@ n59g2000hsh.goo glegroups.com.. .

Jawad,
How i can get reference , plz help me in this regard....
I've already answered this question in the ASP.NET newsgroup...

I understand that you don't like the fact that Microsoft strongly advise
against server-side automation of Office through ASP.NET:
http://support.microsoft.com/default...US;q257757#kb2

but there's not much I can do about that...

As I've already told you, there are plenty of free charting solutions for
ASP.NET which don't require Office automation...

Mark
Mar 16 '07 #3
On 16 Mar 2007 03:58:53 -0700, Jawad Rehman wrote:
Hello everybody.....

I have an excel file which is resided on server,there is some data on
the cells .Now i want to
generate dynamic graph on the basis of the data present in the excel
file using ASP.NET.

I have solution of this ,that i should use the Com component
interop.microso ft.excel.but
According to the specifaction of this Com Component.In order to
connect to excel u must have
reference of excel File that u want to manipulate.

this can be easily done by using...

Public oexcel As Excel.Applicati on

oexcel = CreateObject("E xcel.Applicatio n")

but This will create a reference of excel file of type
excel.applicati on .& its a newly created excel process.
But my problem is that i have an excel file that is resided on
server.And i need a reference of
this excel file of the type Excel.Applicati on.

How i can get reference , plz help me in this regard....
Server side automation of excel is strongly discouraged. For one thing the
odds or an errant message box being thrown by excel might occur, and said
message box will wait patiently on the server waiting for someone to
click...

There is a number of free and functional components you can use. I can
point you towards the following:
- ZedGraph
- NPot
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 16 '07 #4

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

Similar topics

4
5041
by: Martin Mrazek | last post by:
Hi, I have a HTML form and need to generate the action-string (what to do after submission) from values of textfields in the form. It means something like <form method="post" action=whatToDo.value> <input name="whatToDo" value="http:\www.myPage.com\cgi-bin\DoDefault"> .... </form>
0
1245
by: Hugo Ferreira | last post by:
Hi all, I'm having a problem here, to which I hope someone to be able to help me :) I need to apply a XSLT transformation to the output of all my ASPX webpages. I've recently found the tag <asp:xml> which allows me to point out a transformation document, and put inline XML. The problem is: I cannot mix logic in this XML. A simple example: <asp:xml TransformSource="XslDemo.xslt" runat="server">
5
4523
by: Markus Broy | last post by:
Hello everybody, I have a problem concerning the dynamic creation of a CustomValidator. If I create a CustomControl as shown in the code below and the page is post back the validation procedure is never called. In Page_Load Page Validate() is called and in the control which should be validated there is a non numeric value.
4
4415
by: abroc | last post by:
sir, i due course of my project i have come up with the need of dynamically generating my crystal report as the input to the report is the datatabale which is dynamic by nature and is constructed on the fly when user make selection in a list box. The number of selection he makes and the type of selection he makes define the structure of my table at run time. i have been able to construct the ddata table but now how to feed this table into...
1
3497
by: Thomas Qvist | last post by:
We are building a suite of programs consisting of both winforms applications and office addins. We would like to pre-generate the xml-serialization classes and add it to our project to avoid the overhead at startup and thus enhance the performance of our applications. The programs are coded in c# under .net 1.1.
3
3227
by: fedya | last post by:
I am trying to have the last 12 months to always be the option in the dropdown for a combo box. (Basically a combobox, with dynamic options) I am using Access 2000. What is the function and syntax in visual basic to edit a combobox? I can do all the dynamic month generation, but I do not know how to edit a combobox from VB. Thank you.
3
2138
by: Jawad Rehman | last post by:
Hello everybody..... I have an excel file which is resided on server,there is some data on the cells .Now i want to generate dynamic graph on the basis of the data present in the excel file using ASP.NET. I have solution of this ,that i should use the Com component interop.microsoft.excel.but According to the specifaction of this Com Component.In order to
3
1729
by: jasone | last post by:
Hi all! so im moving onto java script, and need your help! Scope I am creating a form that calculates the compound interest over a number of years, which is all editted by the user.. when a calculate button is pressed, it loads the data into a new window and displays what intrest they earn each year or month depending on how many months/years they entered! i basically want to convert this data into a graphm have any of you done...
4
3143
Samishii23
by: Samishii23 | last post by:
By generator I mean, like MakeForm('Form1'); pushes out a user password form. Then MakeForm('Form2'); make form that adds Car data information into a DB? That kind of thing. I was originally thinking about a "String" parser like this: "fName=Name|fType=Text|fSize=13|fMaxLen=25|". Would print out a <input> tag with the above listed parameters. Anyone have a thought on this? Cause my project is gonna have atleast 20 forms or more. And...
0
9981
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11566
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11153
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10688
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9886
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8253
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6112
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6331
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4533
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.