B
BioColor
Hi,
I have used VB6 to automate the FrontPage 2000 publishing of new PNG
files
to my web site using a modified version of the example in the MSKb.
With the proper DIMs I use the lines:
Set oFPweb = oFP.Webs.Add(Servername & FPWebFolder, "username",
"passwd")
oFPweb.Activate
oFPweb.RootFolder.Files.Add FilePath, True
This works, but the first line (I think) causes the folder FPWebfolder
to be converted into a
web folder when it was just a plain folder before running the VB
publish program.
To avoid this (my designer gets very uncomfortable), I've experimented
with various things like LocateFolder, but can't even get the program
to compile. I'm stumbling around like a blind man with the FP
description of the Web object methods and properties.
Can someone tell me what combination of methods I need to use to open
the web, "move" to the destination folder, and then copy new versions
of the files to that folder? Or is there a source for a better
description of how to manipulate a web with VB?
TIA
Duncan
I have used VB6 to automate the FrontPage 2000 publishing of new PNG
files
to my web site using a modified version of the example in the MSKb.
With the proper DIMs I use the lines:
Set oFPweb = oFP.Webs.Add(Servername & FPWebFolder, "username",
"passwd")
oFPweb.Activate
oFPweb.RootFolder.Files.Add FilePath, True
This works, but the first line (I think) causes the folder FPWebfolder
to be converted into a
web folder when it was just a plain folder before running the VB
publish program.
To avoid this (my designer gets very uncomfortable), I've experimented
with various things like LocateFolder, but can't even get the program
to compile. I'm stumbling around like a blind man with the FP
description of the Web object methods and properties.
Can someone tell me what combination of methods I need to use to open
the web, "move" to the destination folder, and then copy new versions
of the files to that folder? Or is there a source for a better
description of how to manipulate a web with VB?
TIA
Duncan