1.Դ?源码?4095
2.ä¸çç¼ç¨å¤§èµç¬¬ä¸ååçç¨åº
Դ??4095
'你把下面的代码保存为Form1.frm,然后双击打开该文件,源码天网gom源码运行后按提示即可看到结果。源码ebuy源码 .net
'呵呵,源码火速sdk源码够详细了,源码网站源码讲解再不会我也没办法了。源码人脸合成源码
'====文件Form1.frm====
VERSION 5.
Begin VB.Form Form1
Caption = "Form1"
ClientHeight =
ClientLeft =
ClientTop =
ClientWidth =
LinkTopic = "Form1"
ScaleHeight =
ScaleWidth =
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text2
Height =
Left =
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 2
Top =
Width =
End
Begin VB.TextBox Text1
Height =
Left =
TabIndex = 1
Text = "我的源码家"
Top =
Width =
End
Begin VB.CommandButton Command1
Caption = "获取HTML源码"
Height =
Left =
TabIndex = 0
Top =
Width =
End
Begin VB.Label Label2
Caption = "注意:获取源码之前必须先用IE打开网址,然后输入窗口标题关键字。源码如www..com的源码标题关键字是:我的家"
Height =
Left =
TabIndex = 4
Top =
Width =
End
Begin VB.Label Label1
Caption = "请输入IE窗口标题:"
Height =
Left =
TabIndex = 3
Top =
Width =
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Function GetIeHtml(IeTitle As String) As String
Dim oShellApp: Set oShellApp = CreateObject("Shell.Application")
Dim oShellAppWindows: Set oShellAppWindows = oShellApp.Windows
Dim owin
'获取弹出的IE窗口
For Each owin In oShellAppWindows '获取弹出的IE窗口
If LCase(TypeName(owin.Document)) = "htmldocument" And _
InStr(1, owin.LocationName, IeTitle, vbTextCompare) > 0 Then '如果找到符合条件的IE窗口
GetIeHtml = owin.Document.activeElement.Document.documentElement.innerHTML '此句可获得完整html代码
GoTo Mend '退出
End If
Next
Mend:
Set oShellAppWindows = Nothing
Set oShellApp = Nothing
Set owin = Nothing
End Function
Private Sub Command1_Click()
Dim S As String
S = GetIeHtml(Text1.Text) '表示获得标题含有"我的家"的html代码
Text2.Text = S
End Sub
Private Sub Form_Load()
'Shell "explorer.exe ""/""", vbNormalNoFocus
End Sub
ä¸çç¼ç¨å¤§èµç¬¬ä¸ååçç¨åº
ããããä½åååï¼ OMNISCEN
ããè¿è¡å¹³å° : ä½MS-DOSã该ç¨åºåªè½å¨ä½XP以åçç³»ç»ä¸è¿è¡!ã
ããä½åç±»å : 4k
ããåå¸èä¼ : Mekka & Symposium
ããè£è·Mekka 4K-Intro Compoå¥é¡¹
ããå¶ä½äººå: Pinker (ç¨åº\coding) | Nyphton (声é³\Music)
ããä»çæºç¨åºæ¯ä½çæºå¨ç ï¼åªæ4KBï¼ç¨åºå ¨é¿åèï¼å ¶ä¸å å«åèçèªè§£åç¨åº(ç±»RARå缩)ï¼æªè§£åçç¨åºé¿åèãä¸ç»´åºæ¯å å«ä¸ªç«æ¹ä½ï¼ä¸ªé¢ï¼ä¸ªç¹ï¼ä¸ªä¸åç*ç纹çã
ããå¦æä½ æ³è¿è¡åªè½å¨ä½ç³»ç»ä¸å©ç¨debugè¿è¡ï¼ä½ä½ç³»ç»æ²¡ædebugï¼æ以æ æ³è¿è¡ï¼è¿æwin7çdebugè²ä¼¼ä¸æ¯æå ¨å±è¿è¡(åç¡®ç说ï¼æ¯ç´æ¥æ示ä¸è½å ¨å±ç¶åéªéï¼)ï¼æ以â¦â¦è¯¥ç¨åºåªè½å¨ä½XP以åçç³»ç»ä¸è¿è¡åã
ããå 为çæçCOMæ件éè¦ä½ç³»ç»çæ¯æï¼æ以ææ¯åææ¹å¤çäºï¼è¿æ ·å°±è½ç¨ä½ç³»ç»è¿è¡å¦ã
ããå缩å éæ2个ï¼é£ä¸ªå°çæ¯ç¨WINRARå缩çï¼ä¸è¿è¿æ¯æ²¡äººå®¶çæºç¨åºå°ï¼ä¸è¬æ£ççXPç³»ç»é½èªå¸¦WINRAR软件ç(win7以ä¸ä¸èªå¸¦)ï¼ä¸ä¸ä¸è½è¿è¡ï¼é£ä¸ªå¤§çæ¯æºä»£ç ï¼ä½ å¯ä»¥å³å»éâå±æ§âââç¼è¾âï¼æ¥çæºä»£ç çã
ãããã