在运行exe文件,提示"Component 'Systray.ocx' or one of its dependencies not correctly registered: a file is missing or invalid" 错误,从字面的意思来说找不到控件,未注册意思
以上就是提出的问题
...全文
3727打赏收藏
在vb中使用托盘图标控件Systray.ocx,竟然提示以下错误
在运行exe文件,提示"Component 'Systray.ocx' or one of its dependencies not correctly registered: a file is missing or invalid" 错误,从字面的意思来说找不到控件,未注册意思 以上就是提出的问题
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If UnloadMode <> vbFormCode Then '只要不是在代码里调用Unload Me,则执行隐藏操作.
Cancel = 1
Me.Hide
End If
End Sub