New to web publishing

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!
 
T

Theresa Bennett

J

Jim Cheshire

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
 

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