API Add-In for Visual Basic-VBForums
Results 1 to 13 of 13

Thread: API Add-In for Visual Basic

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,728

    API Add-In for Visual Basic

    This add-in is MUCH better than the one that comes with VB because the search is done with the "like" operator, so you can use * or ? (look in MSDN for the like operator) characters to refine your search. Also, when you add a declaration to the list and it's using one or more structures, it will add those too to the list, it will add even structures used in structures.

    For example, if you add the structure PRINTER_INFO_2 to the list, it will automatically add DEVMODE, and SECURITY_DESCRIPTOR structures because they are used in the PRINTER_INFO_2 structure, and it will also add the ACL structure because it is used in the SECURITY_DESCRIPTOR structure.

    You have to compile the add-in first, then in the Add-Ins/Add-In Manager you can load this Add-In so you can use it.

    And if you need a more complete list of declarations/types/constants, then you can download the Win32API_2.txt from the attached RAR files Win32api_2.part01.rar and Win32api_2.part02.rar (please note you have to download BOTH rar files and put them together using WinRAR). I had to do this because of the forum's limitation of 250KBytes per file.

    The text file is 3.1 MBytes decompressed, and contains 6,542 Declarations, 458 Types, and 55,566 constants
    Attached Files Attached Files
    Last edited by CVMichael; Mar 7th, 2009 at 08:57 PM.

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,728

    Some Screen Shots

    I only double clicked on "AdjstWindowRect",
    and the AddIn added the Type RECT automaticly.


    You can also find all Functions or Subs that use a particular Type,
    or contain the search word anywhere in the declaration


    You can also use pattern matching with constants


    With this one I had to use Paint to join two pictures, because it did not fit in one window.
    In this sample, you can see that I searched and added only one User Defined Type,
    the others were added automaticly because they are used by the one that I added.
    Last edited by CVMichael; May 26th, 2005 at 11:12 AM.

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    37,230
    The files within this thread (submitted: 02-04-2004) have been checked for malware by a moderator.

    Disclaimer: This does not necessarily mean that any compiled files (DLL/EXE/OCX etc) are completely safe, but any supplied code does not contain any obvious malware. It also does not imply that code is error free, or that it performs exactly as described.

    It is recommended that you manually check any code before running it, and/or use an automated tool such as Source Search by Minnow (available here or here).
    If you find any serious issues (ie: the code causes damage or some sort), please contact a moderator of this forum.

    Usage of any code/software posted on this forum is at your own risk.

  4. #4
    Member
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    37

    Re: API Add-In for Visual Basic

    really good job.
    very useful.

  5. #5
    PowerPoster
    Join Date
    Jan 2008
    Posts
    9,292

    Re: API Add-In for Visual Basic

    Why are both .rar files exactly the same?


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  6. #6
    Frenzied Member
    Join Date
    Oct 2013
    Posts
    1,045

    Re: API Add-In for Visual Basic

    That's how multi-part rar files work.

  7. #7
    PowerPoster
    Join Date
    Jan 2008
    Posts
    9,292

    Re: API Add-In for Visual Basic

    OK, thanks, I didn't know that


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  8. #8

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,728

    Re: API Add-In for Visual Basic

    At the time I uploaded the file, the forum limit per file was 250 KBytes (I don't know what is the limit now). I had no choice but to split the file using the rar utility. You have to download both files in the same folder, then double click on the first file, and rar will automatically join the 2 files and extract only one file.

  9. #9
    PowerPoster
    Join Date
    Jan 2008
    Posts
    9,292

    Re: API Add-In for Visual Basic

    OK, I know that know it was just confusing because it is posted as both rar files having different sizes but when I looked inside of rar2 I saw exactly same data as rar1.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  10. #10

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,728

    Re: Современная о

    Quote Originally Posted by Hloya_sofs View Post
    Замечательно, полезная штука

    Google Translation: Remarkably, a useful piece
    Thank you
    спасибо

  11. #11
    VBaholic & Loving It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    GetWindowRect()
    Posts
    12,613

    Re: API Add-In for Visual Basic

    Scalability question... Do you plan on keeping this project current with inclusion of newer O/S declarations, constants, etc?
    Insomnia is just a byproduct of, "It can't be done"

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Organizer/Extractor}
    {VBA Control Arrays} {XP/Vista Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  12. #12

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,728

    Re: API Add-In for Visual Basic

    No.... I don't even have VB6 installed on my PC anymore (for a few years). The only programming I do latelly is at work in .NET.

    My interests changed, my new hobby is flying RC... things... see this

    If you want to take over this project, you are more than welcome

  13. #13
    VBaholic & Loving It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    GetWindowRect()
    Posts
    12,613

    Re: API Add-In for Visual Basic

    If you want to take over this project, you are more than welcome
    Beware of ear-to-ear grins...

    Might be interested, but a bit of a hassle tracking down the new declarations, constants, structures, etc for the various dlls. Downloading & parsing sdk files not much fun
    Insomnia is just a byproduct of, "It can't be done"

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Organizer/Extractor}
    {VBA Control Arrays} {XP/Vista Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.