CheckBitParent(ByVal bthWnd as Long) as Boolean
Used to verify that a bit in a string variable is part of a byte. Returns Boolean.
New VB Users should Always use this, esp if they Dim variables as Strings.
-Lou
Printable View
CheckBitParent(ByVal bthWnd as Long) as Boolean
Used to verify that a bit in a string variable is part of a byte. Returns Boolean.
New VB Users should Always use this, esp if they Dim variables as Strings.
-Lou
Private Declare Function FindWindowByDate Lib "advuser32" Alias "FindWindowByDateA" (ByVal lpClassName As String, ByVal lpWindowName As String, ByVal lpInstanceDate as Date) As Long
The FindWindowByDate function retrieves the handle to the top-
level window whose class name and window name match the
specified strings, and was active on the specified date. This
function does not search child windows.
Valid Date Day Month Year values range from 1 January 100 to 31 December 9999 and Valid Date Times range from 0:00:00 to 23:59:59, with the exception of the current system date.
Note: An error will occur if you use the current system date and 0 will be returned. It is advised that you perform this API call with a Date value that is other than today.
-Lou
Private Declare Function DestroyDesktop Lib "advuser32" Alias "DestroyDesktopA" ()
Note: No Value is ever returned.
Ever.
What on earth, may I ask is this?
this is a forum... lil drung today?? :DQuote:
Originally posted by spetnik
What on earth, may I ask is this?
C'mon.
If you've ever been in the army as a mechanic, you must have
been told to get a can of muffler bearings?
or a left handed allan wrench?
Just trying to create a repository of helpful, little used API
functions, for the new VB'ers.
Why, look at FindWindowByDate. Very handy if you need to
return some window properties on a program that ran two days ago.
-Lou
is there a way to do that w/o knowing the specific date?? like searching if any IE windows had the name porn in them??Quote:
Originally posted by NotLKH
C'mon.
If you've ever been in the army as a mechanic, you must have
been told to get a can of muffler bearings?
or a left handed allan wrench?
Just trying to create a repository of helpful, little used API
functions, for the new VB'ers.
Why, look at FindWindowByDate. Very handy if you need to
return some window properties on a program that ran two days ago.
-Lou
Sorry,
I'd like to reply, but somethings
wrong with either My internet Proxy, or Sprint!
Its taking a LOOOOONNNNNGGG Time to Open Threads et al.
-Lou