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

Excel Chart

Hi there. How do I further call an excel chart into my vb prog. Right now, all I can do is call open the excel file. However, I want to make the excel chart file executable. In other words, my customer must not need excel program to open the chart. Is there any way I could do this? Or should I just draw the chart on vb prog itself using GUI?
Jul 26 '07 #1
4 1406
Killer42
8,435 Expert 8TB
Hi there. How do I further call an excel chart into my vb prog. Right now, all I can do is call open the excel file. However, I want to make the excel chart file executable. In other words, my customer must not need excel program to open the chart. Is there any way I could do this? Or should I just draw the chart on vb prog itself using GUI?
You can use the MSChart control to produce the chart in VB, and I don't think you need Excel installed. Though obviously you do need to get the data somehow, which may require Excel.
Jul 26 '07 #2
You can use the MSChart control to produce the chart in VB, and I don't think you need Excel installed. Though obviously you do need to get the data somehow, which may require Excel.
Thanks, but I'm actually avoiding Excel bcos a colleague of mine was saying that MSChart does not support VB 2005 Express Edition (the version we're using). He had tried using MSChart but in the end redo everything he has done.

Hmm.. are u saying that there's no way I could get data from Excel without having the program itself?
Jul 26 '07 #3
Killer42
8,435 Expert 8TB
Thanks, but I'm actually avoiding Excel bcos a colleague of mine was saying that MSChart does not support VB 2005 Express Edition (the version we're using). He had tried using MSChart but in the end redo everything he has done.

Hmm.. are u saying that there's no way I could get data from Excel without having the program itself?
I think that's the case, but I'm not expert in this area. If you think about it though, you need something which can interpret the contents of the Excel file. Seems to me, that would probably mean one of these:
  • Excel
  • A conversion program which converts between different spreadsheet programs
  • Perhaps an ODBC driver which is designed to read Excel files and treat them as databases.
  • Not sure what else.

However, as I said I don't have a lot of experience in this area. Does the MSChart control work with Excel files? If so, I'd recommend you double-check the availability/compatibility with your VB version. (Of course, the simplest thing might be to try creating a sample application which uses MSChart, and see what happens.)
Jul 26 '07 #4
I think that's the case, but I'm not expert in this area. If you think about it though, you need something which can interpret the contents of the Excel file. Seems to me, that would probably mean one of these:
  • Excel
  • A conversion program which converts between different spreadsheet programs
  • Perhaps an ODBC driver which is designed to read Excel files and treat them as databases.
  • Not sure what else.

However, as I said I don't have a lot of experience in this area. Does the MSChart control work with Excel files? If so, I'd recommend you double-check the availability/compatibility with your VB version. (Of course, the simplest thing might be to try creating a sample application which uses MSChart, and see what happens.)
Thanks Killer. I will try using MSChart. =)
Jul 27 '07 #5

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

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
0
by: mscir | last post by:
Date: Thu, 08 Jul 2004 17:02:27 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <10ero4l3kp2qa65@corp.supernews.com> Reply-To: mscir@usa.com User-Agent: Mozilla/5.0...
1
by: Robin Tucker | last post by:
Heres and interesting problem: I have a VB.NET program that creates reports via. Word Automation. This all works fine. What I want to do as part of this report generation process is to embed a...
1
by: Randall Arnold | last post by:
I'm converting a vbscript program to vb.net. Witht he exception of .net idiosyncrasies, most of it is working well with the same code. My only problem is that some properties and methods are...
0
by: pmclinn | last post by:
The code below takes the data from the S column and grabs all the data and graphs it. The problem is this example grabs 500 cells worth of data and some of these cells = nothing. How do I rescope...
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...
0
by: madhatter84gn | last post by:
I am trying to automate an excel spreadsheet and then create a chart. Dim chartRange As Excel.Range If rollup Then chartRange = sheet.Range("O2:Q14", Type.Missing) ...
0
by: AlexNunley | last post by:
I am trying to dump data from an access query into excel so I can pretify it. I found sample code from an old access 97 book (The version of access in use)and tinkered it into working. Well sort...
9
by: AGP | last post by:
I have a VB6 application that has an OLE container with an embedded Excel chart. Our office updated to Excel 2007 and now although the app works the charts looks like crap. Since the app is fairly...
1
by: Ally | last post by:
Hi all, I’m looking to plot charts in Excel from python. After some Googling I’ve found the following code: def plot(x, y, xAxisLog=False, yAxisLog=False): # acquire application object, which...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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: 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
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...

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.