|
-
April 5th, 1999, 03:36 AM
#1
Calling a Word, Write Notepad from a dialog
Hi,
How do I call a Word or a Write or a Notepad using a COM interface. If it is a big lengthy what other way is it possible.
Thanks and Regards
Dharnidhar
-
April 6th, 1999, 08:27 AM
#2
Re: Calling a Word, Write Notepad from a dialog
Hello,
Here are a couple ways:
1. If you want your program to have access to words member functions then, create a class using the msword8.olb file. Go to class wizard. Select Add class from type lib. Remove the underscore and click ok. This is called Automation.
2. Create a dispatch interface (More difficult) (need source just email)
3. If you just want a call to popup word or write, how about an old fashion call to winexec() ?? You can call that from an interface.
Later,
Jesus
[email protected]
(using anonymous because registration is failing for some reason)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|