120 likes | 290 Views
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
E N D
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 • Well documented • Does what it should
Things to consider… • Not the only player on the field • Experiences may vary • Free means free • WYS-MNB-WYG • Please interrupt • Anrbasicprogramersayswhat?
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
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
RegEdit This • Read & modify the Windows registry • Delete, Exists, ListKeys, ListValues • Read, Write SRP_Registry REGEDIT
The Days of DOS • Run a DOS executable • Redirect the output to: • Variable • OpenInsight Editline/Box • DOS Window SRP_Run_Command C:\>
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
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
Thank You Any Questions?