Have you tried adding fpPublishSynchronize
--
|I have followed the msdn example for the publish method:
|
http://msdn.microsoft.com/library/d...bafpw11/html/fpmthPublish_HV05274838.asp?_r=1
|
| I would like the Vb6 (or VBA) publish command to use the FpWebPublishFlags
| as described in msdn.
| see FpWebPublishFlags
|
http://msdn.microsoft.com/library/en-us/vbafpw11/html/fphowConstants_HV01049733.asp?frame=true&_r=1
|
| When I set them as follows:
|
| Dim myPublishParam As FpWebPublishFlags
| myPublishParam = fpPublishAddToExistingWeb + fpPublishIncremental
| objWebWindow.Application.ActiveWeb.Publish RemoteWebPath, myPublishParam
|
| It will only copy from local to remote when the file status is changed on
| local and unchanged on remote. If I add a new file on the local - it will be
| copied to the remote. If I add a new file on the remote that is not on the
| local it does not get deleted (if I set the fpPublishSynchronize flag - it
| has no effect). When I execute the publish command, it does not err. It
| acts like the FpWebPublishFlags has no effect.
|
| If I use the manual Publish button in FrontPage - it works just fine.
|
| "Tom Gahagan" wrote:
|
| > you might have a better shot at the frontpage programming group but many
| > that answer there answer here!
| >
| > Best to you.......
| > Tom Gahagan
| >
| > | > >I am having some trouble using VB and VBA to automate the publishing of a
| > >web
| > > with FrontPage.
| > >
| > > It seems that the FpWebPublishFlags have no effect on the way FrontPage
| > > publishes.
| > >
| > > Which news group deals with issues using VB and VBA with FrontPage.
| >
| >
| >