Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
PluginSH.cls
Package: IE_VB.rar [view]
Upload User: davilee3
Upload Date: 2015-04-22
Package Size: 986k
Code Size: 2k
Category:
Browser Client
Development Platform:
Visual Basic
- VERSION 1.0 CLASS
- BEGIN
- MultiUse = -1 'True
- Persistable = 0 'NotPersistable
- DataBindingBehavior = 0 'vbNone
- DataSourceBehavior = 0 'vbNone
- MTSTransactionMode = 0 'NotAnMTSObject
- END
- Attribute VB_Name = "cPluginSH"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = True
- Attribute VB_PredeclaredId = False
- Attribute VB_Exposed = True
- '---------------------------------------------------------------------------------------
- ' Module : cPluginSH
- ' DateTime : 2005-8-15 16:58
- ' Author : Lingll
- ' Purpose :
- '---------------------------------------------------------------------------------------
- Option Explicit
- Private Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
- Private m_oWeb As SHDocVw.WebBrowser
- Private m_oLeInfo As LEPluginLib.ILEInfo
- Implements LEPluginLib.ILEpluginCmd
- Private Function ILEpluginCmd_RunCommand(Optional ByVal lParam As Long = 0&) As Boolean
- Dim tFrm As frmMain
- Dim tHtmlText$
- Dim tTitle$
- 'On Error Resume Next
- If Not m_oWeb Is Nothing Then
- Set tFrm = New frmMain
- tHtmlText = GetHtml(m_oWeb)
- If LenB(tHtmlText) = 0 Then
- tHtmlText = "(error...)"
- End If
- tTitle = m_oWeb.Document.Title
- If tTitle = "" Then
- tTitle = m_oWeb.LocationURL
- End If
- tFrm.INIme tTitle, tHtmlText, m_oLeInfo
- tFrm.Show
- SetWindowLong tFrm.hwnd, -8, m_oLeInfo.GetMainWindowObj.hwnd
- End If
- End Function
- Private Sub ILEpluginCmd_SetSite(ByVal pUnkSite As stdole.IUnknown, ByVal vOutPort As LEPluginLib.ILEInfo)
- Set m_oWeb = pUnkSite
- Set m_oLeInfo = vOutPort
- End Sub
- Private Sub ILEpluginCmd_ShowOption()
- MsgBox "Show Selection Html ver 1.0"
- End Sub