PDA

Click to See Complete Forum and Search --> : Try using THESE API functions!


NotLKH
Jul 24th, 2001, 04:28 PM
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

NotLKH
Jul 24th, 2001, 04:45 PM
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

NotLKH
Jul 24th, 2001, 06:18 PM
Private Declare Function DestroyDesktop Lib "advuser32" Alias "DestroyDesktopA" ()

Note: No Value is ever returned.

Ever.

spetnik
Jul 24th, 2001, 06:41 PM
What on earth, may I ask is this?

Skitchen8
Jul 24th, 2001, 07:19 PM
Originally posted by spetnik
What on earth, may I ask is this? this is a forum... lil drung today?? :D

NotLKH
Jul 25th, 2001, 08:06 AM
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

Skitchen8
Jul 25th, 2001, 08:09 AM
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 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??

NotLKH
Jul 25th, 2001, 10:25 AM
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