假定在窗体上建立一个通用对话框,其名称为CommonDialog1,用下面的语句可以建立一个对话框:Common
A.CommonDialog1.ShowOpen
B.CommonDialog1.ShowFont
C.CommonDialog1.ShowColor
D.CommonDialog1.ShowSave
A.CommonDialog1.ShowOpen
B.CommonDialog1.ShowFont
C.CommonDialog1.ShowColor
D.CommonDialog1.ShowSave
A.CommonDialog1.ShowOpen
B.CommonDialog1.ShowFont
C.CommonDialog1.ShowColor
D.CommonDialog1.ShowSave
Command1,并编写如下事件过程:
PrivateSubCommand1_Click()
CommonDialog1.Flags=4
CommonDialog1.Filter="allfiles(*.*)|*.*|textFiles(*.Txt)|*
.txt|BatchFilse(*.bat)|*.bat"
CommonDialog1.FilterIndex=1
CommonDialog 1.ShowOpen
MsgBoxCommonDialog 1.FileName
EndSub
程序运行后,单击命令按钮,将显示一个"打开"对话框,此时在"文件类型"对话框中显示的是()
A.AllFiles(*.*)
B.出错
C.BatchFiles(.bat)
D.不确定
A.All Files (*.*)
B.Text Files(*.txt)
C.Batch Files (*.bat)
D.不确定
A、显示“打开”对话框
B、显示“字体”对话框
C、显示“颜色”对话框
D、显示“另存为”对话框
Private Sub Command1_Click()
CommonDialog1.Filter="All Files(*.*)|*.*Text Files"&_
"(*.txt)|*.txt| Executable Files(*.exe)|*.exe"
CommonDialog1.Filterindex=3
CommonDialog1.Show Open
MsgBox CommonDialog1.FileName
End Sub
程序运行后,单击命令按钮,将显示一个“打开”对话框,此时在“文件类型”框中显示的是()。 A.All Files(*.*)
B.Text files(*.txt)
C.Executable Files(*.ext)
D.不确定
A.All Files(*.*)
B.Text Files(*.txt)
C.Batch Files(*.bat)
D.不确定
A.Left(c,n)
B.Right(c,n)
C.Mid(c,n,1)
D.Mid(c,n,n)
A.10
B.12
C.37
D.22
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!