I just found this board via the Corel website and I had a couple of
questions. First a brief description of what I'm attempting to learn: I have
a VB5 program that tracks data and occasionally I need to print certain data
from it. So I'll read that data, do come calculations, and then I want to
create a new WP8 document that contains this information, format it, save
and print it. I've looked at the help files in an attempt to understand the
processes behind this and all I've accomplished is to confuse myself. I've
even gone to B&N and looked for a book that covers this topic and drawn a
blank.
Here's what I'm trying to accomplish. Can anyone help me out with some
example code that shows me how to:
1) Grab WP8's attention (make the connection)
2) Ensure that I have a new blank document available
3) Poke information into the new document. (It would be great if that
information could have attributes applied to it like bolding, underlining,
etc.)
4) Save the document
5) Print the Document
6) Finally, break the connection to WP8
What is the best method of doing this? I kind of came to the conclusion that
DDE was the way to go because it looks to be able to do what I want, but
then I'm also speaking from ignorance too. :-) Opinions on this? I'm open to
any suggestion because I don't know how to do any of them! Are there any
other considerations to keep in mind, like making sure that WP8 has finished
what I've asked before I sever the connection?
It's not my intent to force anyone into being a teacher for me, so if you
don't have the time to help with example code, can you point me to some
documentation that I can read, that might also have some examples, from
which I can learn? And I wouldn't mind learning many different methods
either. Thanks for any help you can give me,
mike
The first thing I'd suggest you do is grab your WP CD (or download) and
install the SDK (Software Developers Kit) - you need to "explore" the CD and
there's a directory called something like SDK - run the setup. From there
you will get lots of usefull stuff and (if WP 8 supports it) an OLE Command
inserter that should make your life quite easy.
Regards
-----------[Trevor Campbell]--------------------------------------------
Bekkers IT Perth Western Australia
t...@bekers.com.au
Replies to newsgroup only please unless requested.
Unsolicited e-mails will be deleted without being read.
----------------------------------------------------------------------------
------
mike <uncle...@hotmail.com> wrote in message news:3a2e9c0d@cnews...