Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #9748 > unrolled thread
| Started by | "freenews.netfront.net" <chunpulee@qq.com> |
|---|---|
| First post | 2011-08-31 15:05 +0800 |
| Last post | 2011-09-02 16:04 +1200 |
| Articles | 10 — 7 participants |
Back to article view | Back to comp.lang.c
how to access excel in c? "freenews.netfront.net" <chunpulee@qq.com> - 2011-08-31 15:05 +0800
Re: how to access excel in c? jacob navia <jacob@spamsink.net> - 2011-08-31 09:47 +0200
Re: how to access excel in c? gazelle@shell.xmission.com (Kenny McCormack) - 2011-08-31 12:44 +0000
Re: how to access excel in c? jacob navia <jacob@spamsink.net> - 2011-08-31 15:10 +0200
Re: how to access excel in c? Kenneth Brody <kenbrody@spamcop.net> - 2011-08-31 12:59 -0400
Re: how to access excel in c? "Li Chunpu" <chunpulee@qq.com> - 2011-09-01 08:56 +0800
Re: how to access excel in c? jacob navia <jacob@spamsink.net> - 2011-09-01 10:15 +0200
Re: how to access excel in c? Ian Collins <ian-news@hotmail.com> - 2011-09-01 20:19 +1200
Re: how to access excel in c? "J. J. Farrell" <jjf@bcs.org.uk> - 2011-09-02 00:49 +0100
Re: how to access excel in c? Ian Collins <ian-news@hotmail.com> - 2011-09-02 16:04 +1200
| From | "freenews.netfront.net" <chunpulee@qq.com> |
|---|---|
| Date | 2011-08-31 15:05 +0800 |
| Subject | how to access excel in c? |
| Message-ID | <j3kmsp$a48$1@adenine.netfront.net> |
thanks! --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [next] | [standalone]
| From | jacob navia <jacob@spamsink.net> |
|---|---|
| Date | 2011-08-31 09:47 +0200 |
| Message-ID | <j3koup$4il$1@speranza.aioe.org> |
| In reply to | #9748 |
Le 31/08/11 09:05, freenews.netfront.net a écrit : > thanks! > > > > --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net --- Use COM. There is a published interface.
[toc] | [prev] | [next] | [standalone]
| From | gazelle@shell.xmission.com (Kenny McCormack) |
|---|---|
| Date | 2011-08-31 12:44 +0000 |
| Message-ID | <j3laba$dh2$3@news.xmission.com> |
| In reply to | #9750 |
In article <j3koup$4il$1@speranza.aioe.org>, jacob navia <jacob@jspamsink.org> wrote: >Le 31/08/11 09:05, freenews.netfront.net a écrit : >> thanks! >> >> >> >> --- Posted via news://freenews.netfront.net/ - Complaints to >news@netfront.net --- > >Use COM. There is a published interface. > Wait a second. I think you misunderstood the OP. See, Excel is an EXE, not a COM. -- > No, I haven't, that's why I'm asking questions. If you won't help me, > why don't you just go find your lost manhood elsewhere. CLC in a nutshell.
[toc] | [prev] | [next] | [standalone]
| From | jacob navia <jacob@spamsink.net> |
|---|---|
| Date | 2011-08-31 15:10 +0200 |
| Message-ID | <j3lbrc$n9g$1@speranza.aioe.org> |
| In reply to | #9755 |
Le 31/08/11 14:44, Kenny McCormack a écrit : > In article<j3koup$4il$1@speranza.aioe.org>, > jacob navia<jacob@jspamsink.org> wrote: >> Le 31/08/11 09:05, freenews.netfront.net a écrit : >>> thanks! >>> >>> >>> >>> --- Posted via news://freenews.netfront.net/ - Complaints to >> news@netfront.net --- >> >> Use COM. There is a published interface. >> > > Wait a second. I think you misunderstood the OP. See, Excel is an EXE, not > a COM. > Common Object Model (COM). Published interface for excel is several years old. You create an object with the object factory, then use the interfaces after obtaining them with iUnknown. All this is doable in C, and I had the source code for it that worked with Excel (That is a small EXE and a BIG DLL)
[toc] | [prev] | [next] | [standalone]
| From | Kenneth Brody <kenbrody@spamcop.net> |
|---|---|
| Date | 2011-08-31 12:59 -0400 |
| Message-ID | <U-CdnX9xmcod9cPTnZ2dnUVZ_t-dnZ2d@bestweb.net> |
| In reply to | #9748 |
On 8/31/2011 3:05 AM, freenews.netfront.net wrote:
> thanks!
You're welcome.
Oh, wait... I see a vague reference to a question in the subject: "how to
access excel in c?"
Well, the only way to do it in C is:
system("start excel");
and hope for the best.
Now, if you could explain what, exactly, you mean by "access excel" (well,
at least it wasn't "access access"), then someone over in one of the
Microsoft groups could probably help.
--
Kenneth Brody
[toc] | [prev] | [next] | [standalone]
| From | "Li Chunpu" <chunpulee@qq.com> |
|---|---|
| Date | 2011-09-01 08:56 +0800 |
| Message-ID | <j3ml8i$2km$1@adenine.netfront.net> |
| In reply to | #9769 |
For example, how to read some fields from excel file?
"Kenneth Brody" <kenbrody@spamcop.net>
??????:U-CdnX9xmcod9cPTnZ2dnUVZ_t-dnZ2d@bestweb.net...
> On 8/31/2011 3:05 AM, freenews.netfront.net wrote:
>> thanks!
>
> You're welcome.
>
> Oh, wait... I see a vague reference to a question in the subject: "how to
> access excel in c?"
>
> Well, the only way to do it in C is:
>
> system("start excel");
>
> and hope for the best.
>
> Now, if you could explain what, exactly, you mean by "access excel" (well,
> at least it wasn't "access access"), then someone over in one of the
> Microsoft groups could probably help.
>
> --
> Kenneth Brody
--- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [prev] | [next] | [standalone]
| From | jacob navia <jacob@spamsink.net> |
|---|---|
| Date | 2011-09-01 10:15 +0200 |
| Message-ID | <j3neui$vs8$1@speranza.aioe.org> |
| In reply to | #9788 |
Le 01/09/11 02:56, Li Chunpu a écrit : > For example, how to read some fields from excel file? > 1) Use COM to acquire an interface 2) Using that interface load the file into excel 3) Using that interface get the fields you want
[toc] | [prev] | [next] | [standalone]
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Date | 2011-09-01 20:19 +1200 |
| Message-ID | <9c8th8Feh1U1@mid.individual.net> |
| In reply to | #9799 |
On 09/ 1/11 08:15 PM, jacob navia wrote: > Le 01/09/11 02:56, Li Chunpu a écrit : >> For example, how to read some fields from excel file? >> > 1) Use COM to acquire an interface > 2) Using that interface load the file into excel > 3) Using that interface get the fields you want Or store the file in a non-propitiatory format and read it by standard means. -- Ian Collins
[toc] | [prev] | [next] | [standalone]
| From | "J. J. Farrell" <jjf@bcs.org.uk> |
|---|---|
| Date | 2011-09-02 00:49 +0100 |
| Message-ID | <j3p5m1$bqd$1@dont-email.me> |
| In reply to | #9800 |
Ian Collins wrote: > On 09/ 1/11 08:15 PM, jacob navia wrote: >> Le 01/09/11 02:56, Li Chunpu a écrit : >>> For example, how to read some fields from excel file? >>> >> 1) Use COM to acquire an interface >> 2) Using that interface load the file into excel >> 3) Using that interface get the fields you want > > Or store the file in a non-propitiatory format and read it by standard > means. Is that a format somewhere between grumpy and hostile? One that makes you curse Microsoft every time you have to parse it? I love spell checkers, they can be remarkably inventive.
[toc] | [prev] | [next] | [standalone]
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Date | 2011-09-02 16:04 +1200 |
| Message-ID | <9cb2ukF7mcU1@mid.individual.net> |
| In reply to | #9855 |
On 09/ 2/11 11:49 AM, J. J. Farrell wrote: > Ian Collins wrote: >> On 09/ 1/11 08:15 PM, jacob navia wrote: >>> Le 01/09/11 02:56, Li Chunpu a écrit : >>>> For example, how to read some fields from excel file? >>>> >>> 1) Use COM to acquire an interface >>> 2) Using that interface load the file into excel >>> 3) Using that interface get the fields you want >> >> Or store the file in a non-propitiatory format and read it by standard >> means. > > Is that a format somewhere between grumpy and hostile? One that makes > you curse Microsoft every time you have to parse it? > > I love spell checkers, they can be remarkably inventive. > oops... -- Ian Collins
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c
csiph-web