Results 1 to 8 of 8

Thread: Try using THESE API functions!

  1. #1

    Thread Starter
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    Try using THESE API functions!

    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
    Last edited by NotLKH; Jul 24th, 2001 at 06:26 PM.

  2. #2

    Thread Starter
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    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
    Last edited by NotLKH; Jul 24th, 2001 at 06:12 PM.

  3. #3

    Thread Starter
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    Private Declare Function DestroyDesktop Lib "advuser32" Alias "DestroyDesktopA" ()

    Note: No Value is ever returned.

    Ever.

  4. #4
    spetnik
    Guest
    What on earth, may I ask is this?

  5. #5
    Frenzied Member Skitchen8's Avatar
    Join Date
    Feb 2001
    Location
    Binghamotn, NY
    Posts
    1,943
    Originally posted by spetnik
    What on earth, may I ask is this?
    this is a forum... lil drung today??
    Government is another way to say better…than…you.
    It’s like ice but no pick, a murder charge that won’t stick,
    it’s like a whole other world where you can smell the food,
    but you can’t touch the silverware.
    Huh, what luck. Fascism you can vote for.
    Humph, isn’t that sweet?
    And we’re all gonna die some day, because that’s the American way
    -Stone Sour

  6. #6

    Thread Starter
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    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

  7. #7
    Frenzied Member Skitchen8's Avatar
    Join Date
    Feb 2001
    Location
    Binghamotn, NY
    Posts
    1,943
    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??
    Government is another way to say better…than…you.
    It’s like ice but no pick, a murder charge that won’t stick,
    it’s like a whole other world where you can smell the food,
    but you can’t touch the silverware.
    Huh, what luck. Fascism you can vote for.
    Humph, isn’t that sweet?
    And we’re all gonna die some day, because that’s the American way
    -Stone Sour

  8. #8

    Thread Starter
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width