Posted by IceDuck on 18:47:00 11-15-2002
i'm doing a practical course and they want me to write a programm that reads and writes to an excel spreadsheet. they gave me the class CSpreadSheet (see: http://www.codeguru.com/mfc_database/CSpreadSheet.html). so i did. but there are a couple restrictions. so now they want me to find a way to R/W to an excel sheet using ActiveX!! i can't find anything!! it has to be with VC++!!
HELP!!!!
thx in advance!!!
[addsig]
Posted by KaGez on 21:30:00 11-15-2002
I don't know if it uses ActiveX, but I think you might want to take a look at the Gnumeric source, which is able to read M$ Spread sheet data. I don't know the exact URL out of my head right now, but it's on the GNOME Office page, which you can access from http://www.gnome.org.
Another thing you might consider looking at is the OpenOffice.org sources. It has better support for M$ Spread sheets, but it's a awful amount of code.
[addsig]
Posted by IceDuck on 00:22:00 11-16-2002
thx
i allready found something!!!
[addsig]
Posted by dxprog on 03:39:00 11-16-2002
Even though you found something, Excel comes with an ActiveX control for reading and writing to a spreadsheet. I've used it in VB before.
[addsig]
Posted by IceDuck on 06:17:00 11-16-2002
in VB i found enough to. but not for VC++!!
Posted by Neu[Mann] on 07:05:00 11-16-2002
You can do ActiveX in C/C++ too. It's just really really painful to do using conventionnal Win32 API.
MFC might have something nicer but I know nothing 'bout that.
Posted by KaGez on 22:34:00 11-16-2002
WinAPI itself is a pain in the a** if you ask me
[addsig]