PluginDemoCom.cls
Upload User: davilee3
Upload Date: 2015-04-22
Package Size: 986k
Code Size: 1k
Category:

Browser Client

Development Platform:

Visual Basic

  1. VERSION 1.0 CLASS
  2. BEGIN
  3.   MultiUse = -1  'True
  4.   Persistable = 0  'NotPersistable
  5.   DataBindingBehavior = 0  'vbNone
  6.   DataSourceBehavior  = 0  'vbNone
  7.   MTSTransactionMode  = 0  'NotAnMTSObject
  8. END
  9. Attribute VB_Name = "cPluginDemoCom"
  10. Attribute VB_GlobalNameSpace = False
  11. Attribute VB_Creatable = True
  12. Attribute VB_PredeclaredId = False
  13. Attribute VB_Exposed = True
  14. Option Explicit
  15. Private m_oWeb As SHDocVw.WebBrowser
  16. Public Sub Run(ByVal pSite As Object, ByVal vParent As Object)
  17. Dim tFrm As New frmDemo
  18. MsgBox "wahaha"
  19. If Not pSite Is Nothing Then
  20.     Set m_oWeb = pSite
  21.     m_oWeb.Navigate "about:blank"
  22. End If
  23. tFrm.Show , vParent
  24. End Sub