题目内容

建立一个通信录的随机文件phonBook.txt,内容包括姓名、电话、地址和邮编,用文本框输入数据。单击“添加主记录”按钮Command1时,将文本框数据写入文件,单击“显示”按钮Command2时,将文件中所有记录的内容显示在立即窗口。 Private Type PerData Name1 As String Phon As String * 11 Address As String * 10 PostCd As String * 6 End Type ______’定义PerData类型的变量xData’ Privat Sub Form_Load() Open"C:\phonBook.txt"For Random Asl End Sub Private Sub Command1_Click() xData.Name1=Text1.Text xData.Phon=Text2.Text ______=Text3.Text xData.PostCd=Text4.Text Putg#1,1,xData Text1.Text=" ":Text2.Text=" " Text1.3Text=" ":Text4.Text=" " End Sub Private Sub Command2_Click() reno=LOF(1)/Len(xData) i=1 D0 While i<=reno Get#1,i,xData Debug.Print xData,Name1,______,xData.Address,xData.PostCd i=i+1 LooP End Sub

查看答案
更多问题

What will the woman want to do

A. [A] She wants Harry to help her open a savings account. [B] She wants to change her e-mail account. [C] She wants Harry to help her set up an e-mail account.

听下面5段对话或独自,每段对话或独白后有几个小题,从题中所给的[A]、[B]、[C]三个选项中选出最佳选项,并标在试卷的相应位置。听每段对话或独白前,你将有5秒钟的时间阅读各个小题;听完后,各小题将给出5秒钟的作答时间。每段对话或独白读两遍。 What’s the size he want

A. It’s 50 cm wide and 130 cm high.
B. It’s 50 cm long and 130 cm high.
C. It’s 50 cm wide and 130 cm long.

近段时间,学校要不要组织学生集体春游成为社会的讨论热点。请你根据下面表格中的信息,并补充其它理由,用英文写出一篇针对学生要不要集体春游的短文。社会调查数据理由70%的受访者(interviewee)赞成1.可以领略大自然的优美风景2.……30%的受访者(interviewee)反对1.时间紧,耽误学习2.…… 注意: 1.词数100词左右,开头已为你写好; Recently we’ve had a survey on whether the school should organize a spring outing for the students...

听下面5段对话或独自,每段对话或独白后有几个小题,从题中所给的[A]、[B]、[C]三个选项中选出最佳选项,并标在试卷的相应位置。听每段对话或独白前,你将有5秒钟的时间阅读各个小题;听完后,各小题将给出5秒钟的作答时间。每段对话或独白读两遍。 What does the man order

An air conditioner.
B. A TV.
C. A fridge.

答案查题题库