home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / htmlso_1 / save.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-04-09  |  2.1 KB  |  74 lines

  1. VERSION 5.00
  2. Begin VB.Form Form6 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "Save?"
  5.    ClientHeight    =   975
  6.    ClientLeft      =   5250
  7.    ClientTop       =   4650
  8.    ClientWidth     =   3420
  9.    BeginProperty Font 
  10.       Name            =   "MS Sans Serif"
  11.       Size            =   8.25
  12.       Charset         =   177
  13.       Weight          =   700
  14.       Underline       =   0   'False
  15.       Italic          =   0   'False
  16.       Strikethrough   =   0   'False
  17.    EndProperty
  18.    ForeColor       =   &H80000008&
  19.    Icon            =   "SAVE.frx":0000
  20.    LinkTopic       =   "Form6"
  21.    MaxButton       =   0   'False
  22.    MinButton       =   0   'False
  23.    PaletteMode     =   1  'UseZOrder
  24.    ScaleHeight     =   975
  25.    ScaleWidth      =   3420
  26.    Begin VB.CommandButton no 
  27.       BackColor       =   &H80000005&
  28.       Caption         =   "No"
  29.       Height          =   375
  30.       Left            =   1680
  31.       TabIndex        =   2
  32.       Top             =   480
  33.       Width           =   1575
  34.    End
  35.    Begin VB.CommandButton Yes 
  36.       BackColor       =   &H80000005&
  37.       Caption         =   "Yes"
  38.       Default         =   -1  'True
  39.       Height          =   375
  40.       Left            =   120
  41.       TabIndex        =   1
  42.       Top             =   480
  43.       Width           =   1455
  44.    End
  45.    Begin VB.Label Label1 
  46.       BackStyle       =   0  'Transparent
  47.       Caption         =   "Confirm Save:"
  48.       Height          =   255
  49.       Left            =   240
  50.       TabIndex        =   0
  51.       Top             =   120
  52.       Width           =   1335
  53.    End
  54. Attribute VB_Name = "Form6"
  55. Attribute VB_GlobalNameSpace = False
  56. Attribute VB_Creatable = False
  57. Attribute VB_PredeclaredId = True
  58. Attribute VB_Exposed = False
  59. Option Explicit
  60. Sub no_Click()
  61. Unload Me
  62. Form7.Visible = True
  63. End Sub
  64. Sub Yes_Click()
  65. Dim l0022 As Variant
  66. Dim l0026 As Variant
  67. l0022 = Form1.main.Text
  68. l0026 = Form7.path.Caption + "\" + Form7.filename.Text
  69. Open l0026 For Output As #1
  70. Print #1, l0022
  71. Close #1
  72. Unload Me
  73. End Sub
  74.