Figure 2. Find the Files You Want. Use Windows Find to search through files of type *.h for the constant you want. You can find any constant this way, even those not included in the VB API Viewer. Note that the constant will be defined using C language constructs, such as: #define EM_GETSEL 0x00B0. Simply replace the 0x with &H and use the constant like this: Constant EM_GETSEL = &H00B0.