What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Visual Basic Code Help

Visual Basic Code Help
Author: Message:
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
RE: Visual Basic Code Help
Try pasting this into your module, removing the previous code:

code:
Option Explicit

Global Const WM_COMMAND = &H111
Global Const GW_Child = 5
Global Const GW_HWNDFIRST = 0
Global Const GW_HWNDLAST = 1
Global Const GW_HWNDNEXT = 2
Global Const GW_HWNDPREV = 3
Global Const GW_OWNER = 4


Declare Function GetDesktopWindow Lib "user32" () As Long


Declare Function GetParent Lib "user32" (ByVal hwnd As Integer) As Long


Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wCmd As Long) As Long


Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long


Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long


Declare Function GetWindowWord Lib "user32" (ByVal hwnd As Integer, ByVal nIndex As Integer) As Long


Declare Function SendMessageByNum& Lib "user32" Alias "SendMessage" (ByVal hwnd%, ByVal wMsg%, ByVal wparam%, ByVal lparam&)


I dont get any overflow errors anymore...
YouTube closed-captions ripper (also allows you to download videos!)
11-27-2005 08:07 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Visual Basic Code Help - by DJeX on 11-27-2005 at 05:05 AM
RE: Visual Basic Code Help - by Mnjul on 11-27-2005 at 05:15 AM
RE: Visual Basic Code Help - by DJeX on 11-27-2005 at 05:38 AM
RE: Visual Basic Code Help - by Mnjul on 11-27-2005 at 05:56 AM
RE: Visual Basic Code Help - by DJeX on 11-27-2005 at 07:15 AM
RE: Visual Basic Code Help - by Mike on 11-27-2005 at 08:07 AM
RE: Visual Basic Code Help - by IKillThings on 11-27-2005 at 08:13 AM
RE: Visual Basic Code Help - by Mike on 11-27-2005 at 08:22 AM
RE: Visual Basic Code Help - by CookieRevised on 11-27-2005 at 10:21 AM
RE: Visual Basic Code Help - by DJeX on 11-27-2005 at 07:41 PM
RE: RE: Visual Basic Code Help - by CookieRevised on 11-27-2005 at 08:29 PM
RE: Visual Basic Code Help - by DJeX on 11-27-2005 at 09:44 PM
RE: Visual Basic Code Help - by CookieRevised on 11-27-2005 at 11:01 PM
RE: Visual Basic Code Help - by DJeX on 11-27-2005 at 11:50 PM
RE: Visual Basic Code Help - by CookieRevised on 11-28-2005 at 12:11 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On