资源名称:ERPSYS.zip [点击查看]
上传用户:zhpu1995
上传日期:2013-09-06
资源大小:61151k
文件大小:4k
源码类别:
企业管理
开发平台:
Visual Basic
- VERSION 5.00
- Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
- Begin VB.Form frm_save_txt
- BorderStyle = 3 'Fixed Dialog
- Caption = "保存为文本文件"
- ClientHeight = 2475
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 4440
- Icon = "保存为文本文件.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2475
- ScaleWidth = 4440
- ShowInTaskbar = 0 'False
- StartUpPosition = 1 '所有者中心
- Begin MSComDlg.CommonDialog CommonDialog1
- Left = 90
- Top = 1920
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin VB.CommandButton Command3
- Caption = "取消(&C)"
- Height = 300
- Left = 3210
- TabIndex = 8
- Top = 2070
- Width = 1120
- End
- Begin VB.CommandButton Command2
- Caption = "确定(&O)"
- Height = 300
- Left = 1980
- TabIndex = 7
- Top = 2070
- Width = 1120
- End
- Begin VB.CommandButton Command1
- Caption = "..."
- Height = 300
- Left = 4020
- TabIndex = 6
- Top = 1590
- Width = 300
- End
- Begin VB.TextBox Text1
- Height = 300
- Left = 810
- TabIndex = 5
- Top = 1590
- Width = 3195
- End
- Begin VB.Frame Frame1
- Caption = "文本文件格式"
- Height = 1365
- Left = 90
- TabIndex = 0
- Top = 90
- Width = 4245
- Begin VB.OptionButton Option3
- Caption = "单元以逗号分隔"
- Height = 375
- Left = 240
- TabIndex = 3
- Top = 870
- Width = 2655
- End
- Begin VB.OptionButton Option2
- Caption = "单元以两个连续空格分隔"
- Height = 495
- Left = 240
- TabIndex = 2
- Top = 510
- Width = 2895
- End
- Begin VB.OptionButton Option1
- Caption = "单元以Tab符(制表符)分隔"
- Height = 375
- Left = 240
- TabIndex = 1
- Top = 240
- Value = -1 'True
- Width = 3735
- End
- End
- Begin VB.Label Label1
- Caption = "文件名:"
- Height = 255
- Left = 120
- TabIndex = 4
- Top = 1620
- Width = 735
- End
- End
- Attribute VB_Name = "frm_save_txt"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- '***********************************************
- '* 模 块 名 称 :保存为文本文件
- '* 功 能 描 述 :
- '* 程序员姓名 :奚俊峰
- '* 最后修改人 :奚俊峰
- '* 最后修改时间:2002/01/21
- '***********************************************
- Option Explicit
- Private Sub Command1_Click()
- Dim ll_return As Long
- CommonDialog1.DialogTitle = "请输入您要保存的文本文件名称"
- CommonDialog1.Filter = "文本文件(*.txt)|*.txt|"
- CommonDialog1.ShowSave
- frm_save_txt.Text1.Text = CommonDialog1.FileName
- CommonDialog1.FileName = ""
- End Sub
- Private Sub command2_Click()
- MDI_frame.ms_txt_file = Trim(Text1.Text)
- If Option1.Value = True Then MDI_frame.ml_txt_format = 0
- If Option2.Value = True Then MDI_frame.ml_txt_format = 1
- If Option3.Value = True Then MDI_frame.ml_txt_format = 2
- Unload Me
- End Sub
- Private Sub Command3_Click()
- Unload Me
- End Sub