Include Excel-File in exe-File

T

Tobias Neubert

Hallo

I have a C++ program which writes data into an Excel-Sheet by OLE. It needs
to be a special Excel-File because it contains a macro.
Now I'd like to include this Excel-file in the exe-file of the c++ program
and "unzip" it while the program is running.
Is that possible?
I read much about Resource-Files but I don't know how to create one with
Borland C++Builder.
And I also don't really know how I would get the xls-file out there.

Can anyone help me?

Thank You: Tobias Neubert
 
V

Victor Bazarov

Tobias said:
I have a C++ program which writes data into an Excel-Sheet by OLE.

The use of OLE already makes it platform-specific.
It needs
to be a special Excel-File because it contains a macro.
Now I'd like to include this Excel-file in the exe-file of the c++ program
and "unzip" it while the program is running.
Is that possible?

Not in Standard C++ it isn't.
I read much about Resource-Files but I don't know how to create one with
Borland C++Builder.

Then perhaps you should ask in a C++Builder newsgroup. Try
borland.public.cppbuilder.*
And I also don't really know how I would get the xls-file out there.

They can probably explain it to you as well.
Can anyone help me?

Somebody in a Borland newsgroup probably can.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,176
Messages
2,570,947
Members
47,498
Latest member
log5Sshell/alfa5

Latest Threads

Top