by MH (1 Submission)
Category: Libraries
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (24 Votes)
WinApiForVb library contains over 900 KB of API declarations, constants, ... for both ANSI and Unicode. I put it together so as to do away with copying and pasting API declarations from project to project along with a number of other reasons (mainly string handling and interfaces). The AllApiDemo, as the name states, is a project which demonstartes how to create and use (using only API) all gui and some none gui elements ranging from a simple elements such as buttons to richedit, treeview, imagelist, ... To use, copy the type library from WinApiForVb_Compiled folder to your system folder. Open up AllApiDemp project or any other and go to preferences, find => WinApi For VB type library <= entry, select it and click ok. Now you should see the contents of the library in object browser. BTW, those who are thinknig about dependencies, a compiled project, does not need the type library to be present in the client's pc to run. VB includes the necessary API declarations in the exe.
===============================
Minor changes;
===============================
Corrected some problems with data type declaration in interfaces. Added IEnumSTATURL, IUrlHistoryStg, IUrlHistoryStg2 interfaces, STATURL type, STATURLFLAGS, and STATURL_QUERYFLAGS enums .Modified the listview form to use the new interfaces to read and display IE history. Replaced the snapshot.
Peace
MH
Download WinApiForVB type library and AllApiDemo (updated) (698 KB)