New to web publishing

  • Thread starter Thread starter Mindy
  • Start date Start date
M

Mindy

I don't know what I did but my site no longer works if i
just type in url. (www.traviscountycac.org). will work
fine though if I type in
www.traviscountycac.org/home.htm. Had deleted a default
page (per boss' requested) created by different co-worker
that no longer works here. It was one of those pages that
has an image and you need to click on it to enter site.
please help!
 
Open FrontPage and hit Ctrl-F11 to open the VB Editor. Paste the following
code into the code window. Switch back to FrontPage, select Tools, Macros
and run the ShowHomePageName macro. It will display a message box with the
home pages for the Web server in their order of precedence.

Public Sub ShowHomePageName()

On Error Resume Next
Dim s As Variant
Dim count As Integer
Dim msg As String

s = ActiveWeb.Properties("vti_welcomenames")

For count = 0 To UBound(s) - 1
msg = msg & s(count) & vbCrLf
Next count

MsgBox msg

End Sub

--
Jim Cheshire
Jimco Add-ins
Add-ins for FrontPage 2000-2003
http://www.jimcoaddins.com
===============================
Co-author of Special Edition
Using Microsoft FrontPage 2003
 
Back
Top