皮皮网
皮皮网
python sys 源码

【pb生成json源码】【java调度源码】【请假页面源码】vbcf透视源码

时间:2024-11-26 17:24:38 分类:娱乐 编辑:fpm打包源码
1.VB 编写的透视OCX 如何取得当前页面的URL,必须兼容所有IE内核的浏览器(如360浏览器)
2.怎么用VB作cf挂
3.VB纯代码裁剪图片

vbcf透视源码

VB 编写的OCX 如何取得当前页面的URL,必须兼容所有IE内核的浏览器(如360浏览器)

       以下代码在浏览器下调试成功。分两步:一、源码把下面代码复制到一个模块中:Option ExplicitDeclare Function FindWindowEx Lib "user" Alias "FindWindowExA" (ByVal hWnd1 As Long,透视 ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As LongPublic Declare Function SetCapture Lib "user" (ByVal hWnd As Long) As LongPublic Declare Function GetCursorPos Lib "user" (lpPoint As PointAPI) As LongPublic Declare Function WindowFromPoint Lib "user" (ByVal xPoint As Long, ByVal yPoint As Long) As LongPublic Declare Function ScreenToClient Lib "user" (ByVal hWnd As Long, lpPoint As PointAPI) As LongType PointAPI x As Long Y As LongEnd TypePrivate Type UUID Data1 As Long Data2 As Integer Data3 As Integer Data4(0 To 7) As ByteEnd TypePrivate Declare Function GetClassName Lib "user" _ Alias "GetClassNameA" ( _ ByVal hWnd As Long, _ ByVal lpClassName As String, _ ByVal nMaxCount As Long) As LongPrivate Declare Function EnumChildWindows Lib "user" ( _ ByVal hWndParent As Long, _ ByVal lpEnumFunc As Long, _ lParam As Long) As LongPrivate Declare Function RegisterWindowMessage Lib "user" _ Alias "RegisterWindowMessageA" ( _ ByVal lpString As String) As LongPrivate Declare Function SendMessageTimeout Lib "user" _ Alias "SendMessageTimeoutA" ( _ ByVal hWnd As Long, _ ByVal msg As Long, _ ByVal wParam As Long, _ lParam As Any, _ ByVal fuFlags As Long, _ ByVal uTimeout As Long, _ lpdwResult As Long) As LongPrivate Const SMTO_ABORTIFHUNG = &H2Private Declare Function ObjectFromLresult Lib "oleacc" ( _ ByVal lResult As Long, _ riid As UUID, _ ByVal wParam As Long, _ ppvObject As Any) As LongPrivate Declare Function FindWindow Lib "user" _ Alias "FindWindowA" ( _ ByVal lpClassName As String, _ ByVal lpWindowName As String) As Long'Function IEDOMFromhWnd(ByVal hWnd As Long) As IHTMLDocumentDim IID_IHTMLDocument As UUIDDim hWndChild As LongDim lRes As LongDim lMsg As LongDim hr As Long If hWnd <> 0 Then If Not IsIEServerWindow(hWnd) Then ' Find a child IE server window EnumChildWindows hWnd, AddressOf EnumChildProc, hWnd End If If hWnd <> 0 Then ' Register the message lMsg = RegisterWindowMessage("WM_HTML_GETOBJECT") ' Get the object pointer Call SendMessageTimeout(hWnd, lMsg, 0, 0, _ SMTO_ABORTIFHUNG, , lRes) If lRes Then ' Initialize the interface ID With IID_IHTMLDocument .Data1 = &HFC .Data2 = &HAE .Data3 = &HCF .Data4(0) = &HA7 .Data4(1) = &H .Data4(2) = &H0 .Data4(3) = &HA0 .Data4(4) = &HC9 .Data4(5) = &H8 .Data4(6) = &H .Data4(7) = &H End With ' Get the object from lRes hr = ObjectFromLresult(lRes, IID_IHTMLDocument, _ 0, IEDOMFromhWnd) End If End If End IfEnd FunctionPrivate Function IsIEServerWindow(ByVal hWnd As Long) As BooleanDim lRes As LongDim sClassname As String sClassname = String$(, 0) lRes = GetClassName(hWnd, sClassname, Len(sClassname)) sClassname = Left$(sClassname, lRes) IsIEServerWindow = StrComp(sClassname, _ "Internet Explorer_Server", _ vbTextCompare) = 0End Function'Function EnumChildProc(ByVal hWnd As Long, lParam As Long) As Long If IsIEServerWindow(hWnd) Then lParam = hWnd Else EnumChildProc = 1 End IfEnd Function二、建立一个窗体,源码pb生成json源码加入按钮command1,透视并复制下面代码:Private Sub Command1_Click()Dim doc,源码java调度源码 wnd As Longwnd = FindWindow("se5_Frame", vbNullString)wnd = FindWindowEx(wnd, 0, "SeWnd", vbNullString)wnd = FindWindowEx(wnd, 0, "XWnd", vbNullString)wnd = FindWindowEx(wnd, 0, "Container", vbNullString)wnd = FindWindowEx(wnd, 0, "Shell Embedding", vbNullString)wnd = FindWindowEx(wnd, 0, "Shell DocObject View", vbNullString)wnd = FindWindowEx(wnd, 0, "Internet Explorer_Server", vbNullString)Set doc = IEDOMFromhWnd(wnd)MsgBox "浏览器当前的网址是:" & doc.URLEnd Sub三、打开浏览器,透视随便浏览某个网址。源码然后运行本程序,透视点击command1按钮,源码Ok!透视

怎么用VB作cf挂

       怎么用VB作cf挂

       近他,源码弄死他!透视请假页面源码如果无法靠近,源码你就借助旁边的透视建筑物左右移动每次放几枪,来回几次。网站源码 war基本就挂!不过你不要单纯左右移动,稍微改下路线,学校wangz源码否则被猜到,你就会挂,个人K阻心得。 给分

       在繁忙的工作中请您接受我最真挚的祝福;愿我的祝福消除一天工作带来的疲劳;愿幸福和快乐伴随着您生活的每一天。

VB纯代码裁剪图片

       ä»¥å‰åšè¿‡çš„,你可以借鉴一下

       '以下代码是对当前激活的窗口截图

        Dim hWndActive As Long '定义当前窗体的句柄

        Dim r As Long

        Dim RectActive As RECT '窗口的矩形范围

        Dim hdcSrc, hDCMemory, hBmp, hBmpPrev

        hWndActive = GetForegroundWindow()

        GetWindowRect hWndActive, RectActive

        hdcSrc = GetWindowDC(hWndActive) '获取整个屏幕的DC

        '创建内存DC

        hDCMemory = CreateCompatibleDC(hdcSrc)

        '创建一个位图对象并放在内存DC中

        hBmp = CreateCompatibleBitmap(hdcSrc, RectActive.Right - RectActive.Left, RectActive.bottom - RectActive.Top)

        hBmpPrev = SelectObject(hDCMemory, hBmp)

        '拷贝指定位置屏幕内容到内存DC中

        r = BitBlt(hDCMemory, 0, 0, RectActive.Right - RectActive.Left, RectActive.bottom - RectActive.Top, _

        hdcSrc, 0, 0, vbSrcCopy)

        OpenClipboard hWndActive

        '清空粘贴板

        EmptyClipboard

        '将捕获的位图放入粘贴板

        SetClipboardData 2, hBmp '这里的2代表是位图可用CF_BITMA代替

        '关闭粘贴板

        CloseClipboard

        '删除内存场景

        DeleteDC hDCMemory

        '释放设备场景

        ReleaseDC hBmp, hdcSrc

        '开始使用粘贴板保存图片

        SavePicture Clipboard.GetData, TempDir & "Screenphoto\" & Chr(Int(Rnd * ) + ) & Year(Now) & _

        Month(Now) & Day(Now) & Hour(Now) & Minute(Now) & Second(Now) & CStr(ranNum) & ".bmp"

       ä½ å¯ä»¥è‡ªå·±æ”¹æ”¹ï¼Œé¼ æ ‡down和up时分别获得鼠标的坐标付

       å¯¹é¼ æ ‡åŒºåŸŸè¿›è¡Œæˆªå›¾

       å¦ä»˜èŽ·å¾—鼠标坐标API

       '得到鼠标位置坐标

       'Public Declare Function GetCursorPos Lib "USER" (lpPoint As PointApi) As Long

       '鼠标位置自定义类型

       'public Type POINTAPI

       'x As Long

       'y As Long

       'End Type

本文地址:http://0553.net.cn/news/27f667793295.html

copyright © 2016 powered by 皮皮网   sitemap