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

Thread: API Add-In for Visual Basic

  1. #1

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

    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 07:57 PM.

  2. #2

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

    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 10:12 AM.

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    36,810
    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
    8,518

    Re: API Add-In for Visual Basic

    Why are both .rar files exactly the same?
    The better the information you give to begin with and the sooner you reply the sooner you will get help and get your problem resolved

    DISCLAIMER

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

  6. #6
    Fanatic Member
    Join Date
    Oct 2013
    Posts
    773

    Re: API Add-In for Visual Basic

    That's how multi-part rar files work.

  7. #7
    PowerPoster
    Join Date
    Jan 2008
    Posts
    8,518

    Re: API Add-In for Visual Basic

    OK, thanks, I didn't know that
    The better the information you give to begin with and the sooner you reply the sooner you will get help and get your problem resolved

    DISCLAIMER

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

  8. #8

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

    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
    8,518

    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.
    The better the information you give to begin with and the sooner you reply the sooner you will get help and get your problem resolved

    DISCLAIMER

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

  10. #10

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

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

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

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

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.