Frontpage Server Extensions on IIS 4.0 & above.

Posted on 2002-03-12
Last Modified: 2010-05-02
I'm using Win2K server & VB 6.0 is my development tools.

is there any code that I can use to programmatically install frontpage server extensions & manipulate the frontpage server extensions settings on IIS?

Also, how to uninstall the frontpage server extension manually & programmatically?

thanks a lot for the help.
Question by:mah5696
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 3
  • +1
LVL 44

Expert Comment

ID: 6888188

Expert Comment

ID: 6890542

Thank you for your info. Anyhow, that info didn't help me to do any further in my development. I read that b4 too. Could you please furnish me with more info? thanks.
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.


Author Comment

ID: 6893071
my8817, thanks for helping me to update & ask. I think u shall post a question at on your own in order to get the solution for this question. I'd hope my question won't be abused. thank you.
LVL 44

Expert Comment

ID: 6893267
didn't see that the second question was from somebody else....indeed my8817 if you want to know more, ask your own question it keeps the thread readable an focused on one problem instead of different things....

Author Comment

ID: 6893273
bruintje, I'm still reading those link that u've posted. Hopefully, it'll help me then. thank you.

Author Comment

ID: 6895904
bruintje, can you please help me to find this exe

I don't know where to get it. thanks.
LVL 44

Expert Comment

ID: 6895995
that's not that hard ;)

IE5.5 and higher
Frontpage (Full) 98/2000
And also IIS and service packs for IIS/NT

LVL 44

Expert Comment

ID: 6895996
but be carefull on using it, it's 15K devil.......if you screw up the server settings you can start over with a clean box

Author Comment

ID: 6896025
Thanks, bruintje
I've already found the registry key based on the link that u passed to me. In that case, it doesn't require to use any of the 3rd party tools or so.

Anyhow, this solution isn't complete as I can add new FP server extensions to a specific site easily but I can't make the IIS metabase to display it. From the IIS metabase, it's still showing
"this site has not been configured to use FP server extensions..."

in this case, could you do me last favour to help me to locate the registry key that storing such info to tell the IIS metabase that such site has already configured to use the FP Server Extensions? Please help me to resolve it asap. thank you very much...

Accepted Solution

ianouii earned 300 total points
ID: 6927441
Hi, MAH 5696, this solution might help u if u want to implement it.

Private Declare Function GetExitCodeProcess Lib "Kernel32" _
(ByVal hProcess As Long, lpExitCode As Long) As Long

Private Declare Sub Sleep Lib "Kernel32" (ByVal dwMilliseconds As Long)
Private Declare Function OpenProcess Lib "kernel32.dll" _
         (ByVal dwAccess As Long, _
         ByVal fInherit As Integer, _
         ByVal hObject As Long) As Long
Private Const STILL_ACTIVE = &H103

private sub InstallFP ()

dim lngRetVal as long
Dim strCmd as string
dim intIndex as integer
dim strUserNm as string
dim strPswd as string
Dim lngChkVal As Long

'-- the site index. u can enumerate using the IADs.
intIndex = 1

'-- the author to the web FP server extensions.
strUserNm = "abc"

'-- the password for the user to author
strPswd = "abc"

    '-- install the FP using the 3rd party exe.
    strCmd = "c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\40\bin\fpsrvadm -o install -p 80 " & _
             "-m " & intIndex & _
             " -t msiis " & _
             "-u " & strUserNm & _
             " -pw " & strPswd

lngRetVal = OpenProcess(PROCESS_QUERY_INFORMATION, False, Shell(strCmd, vbHide))

    '-- Wait for the shelled application to finish:
        '-- Get the status of the process
         GetExitCodeProcess lngRetVal, lngChkVal
        '-- Sleep command recommended as well as DoEvents
         DoEvents: Sleep 100
        '-- Loop while the process is active
    Loop While lngChkVal = STILL_ACTIVE

msgbox "Done"

end sub


Expert Comment

ID: 6927442
to uninstall, use this.

strCmd = "c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\40\bin\fpsrvadm -o fulluninstall -p 80 " & _
             "-m " & intIndex

good luck. :>

Expert Comment

ID: 6927444
to manipulate your registry key, u can always use RegRead, RegDelete, RegWrite. Refer to MSDN for more information. good luck. :>

Author Comment

ID: 6930120
thanks ianouii. your code guided me how to start with. I think I have no choice but to follow. Anyhow, both experts inpired me. 1 deserved 300 points & the other deserved 200 points. Thank you everyone.

Author Comment

ID: 6930136
bruintje , pls go to this question to get your rewards. thanks. qid=20280269

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month5 days, 5 hours left to enroll

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question