Publishing using FrontPage

D

Derham

I have an application that is automatically publishing webs using the
FrontPage object model. The problem I am having is in getting FP to removed
unmatched files from the destination web.
I have used the example at
http://msdn.microsoft.com/library/d...n-us/dnfp2k2/html/odc_fppublishingwithvba.asp
and I still get the problem.
If I use FP manually to publish the web it tells me that there are unmatched
files and asks if I want to delete them. I can't get this functionality to
work programatically no matter what flags I use.
The critical piece of code is...
boolPublishResult = PublishWeb(txtDestination.Text, fpPublishFlags)
If I am using fpPublishFlags = 7 which I expect to be Incremental +
AddToExistingWeb + CopySubwebs
The fpPublishNoDeleteUnmatched does not seem to have any affect whether it's
set or not.

Any help with this would be appreciated.

thanks

Derham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top