|
-
March 9th, 2004, 09:57 AM
#1
Problem with OLE (Word)
Hello,
I get from one document the content with GetFormattedText and set it in an other with SetFormattedText.
I use
Code:
LPDISPATCH dp = doc1.GetFormattedText(); ... doc2.SetFormattedText(dp);
Is the use of LPDISPATCH correct? E.G. doc1.GetApplication() returns a LPDISPATCH, but it is a _Application. What is it for GetFormattedText?
Michael
-
March 10th, 2004, 03:26 AM
#2
Why not? It's the Range interface which derives from IDispatch. Hence you are in your right.
With best wishes,
Vita
-----------------------
Russian Software Development Network -- http://www.rsdn.ru
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
|