enhancing applications with srp utilities. introduction frank tomeo, senior developer srp computer...
TRANSCRIPT
![Page 1: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/1.jpg)
Your Ace up the Sleeve
Enhancing Applicationswith SRP Utilities
![Page 3: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/3.jpg)
A Good Utility
• Fast– Increases speed of routine– Increases speed of development
• Easy to use• Easy to remember• Well documented• Does what it should
![Page 4: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/4.jpg)
Things to consider…
1. Not the only player on the field2. Experiences may vary3. Free means free4. WYS-MNB-WYG5. Please interrupt6. Anrbasicprogramersayswhat?
![Page 5: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/5.jpg)
000101010001001111011010110100010110101001
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_EncodeSRP_DecodeSRP_Hash
Ans = 1 + 0xDEADAns = 1 + 57005Ans = 57006
![Page 6: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/6.jpg)
1+1=2
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
![Page 7: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/7.jpg)
REGEDIT
RegEdit This• Read & modify the Windows registry
– Delete, Exists, ListKeys, ListValues– Read, Write
SRP_Registry
![Page 8: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/8.jpg)
C:\>
The Days of DOS
• Run a DOS executable• Redirect the output to:
– Variable– OpenInsight Editline/Box– DOS Window
SRP_Run_Command
![Page 9: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/9.jpg)
MDICHILD
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_WindowSRP_Set_MinMaxInfoSRP_Set_SysColorChange
![Page 10: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/10.jpg)
@MV
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_ArraySRP_Rotate_ArraySRP_Reorder_ArraySRP_Sort_Array
![Page 11: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/11.jpg)
DEMONSTRATION
![Page 12: Enhancing Applications with SRP Utilities. Introduction Frank Tomeo, Senior Developer SRP Computer Solutions Placentia, CA ftomeo@srpcs.com](https://reader038.vdocument.in/reader038/viewer/2022102716/551aad675503466b3a8b5ea5/html5/thumbnails/12.jpg)
Thank You
Any Questions?