home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / HelpACoder45984132002.psc / Editor / Form1.frm (.txt) next >
Encoding:
Visual Basic Form  |  2002-01-04  |  2.4 KB  |  77 lines

  1. VERSION 5.00
  2. Object = "{48E59290-9880-11CF-9754-00AA00C00908}#1.0#0"; "MSINET.OCX"
  3. Begin VB.Form Form1 
  4.    Caption         =   "Want.rsd                                             Nrequest.rqst"
  5.    ClientHeight    =   5310
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   7380
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   5310
  11.    ScaleWidth      =   7380
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin InetCtlsObjects.Inet Inet 
  14.       Left            =   6720
  15.       Top             =   0
  16.       _ExtentX        =   1005
  17.       _ExtentY        =   1005
  18.       _Version        =   393216
  19.       URL             =   "http://"
  20.    End
  21.    Begin VB.CommandButton Command2 
  22.       Caption         =   "Save"
  23.       Height          =   375
  24.       Left            =   0
  25.       TabIndex        =   3
  26.       Top             =   4920
  27.       Width           =   7335
  28.    End
  29.    Begin VB.CommandButton Command1 
  30.       Caption         =   "Get"
  31.       Height          =   375
  32.       Left            =   0
  33.       TabIndex        =   2
  34.       Top             =   4560
  35.       Width           =   7335
  36.    End
  37.    Begin VB.TextBox Text2 
  38.       Height          =   4575
  39.       Left            =   3720
  40.       MultiLine       =   -1  'True
  41.       ScrollBars      =   3  'Both
  42.       TabIndex        =   1
  43.       Top             =   0
  44.       Width           =   3615
  45.    End
  46.    Begin VB.TextBox Text1 
  47.       Height          =   4575
  48.       Left            =   0
  49.       MultiLine       =   -1  'True
  50.       ScrollBars      =   3  'Both
  51.       TabIndex        =   0
  52.       Top             =   0
  53.       Width           =   3615
  54.    End
  55. Attribute VB_Name = "Form1"
  56. Attribute VB_GlobalNameSpace = False
  57. Attribute VB_Creatable = False
  58. Attribute VB_PredeclaredId = True
  59. Attribute VB_Exposed = False
  60. Private Sub Command1_Click()
  61. Text1.Text = Inet.OpenURL("www.jemisp.com/visualcode/want.rsd", icString)
  62. Text2.Text = Inet.OpenURL("www.jemisp.com/visualcode/nrequest.rqst", icString)
  63. End Sub
  64. Private Sub Command2_Click()
  65. Open "C:\tmp1.trsh" For Output As #1
  66. Print #1, Text1.Text
  67. Close #1
  68. Open "C:\tmp2.trsh" For Output As #1
  69. Print #1, Text2.Text
  70. Close #1
  71. PutFile
  72. End Sub
  73. Private Sub Form_Load()
  74. Text1.Text = Inet.OpenURL("www.jemisp.com/visualcode/want.rsd", icString)
  75. Text2.Text = Inet.OpenURL("www.jemisp.com/visualcode/nrequest.rqst", icString)
  76. End Sub
  77.