1 / 12

Your Ace up the Sleeve

Your Ace up the Sleeve. Enhancing Applications with SRP Utilities. Introduction. Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com. A Good Utility. Fast Increases speed of routine Increases speed of development Easy to use Easy to remember

kieve
Télécharger la présentation

Your Ace up the Sleeve

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Your Ace up the Sleeve Enhancing Applications with SRP Utilities

  2. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com

  3. A Good Utility • Fast • Increases speed of routine • Increases speed of development • Easy to use • Easy to remember • Well documented • Does what it should

  4. Things to consider… • Not the only player on the field • Experiences may vary • Free means free • WYS-MNB-WYG • Please interrupt • Anrbasicprogramersayswhat?

  5. How many people can read hex if only you and dead people can read hex? • Encode binary data into a printable format • Decode printable-encoded data into a variable • Generate a cryptographic hash for a given string • SRP_Encode • SRP_Decode • SRP_Hash Ans = 1 + 0xDEAD Ans = 1 + 57005 Ans = 57006 000101010001001111011 010110100010110101001

  6. 2+2=5(for extremely large values of 2) • Perform arbitrary precision math operations • Decimal numbers with more than 16 digits • 40 different operations SRP_Math 1+1=2

  7. RegEdit This • Read & modify the Windows registry • Delete, Exists, ListKeys, ListValues • Read, Write SRP_Registry REGEDIT

  8. The Days of DOS • Run a DOS executable • Redirect the output to: • Variable • OpenInsight Editline/Box • DOS Window SRP_Run_Command C:\>

  9. Maximize Windows, Minimize Effort • Display a hidden window and adjusts the size to account for themes • Establish the resize limits of a window • Automatically update a window when the system colors change • SRP_Show_Window • SRP_Set_MinMaxInfo • SRP_Set_SysColorChange MDICHILD

  10. Give me a venti, nonfat, quadshot Array • Remove blanks and duplicates • Move elements into any explicit order • Change LIST formatted into an ARRAY format • Sorting, without data preparation • SRP_Clean_Array • SRP_Rotate_Array • SRP_Reorder_Array • SRP_Sort_Array @MV

  11. DEMONSTRATION

  12. Thank You Any Questions?

More Related