Switching to physical Path of document when editing from IE

J

Jason

Developing FrontPage Addin using .Net 2003.

I have been requested to be able to edit a document directly from IE. The
functionality is built in. My problem is that when frontpage launches I need
to be able to cancel the current load, convert the path to a physical file. I
have the event and can close the requested page, I can even convert the
http.... path to a server/share mapping. What I am struggling with is opening
the document. The open method does not appear to be implemented and
activedocument property is readonly..

I need to do this as the document contains regular HTML Server Side
includes and when opened from the browser the frontpage document contains the
resulting HTML code and not the server side references..I figured opening the
file directly would get around this...

Is there a way for me to open a document programatically?

Thanks
Jason
 
W

Wei-Dong XU [MSFT]

Hi Jason,

From my research and the SDK, the open method for opening one file from
Frontpage directly is not available.
open Method
http://msdn.microsoft.com/library/en-us/vbafpd11/html/fdmthopen.asp

If you want to open one local file, there is only one method from Frontpage
SDK. Open the web stie folder at first, and then, open the page. There is
one sample code from the sdk article
Open Method
http://msdn.microsoft.com/library/en-us/vbafpw11/html/fpmthOpen.asp

Frontpage SDK only supports to open the file from one opened web site
folder.

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong XU (WD)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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