August 9th, 2000, 11:21 AM
#1
C++/Word Questions
I have a simple C++ wrapper class which inserts and formats text into Word.
Now I have tried to change it to set the Page Properties, margins etc.
I get the PageSetup pointer by:
PageSetupPtr pPageSetup = pDoc->GetPageSetup();
it returns an address, but when I try to use it, i.e:
pPageSetup->PutTopMargin(top);
It tries to branch to ffeeffee (unitialized storage).
So I guess that I must be doing something wrong, anyone any idea what?
Also, has anyone managed to get the
Find->Execute(lots of parameters...)
function to work to replace text in a document?
Any advice would be appreciated.
Bryan.
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
Bookmarks