- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
VB程序 编写 查询表格
Report About Achieving Look Up Function With VB
Name:
Student NO. : Expect Score: 96
Tips:
Generally , during a designer’s design process , when he needs some parameters about a bearing , he will spend lots of time searching reference books , thus lead to low efficiency . While , in order to solve this problem , I write a program with Visual basic . The final goal of this program is to achieve the function of looking up the parameters of Deep Groove Ball Bearing .
The software I use is Visual Basic 6.0 .
Below is the table I would look up . It is a table of standard parameters of DGBB .
轴承型号 基本尺寸/mm 安装尺寸/mm 基本额定负荷/KN 极限转速/(r/min) d D B da
min Da
max Cr C0r 脂润滑 油润滑 6204 20 47 14 26 41 12.8 6.65 14000 18000 6205 25 52 15 31 46 14.0 7.88 12000 16000 6206 30 62 16 36 56 19.5 11.5 9500 13000 6207 35 72 17 42 65 25.5 15.2 8500 11000 6208 40 80 18 47 73 29.5 18.0 8000 10000 6209 45 85 19 52 78 31.5 20.5 7000 9000 6210 50 90 20 57 83 35.0 23.2 6700 8500 6211 55 100 21 64 91 43.2 29.2 6000 7500 6212 60 110 22 69 101 47.8 32.8 5600 7000 6213 65 120 23 74 111 57.2 40.0 5000 6300 6214 70 125 24 79 116 60.8 45.0 4800 600
1. Program:
Private Sub CMDCLEAR_Click() ‘清除按钮程序;
LBL5.Caption =
LBL6.Caption =
LBL14.Caption =
LBL15.Caption =
LBL16.Caption =
LBL17.Caption =
LBL18.Caption =
Text1.Text =
LBL25.Caption =
OPT1.Value = False
OPT2.Value = False
lbl27.Caption =
End Sub
Private Sub CMDEXIT_Click() ’退出按钮程序;
End
End Sub
Private Sub CMDOK_Click() ’ 确认按钮程序,用于实现程序功能;
Dim D As Integer ’定义整数变量D,即轴的直径
D = Text1.Text ’输入轴的直径
If OPT1.Value = True Then ’选择按钮1被选中时;
Select Case D ’ 用select case 语句进行查询;
Case Is = 20
LBL25.Caption = 14000
Case Is = 25
LBL25.Caption = 12000
Case Is = 30
LBL25.Caption = 9500
Case Is = 35
LBL25.Caption = 8500
Case Is = 40
LBL25.Caption = 8000
Case Is = 45
LBL25.Caption = 7000
C
原创力文档


文档评论(0)