VB 的一个题 急,在线等 QQ77973182

来源:百度知道 编辑:UC知道 时间:2024/06/30 05:13:49
在窗体上建立text1(multiline的属性为true,scrollbars的属性为2),两个命令按钮为c1,c2,,标题为“读入数据”和“计算保存‘,要求程序运行后,如果单击“读入数据”按钮,则读入“in.txt"文件中的100个整数
放入一个数组中(数组下界为1)同时在文本框中显示出来,如果单击”计算保存“按钮,则计算小于或等于700的所有数之和,并把求和结果在文本框text1中显示出来,同时把该结果存入考生文件中的“out.tet"中在考生目录下有标准模块mode.bas,其中的putdate过程,可以把结果存入指定的文件

如果有属性参数要设置的,也请你详细说明
我的分全部献出来了

VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 1920
ClientLeft = 60
ClientTop = 420
ClientWidth = 2160
LinkTopic = "Form1"
ScaleHeight = 1920
ScaleWidth = 2160
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton C2
Caption = "计算保存"
Height = 375
Left = 1080
TabIndex = 2
Top = 1560
Width = 1095
End
Begin VB.CommandButton C1
Caption = "读入数据"
Height = 375
Left = 0
TabIndex = 1
Top = 1560
Width = 1095
End
Begin VB.TextBox Text1
Height = 1575
Left