473,811 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading Data from Excel


Hi every one,

I am trying to build an applicatiuon which is supposed to read some data
from excel spread sheet. can some one please help me in showing how. The
excel file is created by other application and I have no control over it. My
application will only open that file and read data from some cols specified
by me.

Thanks
Jul 22 '05 #1
4 2590
"Ajay Tiku" <Ti***@Lifepred ictiontech.com> wrote in message
news:Rc******** ************@ma gma.ca...

Hi every one,

I am trying to build an applicatiuon which is supposed to read some data
from excel spread sheet. can some one please help me in showing how. The
excel file is created by other application and I have no control over it. My application will only open that file and read data from some cols specified by me.
Your query is not topical for comp.lang.c++

You can learn how to work with Microsoft products and
technologies by visiting www.msdn.microsoft.com, where
you can find information on interfacing with Excel and
other products. If you need further assistance, try
asking in one of the Microsoft newsgroups cited at
that link.

Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt
-Mike

Thanks

Jul 22 '05 #2
"Ajay Tiku" <Ti***@Lifepred ictiontech.com> wrote in message
news:Rc******** ************@ma gma.ca...

Hi every one,

I am trying to build an applicatiuon which is supposed to read some data
from excel spread sheet. can some one please help me in showing how. The
excel file is created by other application and I have no control over it. My application will only open that file and read data from some cols specified by me.
Your query is not topical for comp.lang.c++

You can learn how to work with Microsoft products and
technologies by visiting www.msdn.microsoft.com, where
you can find information on interfacing with Excel and
other products. If you need further assistance, try
asking in one of the Microsoft newsgroups cited at
that link.

Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt
-Mike

Thanks

Jul 22 '05 #3
Try this newsgroup they will help as they have help me in the past

microsoft .public.excel.p rogramming

they actually have more people to help you with programming, rather than
people just waiting to tell you how about proper newsgroup etiquette

"Ajay Tiku" <Ti***@Lifepred ictiontech.com> wrote in message
news:Rc******** ************@ma gma.ca...

Hi every one,

I am trying to build an applicatiuon which is supposed to read some data
from excel spread sheet. can some one please help me in showing how. The
excel file is created by other application and I have no control over it. My application will only open that file and read data from some cols specified by me.

Thanks

Jul 22 '05 #4
Try this newsgroup they will help as they have help me in the past

microsoft .public.excel.p rogramming

they actually have more people to help you with programming, rather than
people just waiting to tell you how about proper newsgroup etiquette

"Ajay Tiku" <Ti***@Lifepred ictiontech.com> wrote in message
news:Rc******** ************@ma gma.ca...

Hi every one,

I am trying to build an applicatiuon which is supposed to read some data
from excel spread sheet. can some one please help me in showing how. The
excel file is created by other application and I have no control over it. My application will only open that file and read data from some cols specified by me.

Thanks

Jul 22 '05 #5

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

Similar topics

6
18858
by: Paul | last post by:
I was wondering if anyone has had an issue where using vba code to read an excel file and import the data into an access table some records are not imported from the excel file. It seems looking at the data in the excel file that if the first character in the excel file cell is numeric it will read and write only numeric values only. If I sort the coloumn in the excel file and the first character in the cell read is alphanumeric then only...
4
5211
by: Phoebe. | last post by:
Hi, Good Day! Reading 1 excel file into a dataset is fine. How can I read multiple excel with the same data structure into 1 dataset? How can I append those data? Can someone help? Thanks in advanced. rgds,
5
8959
by: Scott M. Lyon | last post by:
I've just discovered a bug in some code I wrote a little while ago, and I need you guys' help to fix it. My program imports data from a standard Excel Spreadsheet (just with specific column headers). I used ODBC in my VB.NET program to read that spreadsheet into a dataset, to make it easy to manipulate. The code I use to read it is as the bottom of this posting.
6
7046
by: simchajoy2000 | last post by:
Hi, So I do actually know how to read excel into VB.NET using the following approach: With oConn2 .ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & FilePath & ";Extended Properties=Excel 8.0;" .Open() End With
3
1623
by: Bharathi Kumar | last post by:
Hi, In my windows application, I have created excel.application object and read the excel data. I saved the data to sql server also. The problem Iam facing is when I create an instance of excel.application object, Microsoft excel process is being created and it stays though I terminate the application. I gave an input excel file, the problem has read the contents of that file........
9
22515
by: dba123 | last post by:
I need some help and direction on what classes and an example or two (article) on how to read an Excel Worksheet and insert one column into a database table column. I am using .NET 2.0 only. What namespaces and classes should I use and how? -- dba123
3
8030
by: Brad | last post by:
I'm having a problem reading data from an Excel file into a dataset. Can anybody give me an idea of what's happening? I've included the problematic source and the error message to the end of this message. TIA Brad Here's a snippet of my source code:
0
2742
by: Chris Dunaway | last post by:
Enterprise Library January 2006 Visual Studio 2005 Lanugage: C# I am attempting to use the Enterprise Library to read data from an Excel spreadsheet file. I got the following connection string from connectionstrings.com: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties="Excel 8.0;HDR=Yes;IMEX=1"
1
10420
by: =?Utf-8?B?U2hlZXMgQWJpZGk=?= | last post by:
I read an article on the link: http://support.microsoft.com/default.aspx?scid=kb;en-us;306572 related to reading data from Excel using OLEDB The topic's heading is: How to query and display excel data by using ASP.NET, ADO.NET, and Visual C# .NET I am trying with the same code in Visual Studio 2005 in ASP.NET application. The code i am using is: protected void Page_Load(object sender, EventArgs e) { String connectionString...
1
4705
by: sachinkale123 | last post by:
Hi, I am reading excel file and reading values from that I am using provider As : "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = " + Filename + ";Extended Properties=\"Excel 8.0;Hdr=No;IMEX=1\""; Column Name 'Sol 1' and 'Sol 2' is missing even though it is reading the readings. Just not able to read column names. I am not sure about what is exact problem. so please help me in solving this. Thanx in advance.
0
9728
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10648
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
9205
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
7670
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
6890
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
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
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3018
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.