home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmOpenWeb
- BorderStyle = 3 'Fixed Dialog
- Caption = "Open Web"
- ClientHeight = 5490
- ClientLeft = 1890
- ClientTop = 2385
- ClientWidth = 5445
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 5490
- ScaleWidth = 5445
- ShowInTaskbar = 0 'False
- Begin VB.CommandButton btnOpen
- Caption = "Open Web"
- Height = 375
- Left = 240
- TabIndex = 9
- Top = 4920
- Width = 1215
- End
- Begin VB.TextBox txtUser
- Height = 285
- Left = 240
- TabIndex = 8
- Top = 4200
- Width = 4935
- End
- Begin VB.TextBox txtWeb
- Height = 285
- Left = 240
- TabIndex = 7
- Top = 3240
- Width = 4935
- End
- Begin VB.TextBox txtServer
- Height = 285
- Left = 240
- TabIndex = 6
- Top = 2280
- Width = 4935
- End
- Begin VB.CommandButton btnPrompt
- Caption = "Prompt to Open Web"
- Height = 375
- Left = 1680
- TabIndex = 0
- Top = 1200
- Width = 2055
- End
- Begin VB.Label Label8
- Caption = "(the name of a FrontPage author or administrator for the web)"
- Height = 255
- Left = 240
- TabIndex = 12
- Top = 4560
- Width = 4935
- End
- Begin VB.Label Label7
- Caption = "(the name of the FrontPage web, or nothing for the Root Web)"
- Height = 255
- Left = 240
- TabIndex = 11
- Top = 3600
- Width = 4935
- End
- Begin VB.Label Label4
- Caption = "(the TCP/IP host name or address of the web server machine)"
- Height = 255
- Left = 240
- TabIndex = 10
- Top = 2640
- Width = 4935
- End
- Begin VB.Line Line2
- X1 = 240
- X2 = 5160
- Y1 = 1800
- Y2 = 1800
- End
- Begin VB.Label Label3
- Caption = "User (optional):"
- Height = 255
- Left = 240
- TabIndex = 5
- Top = 3960
- Width = 1815
- End
- Begin VB.Label Label2
- Caption = "Web Name:"
- Height = 255
- Left = 240
- TabIndex = 4
- Top = 3000
- Width = 1815
- End
- Begin VB.Label Label1
- Caption = "Web Server:"
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 2040
- Width = 1815
- End
- Begin VB.Line Line1
- X1 = 240
- X2 = 5160
- Y1 = 960
- Y2 = 960
- End
- Begin VB.Label Label5
- Caption = "This form uses the following FrontPage Explorer methods:"
- Height = 255
- Left = 240
- TabIndex = 2
- Top = 120
- Width = 4935
- End
- Begin VB.Label Label6
- Alignment = 2 'Center
- Caption = "vtiPromptOpenWeb, vtiOpenWeb"
- Height = 255
- Left = 240
- TabIndex = 1
- Top = 480
- Width = 4935
- WordWrap = -1 'True
- End
- Attribute VB_Name = "frmOpenWeb"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub btnOpen_Click()
- MousePointer = 11
- Dim webber As Object
- Dim ret As Integer
- Set webber = CreateObject("FrontPage.Explorer")
- ret = webber.vtiOpenWeb(txtServer, txtWeb, txtUser)
- Set webber = Nothing
- MousePointer = 0
- End Sub
- Private Sub btnPrompt_Click()
- MousePointer = 11
- Dim webber As Object
- Set webber = CreateObject("FrontPage.Explorer")
- webber.vtiPromptOpenWeb
- Set webber = Nothing
- MousePointer = 0
- End Sub
-