在窗体上画一个名称为CommonDialogl的通用对话框,一个名称为Command1的命令按钮。然后编写如下事件过程: Prirate Sub Command1_Click() CommonDialogl. FileName="" CommonDialogl. Filter="All file|*. *|(*. Doc)|*. Doc|(*. Txt)|*. Txt" CommonDialogl. Filterlndex=2 CommonDialogl. DialogTitle="VBTest" CommonDialogl. Action=1 End Sub 对于这个程序,以下叙述中错误的是______。
A. 该对话框被设置为“打开”对话框
B. 在该对话框中指定的默认文件名为空
C. 该对话框的标题为VBTest
D. 在该对话框中指定的默认文件类型为文本文件(*. Txt)
查看答案
Visitors to this country are normally admitted for six months, but foreign students can usually stay for one year. They must (54) an educational institution, and they are required to study for a (55) of fifteen hours a week on a daytime course. Prospective students have to show that they can afford their studies, and that they have sufficient (56) resources to support themselves (57) in this country.In order to work here the foreigner needs a work permit, (58) must be applied for by his prospective employer. The problem here is that the Department of Employment has the right to grant or (59) these permits, and there is little that can be done (60) it; it would be extremely unwise for a foreign visitor to work (61) a permit, since anyone doing so is liable to immediate deportation (驱逐出境). There are some people from the European countries, who are often given (62) residence permits of up to five years. Some other people, such as doctors, foreign journalists, authors and others can work without permits, and foreign students are normally allowed to (63) part-time jobs while they are studying here. 56().
A. natural
B. financial
C. human
D. economical
以下程序的执行结果是______。 #include<iostream.h> class base public: virtual void who()cout<<"base class"<<endl: ; class derrvel:public base public: void who()cout<<"derivel class"<<endl: ; class derive2;public base public: void who() cout<<"derive2 class"<<endl; ; void main() base obj1,*P; derive1 obj2; derive2 obj3: p=&obj1; p->who(); p=&obj2: p->who(); p=&obj3; p->who();
观察法可以了解人们的动机、态度、想法、情感。( )
A. 对
B. 错