如何编写不允许客户机访问internet的客户端程序?
解决方案 »
- WMEncBasicEdit问题
- 100分!vb中的datareport的简单问题!帮忙!谢谢!
- 谁能给我一个画曲线的源代码?
- 请问:哪里有提供股市交易数据的服务?
- vb中对excel的操作
- 请问哪里有printer对象的资料?
- VB操作Excel文件时出现错误componet busy:this action cannot be completed because the other application is busy
- 这种算法如何做啊?想了无数天了都想不出来。
- 在没有模板的情况下如何动态的创建一个VB默认的窗体?创建后如何添加控件?
- 我的帖子不见了?
- 为什么我用InitiateSystemShutdown不能关机?
- 关联表增加,删除问题
Private WithEvents shw As ShellWindows
Private Sub Form_Load()
Set shw = New ShellWindows
Timer1.Interval = 1
Timer1.Enabled = True
End SubPrivate Sub shw_WindowRegistered(ByVal lCookie As Long)
Timer1.Interval = 1
Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer()
Dim ie As InternetExplorer
For Each ie In shw
If Left(ie.LocationURL, 4) = "http" Then ie.Quit
Set ie = Nothing
Next
Timer1.Interval = 1000
End Sub