I want to open a word document with variable text from a selfmade borland c++ application.
Does somebody know how to do this? Or maybe does someone have a link to an article where I can find information on this problem?
The Data Structures of word 2000 or later are treated as Confidential by Microsoft and therefore you will get a problem.
I think you can get it if you are a registrated Developer for Word, but that is difficult.
if Word documents are stored as .RTF files then you should be able to open then with the RichEdit component.
James P. Cottingham
When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity. [tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
Why not try to break the code first hehe.. and then share with all others!! My codes look like something a kid wrote I have absolutely no idea what I am talking about Somehow I still manage to make it work
I've got a (access)database with all sorts of information. In the c++ application you can alter this information and now I'd like to open a word-document with this information (and also make standard-letters with addressinformation) so you can print and alter the word-document.
Mexoi, I think there is a simpler way.
Write a serial letter with word and import the data you need from the access data base, may be a real Table or a predefined query. Check this way: I think it would be easier to manage.
If I'm not mistaking, what mexoi is trying to do is load the text FROM his application TO Word? and not load a word document to his application...
and if I'm not mistaking, that's not such a hazzle?! Believe my self to have seen a snippet that did just that... (could've mixed it up with a .rtf document though; not sure) My codes look like something a kid wrote I have absolutely no idea what I am talking about Somehow I still manage to make it work
If that is the case, he may want to look at ADO, too.
James P. Cottingham
When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity. [tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.