📄 usercontrol2.ctl
字号:
VERSION 5.00
Begin VB.UserControl UserControl1
ClientHeight = 3600
ClientLeft = 0
ClientTop = 0
ClientWidth = 4800
ScaleHeight = 3600
ScaleWidth = 4800
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 3000
Left = 2640
Top = 480
End
Begin VB.CommandButton Command1
Caption = "调用Ansys命令流进行有限计算"
Height = 855
Left = 240
TabIndex = 0
Top = 120
Width = 2055
End
End
Attribute VB_Name = "UserControl1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim x
x = Shell(s)
Timer1.Enabled = True
Unload 调用
End Sub
Private Sub Timer1_Timer()
If Dir("G:\yz.err") <> "" Then
MsgBox ("计算完毕!")
Timer1.Enabled = False
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -