WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Miscellaneous

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

VB constants in WIL equivalence

Keywords:    VB constants in WIL equivalence

Question:

I got the constants below from the Acrobat SDK for VB. What is the Winbatch equivalent of &H10 etc please. Thanks in advance.
PDDocWasRepaired = &H10 ;/* document was repaired when opened (get only) */
PDDocNewMajorVersion = &H20 ;/* document major version newer than current (get only) */
PDDocNewMinorVersion = &H40 ;/* document minor version newer than current (get only) */
PDDocOldVersion = &H80 ;/* document version older than current (get only) */
PDDocSuppressErrors = &H100 ;/* don;t display errors (get/set) */
PDDocIsEmbedded = &H200 ;/* document is embedded in a compound doc (OLE, OpenDoc) */
PDDocIsLinearized = &H400 ;/* document is linearized (get only) */
PDDocIsOptimized = &H800 ;/* document is optimized */

Answer:

Just have to convert hex to decimal. The Windows Calcualtor can do this. Here it is...
PDDocWasRepaired     = 16   ;&H10  document was repaired when opened (get only)
PDDocNewMajorVersion = 32   ;&H20  document major version newer than current (get only)
PDDocNewMinorVersion = 64   ;&H40  document minor version newer than current (get only)
PDDocOldVersion      = 128  ;&H80  document version older than current (get only)
PDDocSuppressErrors  = 246  ;&H100 don;t display errors (get/set)
PDDocIsEmbedded      = 512  ;&H200 document is embedded in a compound doc (OLE, OpenDoc)
PDDocIsLinearized    = 1024 ;&H400 document is linearized (get only)
PDDocIsOptimized     = 2048 ;&H800 document is optimized

Article ID:   W15182
File Created: 2002:09:05:13:50:22
Last Updated: 2002:09:05:13:50:22