Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
Generalon which port the applacition is running Pin
obaidullah28-Jan-04 8:00
obaidullah28-Jan-04 8:00 
GeneralRe: on which port the applacition is running Pin
Heath Stewart28-Jan-04 11:43
protectorHeath Stewart28-Jan-04 11:43 
GeneralFrontPage Web Connection Pin
Adam Hable28-Jan-04 7:27
Adam Hable28-Jan-04 7:27 
GeneralRe: FrontPage Web Connection Pin
Heath Stewart28-Jan-04 11:39
protectorHeath Stewart28-Jan-04 11:39 
GeneralRe: FrontPage Web Connection Pin
Adam Hable28-Jan-04 15:36
Adam Hable28-Jan-04 15:36 
GeneralRe: FrontPage Web Connection Pin
Heath Stewart29-Jan-04 2:18
protectorHeath Stewart29-Jan-04 2:18 
GeneralRe: FrontPage Web Connection Pin
Adam Hable29-Jan-04 4:02
Adam Hable29-Jan-04 4:02 
GeneralRe: FrontPage Web Connection Pin
Heath Stewart29-Jan-04 4:31
protectorHeath Stewart29-Jan-04 4:31 
No, it's not obvious because we get unrelated questions like "how do I use frames in my HTML document?" all the time. Trust me - I spend a LOT of time in here.

The majority of people that have used the FrontPage protocol before were using FrontPage. Even the Apache server project had to be given a FrontPage mod by Microsoft themselves in order to support it (last I knew, it was written by an MS employee with permissions without support from MS themselves).

The Office PIAs don't expose what's necessary for the FrontPage protocol to be used through the object model - read the documentation[^] of the object model on MSDN and you'll see that. To get an instance of anything using Microsoft.Office.Interop.FrontPage you need an instance of the FrontPage.Application object, which is an out-of-process automation server (a .exe executable, namely frontpg.exe). So this won't be using the FrontPage protocol but FrontPage itself. It this is not a problem, then follow below. Otherwise, google for the API documentation if you can event find it, or visit the http://www.apache.org[^] project and look for the FrontPage extensions mod.

If you want to use FrontPage to publish the web, then create an instance of the ApplicationClass. Get the Webs property and call Add to add a file:// URL to the root network directory, which also returns a WebEx instance. That has a method called Publish that you can then use to publish the folder (and its subfolders). Call Close on the WebEx when done and call ApplicationClass.Quit (implements _Application.Quit). This is roughly how all the Office applications work. If you have any experience automating Office (and I have lots) this becomes very easy because they are all architected about the same.

You won't find specific object model documentation for FrontPage, but you can use the concepts in the Word object model and apply them here, because as I said they are very similar in concept and architecture.


Microsoft MVP, Visual C#
QuestionIs COM Interop futureproof? Pin
DavidDunning28-Jan-04 6:40
DavidDunning28-Jan-04 6:40 
AnswerRe: Is COM Interop futureproof? Pin
Heath Stewart28-Jan-04 6:52
protectorHeath Stewart28-Jan-04 6:52 
GeneralC# DataBase Question Pin
mweston28-Jan-04 5:34
mweston28-Jan-04 5:34 
GeneralRe: C# DataBase Question Pin
Mazdak28-Jan-04 5:49
Mazdak28-Jan-04 5:49 
GeneralRe: C# DataBase Question Pin
Heath Stewart28-Jan-04 6:38
protectorHeath Stewart28-Jan-04 6:38 
GeneralRe: C# DataBase Question Pin
scadaguy28-Jan-04 7:26
scadaguy28-Jan-04 7:26 
GeneralRe: C# DataBase Question Pin
Anonymous28-Jan-04 16:06
Anonymous28-Jan-04 16:06 
GeneralresX Files Pin
gordingin28-Jan-04 5:30
gordingin28-Jan-04 5:30 
GeneralRe: resX Files Pin
Heath Stewart28-Jan-04 6:32
protectorHeath Stewart28-Jan-04 6:32 
GeneralRe: resX Files Pin
gordingin28-Jan-04 6:37
gordingin28-Jan-04 6:37 
GeneralRe: resX Files Pin
Heath Stewart28-Jan-04 6:42
protectorHeath Stewart28-Jan-04 6:42 
GeneralRe: resX Files Pin
gordingin28-Jan-04 6:56
gordingin28-Jan-04 6:56 
QuestionCan C# .NET controls be used in Excel? Pin
EyeOfTheSky28-Jan-04 4:40
EyeOfTheSky28-Jan-04 4:40 
AnswerRe: Can C# .NET controls be used in Excel? Pin
Heath Stewart28-Jan-04 6:27
protectorHeath Stewart28-Jan-04 6:27 
GeneralC# Webservice Deployment Pin
Victor Boctor28-Jan-04 2:57
Victor Boctor28-Jan-04 2:57 
GeneralRe: C# Webservice Deployment Pin
Uwe Keim28-Jan-04 3:19
sitebuilderUwe Keim28-Jan-04 3:19 
GeneralRe: C# Webservice Deployment Pin
Victor Boctor28-Jan-04 10:02
Victor Boctor28-Jan-04 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.