Executing frontpage from hyperlink, allowing edit of current page

M

Michael R

Issue: To create a hyperlink to the document in which it appears, but which
open the document in Frontpage for editing.

I already know how to create hyperlinks and link to documents, but then only
with default program.
The need here is, from a hyperlink, to open an .html page directly into
Frontpage.
 
M

Michael R

Dear Steve Easton and Teriel9,

Thank you for the quick responses.
I should have said that the solution needed is for applications running on
standalone office desktops.
The Contentseed solution is server-based; is the security limitation also
with respect to servers only? That is, could there not be eg a macro created
for opening a local application (Frontpage), which then opens a specified
file?

Mike R.
 
S

Stefan B Rusynko

Yes you can access the FP Web object methods from any Office Program in VBA
See http://msdn2.microsoft.com/en-us/library/aa156754(office.10).aspx and specifically
http://msdn2.microsoft.com/en-us/library/aa156199(office.10).aspx (say from Excel or Word)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Dear Steve Easton and Teriel9,
|
| Thank you for the quick responses.
| I should have said that the solution needed is for applications running on
| standalone office desktops.
| The Contentseed solution is server-based; is the security limitation also
| with respect to servers only? That is, could there not be eg a macro created
| for opening a local application (Frontpage), which then opens a specified
| file?
|
| Mike R.
 
M

Michael R

Dear Stefan,

Neither of the links you provided would open; "MSDN Sorry, we were unable to
service your request, etc."

I have found the following in FrontPage Visual Basic Help; if I could work
out how to run a macro from within a page, would this be useful?

---------------------------------------------------------------
Edit Method
See Also Applies To Example Specifics
The Edit method is used to open Microsoft FrontPage compatible files in a
page window. These files include file formats such as HTML, CSS, ASP. To open
files of other types use the Open method.

Note HTML files without extensions will not open with the Edit method.

expression.Edit(ViewMode)

expression An expression that returns a File object.

ViewMode Optional FpPageViewMode.

FpPageViewMode can be one of these FpPageViewMode constants.
fpPageViewDefault default
fpPageViewHtml
fpPageViewNoFrames
fpPageViewNormal
fpPageViewNoWindow
fpPageViewPreview

Example
This example shows how to use the Edit method to open a file for editing.

Note You must have a web open to run this program with a file called
RedWines.htm in the web or you may substitute a file of your choice.

Private Sub ModifyFile()
Dim myFile As WebFile

Set myFile = ActiveWeb.RootFolder.Files("RedWines.htm")

myFile.Edit
End Sub
 

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