⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmsetip.frm

📁 winsock聊天室
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmSetIP 
   Caption         =   "Form1"
   ClientHeight    =   1935
   ClientLeft      =   5205
   ClientTop       =   4410
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   1935
   ScaleWidth      =   4680
   Begin VB.CommandButton Command1 
      Caption         =   "取消"
      Height          =   375
      Left            =   2520
      TabIndex        =   3
      Top             =   1200
      Width           =   1095
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确定"
      Height          =   375
      Left            =   840
      TabIndex        =   2
      Top             =   1200
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   2040
      TabIndex        =   0
      Text            =   "11.205.9.25"
      Top             =   480
      Width           =   1695
   End
   Begin VB.Label Label1 
      Caption         =   "服务器IP地址:"
      Height          =   255
      Left            =   480
      TabIndex        =   1
      Top             =   600
      Width           =   1455
   End
End
Attribute VB_Name = "frmSetIP"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub cmdOK_Click()
  WriteServerIP ("Setup.ini")
  Unload Me
End Sub


Private Sub Command1_Click()
Unload Me
End Sub

Private Function WriteServerIP(filename As String) As String
    Dim ss As String
    
    Open filename For Output As #1
             Write #1, Text1.Text
    Close #1
    
End Function


Private Sub Form_Load()
Text1.Text = ReadServerIP("Setup.ini")
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -