{"id":16565150,"url":"https://github.com/shonharsh/rpadev-s02p03-switch-vb","last_synced_at":"2026-05-09T00:14:43.679Z","repository":{"id":230279682,"uuid":"778978195","full_name":"ShonHarsh/RPADev-S02P03-Switch-VB","owner":"ShonHarsh","description":"This project is my solution in VB to the Switch practice found in section 02 practice 03 of the UiPath - RPA Developer Foundation course.","archived":false,"fork":false,"pushed_at":"2024-06-20T20:17:43.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T04:46:41.318Z","etag":null,"topics":["academic","academy","artificial-intelligence","atom","automation","config","education","git","guide","learning","markdown","process","robot","rpa","studio","training-materials","trending","uipath","vb-net","windows"],"latest_commit_sha":null,"homepage":"","language":"Visual Basic .NET","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShonHarsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-28T19:40:11.000Z","updated_at":"2024-06-20T20:14:28.000Z","dependencies_parsed_at":"2024-04-09T00:24:25.911Z","dependency_job_id":"194d2ac5-873f-4a08-845b-9477140afb06","html_url":"https://github.com/ShonHarsh/RPADev-S02P03-Switch-VB","commit_stats":null,"previous_names":["shonharsh/rpadev-s02p03-switch-vb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShonHarsh%2FRPADev-S02P03-Switch-VB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShonHarsh%2FRPADev-S02P03-Switch-VB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShonHarsh%2FRPADev-S02P03-Switch-VB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShonHarsh%2FRPADev-S02P03-Switch-VB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShonHarsh","download_url":"https://codeload.github.com/ShonHarsh/RPADev-S02P03-Switch-VB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563906,"owners_count":20958971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["academic","academy","artificial-intelligence","atom","automation","config","education","git","guide","learning","markdown","process","robot","rpa","studio","training-materials","trending","uipath","vb-net","windows"],"created_at":"2024-10-11T20:46:14.697Z","updated_at":"2026-05-09T00:14:38.660Z","avatar_url":"https://github.com/ShonHarsh.png","language":"Visual Basic .NET","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Banner](https://shonharsh.github.io/curriculum-vitae/Images/Banner-UiPath-02.png)\n\n# S02P03 Switch\n\nThis project is my solution in **VB** to the **Switch** practice found in section 02 practice 03 of the UiPath - RPA Developer Foundation course.\n\n### Getting Started\n\nAfter making a pull request or downloading the project, open the Main.xaml in UiPath Studio.  The robot can be run with the play button in the ribbon and the result can be seen in output panel.\n\n#### Practice Requirements\n\n###### **Separate a collection of error codes using Switch**\n\nConsidering a collection of error codes stored in an Array of Strings, separate them based on their type of error code (\"Ax\", \"Bx\" or “Cx”) and store them in 3 different arrays.\n\n**Note**: The initial Array should contain the following values:\n\n{\"Ax001\", \"Ax002\", \"Ax003\", \"Ax004\", \"Ax005\", \"Bx001\", \"Bx002\", \"Bx003\", \"Cx001\", \"Cx002\", \"Cx003\", \"Cx004\", \"Dx314\", \"BadError\"}\n\n### Details\n\n**Course:** UiPath - RPA Developer Foundation\n\n**Section:** 02 Variables, Data Types And Control Flow In Studio\n\n**Practice:** 03 Switch\n\n**Project Format:** Windows, VB\n\n**GitHub:** https://github.com/ShonHarsh/RPADev-S02P03-Switch-VB\n\n### Sample Output\r\n\r\n```sh\n04/02/2024 13:11:18 =\u003e [Info] RPADev-S02P03-Switch-VB execution started\n04/02/2024 13:11:18 =\u003e [Info] RPADev-S02P03-Switch-VB.Main.Default;\nDx314\nBadError\n04/02/2024 13:11:18 =\u003e [Info] RPADev-S02P03-Switch-VB.Main.AX;\nAx001\nAx002\nAx003\nAx004\nAx005\n04/02/2024 13:11:18 =\u003e [Info] RPADev-S02P03-Switch-VB.Main.BX;\nBx001\nBx002\nBx003\n04/02/2024 13:11:18 =\u003e [Info] RPADev-S02P03-Switch-VB.Main.CX;\nCx001\nCx002\nCx003\nCx004\n04/02/2024 13:11:18 =\u003e [Info] RPADev-S02P03-Switch-VB execution ended in: 00:00:00\n```\n\n### Architecture Requirements\n\nA standard UiPath, Studio to Orchestrator cloud setup is the base of operation.  It is easy to setup and free.\n1. An Orchestrator connection - Visit https://cloud.uipath.com/ and authenticate or sign up.\n2. [UiPath Studio](https://www.uipath.com/product/studio) is used to run the robot.  Note that Studio Web can be used directly in Orchestrator but I recommend installing the Studio IDE application.\r\n\r\n[![UiPath Setup Guide](https://shonharsh.github.io/curriculum-vitae/Images/Title-UiPath-Setup-Guide.png)](https://github.com/ShonHarsh/UiPath-SetupGuide)\n\n### Git Notes\n\nClone the project to develop or change it.\r\n\r\n```sh\r\ngit clone https://github.com/ShonHarsh/RPADev-S02P03-Switch-VB\n```\n\n### Links\n- [UiPath Automation Platform](https://www.uipath.com/)\n- [UiPath Studio](https://www.uipath.com/product/studio)\r- [Pulsar](https://pulsar-edit.dev/) (Atom Successor) - Used for all my README.md files\n- [Shon Harsh Website 127.0.0.1](https://shonharsh.github.io/curriculum-vitae/index.html)\n- [This.GitHub](https://github.com/shonharsh)\n- [LinkedIn](https://www.linkedin.com/in/shonharsh/)\n\n### RPA Developer Foundation Sections\n\n1. Get Started With RPA Development\n\n2. Variables, Data Types And Control Flow In Studio\n\n   P01 RPADev-S02P01-ForEachIfStatement [[C#](https://github.com/ShonHarsh/RPADev-S02P01-ForEachIfStatement)] [[VB](https://github.com/ShonHarsh/RPADev-S02P01-ForEachIfStatement-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S02P01-ForEachIfStatement-WindowsLegacy)]\n\n   P02 RPADev-S02P02-GenericValue [[C#](https://github.com/ShonHarsh/RPADev-S02P02-GenericValue)] [[VB](https://github.com/ShonHarsh/RPADev-S02P02-GenericValue-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S02P02-GenericValue-WindowsLegacy)]\n\n   P03 RPADev-S02P03-Switch [[C#](https://github.com/ShonHarsh/RPADev-S02P03-Switch)] [[VB](https://github.com/ShonHarsh/RPADev-S02P03-Switch-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S02P03-Switch-WindowsLegacy)]\n\n3. Data Manipulation In Studio\n\n   P01 RPADev-S03P01-Lists [[C#](https://github.com/ShonHarsh/RPADev-S03P01-Lists)] [[VB](https://github.com/ShonHarsh/RPADev-S03P01-Lists-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S03P01-Lists-WindowsLegacy)]\n\n   P02 RPADev-S03P03-Dictionaries-Integers [[C#](https://github.com/ShonHarsh/RPADev-S03P03-Dictionaries-Integers)] [[VB](https://github.com/ShonHarsh/RPADev-S03P03-Dictionaries-Integers-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S03P03-Dictionaries-Integers-WindowsLegacy)]\n\n   P03 RPADev-S03P04-Dictionaries-Doubles [[C#](https://github.com/ShonHarsh/RPADev-S03P04-Dictionaries-Doubles)] [[VB](https://github.com/ShonHarsh/RPADev-S03P04-Dictionaries-Doubles-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S03P04-Dictionaries-Doubles-WindowsLegacy)]\n\n   P04 RPADev-S03P05-InputValidation [[C#](https://github.com/ShonHarsh/RPADev-S03P05-InputValidation)] [[VB](https://github.com/ShonHarsh/RPADev-S03P05-InputValidation-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S03P05-InputValidation-WindowsLegacy)]\n\n   P05 RPADev-S03P06-ReplacingPlaceholders [[C#](https://github.com/ShonHarsh/RPADev-S03P06-ReplacingPlaceholders)] [[VB](https://github.com/ShonHarsh/RPADev-S03P06-ReplacingPlaceholders-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S03P06-ReplacingPlaceholders-WindowsLegacy)]\n\n   P06 RPADev-S03P07-ExtractEmailAddress [[C#](https://github.com/ShonHarsh/RPADev-S03P07-ExtractEmailAddress)] [[VB](https://github.com/ShonHarsh/RPADev-S03P07-ExtractEmailAddress-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S03P07-ExtractEmailAddress-WindowsLegacy)]\n\n   P07 RPADev-S03P08-ExtractEmailAddressRegEx [[C#](https://github.com/ShonHarsh/RPADev-S03P08-ExtractEmailAddressRegEx)] [[VB](https://github.com/ShonHarsh/RPADev-S03P08-ExtractEmailAddressRegEx-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S03P08-ExtractEmailAddressRegEx-WindowsLegacy)]\n\n4. Excel And Data Tables With Studio\n\n   P01 RPADev-S04P01-CalculatingSums [[C#](https://github.com/ShonHarsh/RPADev-S04P01-CalculatingSums)] [[VB](https://github.com/ShonHarsh/RPADev-S04P01-CalculatingSums-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S04P01-CalculatingSums-WindowsLegacy)]\n\n   P02 RPADev-S04P02-CalculatingLossInvoices [[C#](https://github.com/ShonHarsh/RPADev-S04P02-CalculatingLossInvoices)] [[VB](https://github.com/ShonHarsh/RPADev-S04P02-CalculatingLossInvoices-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S04P02-CalculatingLossInvoices-WindowsLegacy)]\n\n   P03 RPADev-S04P03-CalculatingPercentagesOfExpenses [[C#](https://github.com/ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses)] [[VB](https://github.com/ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses-WindowsLegacy)]\n\n5. UI Automation With Studio\n\n   P01 RPADev-S05P01-PasswordGenerator [[C#](https://github.com/ShonHarsh/RPADev-S05P01-PasswordGenerator)] [[VB](https://github.com/ShonHarsh/RPADev-S05P01-PasswordGenerator-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S05P01-PasswordGenerator-WindowsLegacy)]\n\n   P02 RPADev-S05P02-TheRPAChallenge [[C#](https://github.com/ShonHarsh/RPADev-S05P02-TheRPAChallenge)] [[VB](https://github.com/ShonHarsh/RPADev-S05P02-TheRPAChallenge-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S05P02-TheRPAChallenge-WindowsLegacy)]\n\n   P03 RPADev-S05P03-InputActions [[C#](https://github.com/ShonHarsh/RPADev-S05P03-InputActions)] [[VB](https://github.com/ShonHarsh/RPADev-S05P03-InputActions-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S05P03-InputActions-WindowsLegacy)]\n\n   P04 RPADev-S05P04-OutputActions [[C#](https://github.com/ShonHarsh/RPADev-S05P04-OutputActions)] [[VB](https://github.com/ShonHarsh/RPADev-S05P04-OutputActions-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S05P04-OutputActions-WindowsLegacy)]\n\n   P05 RPADev-S05P05-DataScraping [[C#](https://github.com/ShonHarsh/RPADev-S05P05-DataScraping)] [[VB](https://github.com/ShonHarsh/RPADev-S05P05-DataScraping-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S05P05-DataScraping-WindowsLegacy)]\n\n6. Selectors In Studio\n\n   P01 RPADev-S06P01-GetAndSortData [[C#](https://github.com/ShonHarsh/RPADev-S06P01-GetAndSortData)] [[VB](https://github.com/ShonHarsh/RPADev-S06P01-GetAndSortData-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S06P01-GetAndSortData-WindowsLegacy)]\n\n   P02 RPADev-S06P02-SetData [[C#](https://github.com/ShonHarsh/RPADev-S06P02-SetData)] [[VB](https://github.com/ShonHarsh/RPADev-S06P02-SetData-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S06P02-SetData-WindowsLegacy)]\n\n   P03 RPADev-S06P03-Highlight-TypeItems [[C#](https://github.com/ShonHarsh/RPADev-S06P03-Highlight-TypeItems)] [[VB](https://github.com/ShonHarsh/RPADev-S06P03-Highlight-TypeItems-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S06P03-Highlight-TypeItems-WindowsLegacy)]\n\n7. Project Organization In Studio\n\n   P02 RPADev-S07P02-StateMachines [[C#](https://github.com/ShonHarsh/RPADev-S07P02-StateMachines)] [[VB](https://github.com/ShonHarsh/RPADev-S07P02-StateMachines-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S07P02-StateMachines-WindowsLegacy)]\n\n   P03 RPADev-S07P03-FixMyWorkflow [[C#](https://github.com/ShonHarsh/RPADev-S07P03-FixMyWorkflow)] [[VB](https://github.com/ShonHarsh/RPADev-S07P03-FixMyWorkflow-VB)] [[Windows Legacy](https://github.com/ShonHarsh/RPADev-S07P03-FixMyWorkflow-WindowsLegacy)]\n\n   P04 RPADev-S07P04-Libraries\n\n8. Error And Exception Handling In Studio\n\n9. Debugging In Studio\n\n10. PDF Automation In Studio\n\n11. Email Automation With Studio\n\n12. Orchestrator For RPA Developers\n\n13. Robotic Enterprise Framework Overview\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshonharsh%2Frpadev-s02p03-switch-vb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshonharsh%2Frpadev-s02p03-switch-vb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshonharsh%2Frpadev-s02p03-switch-vb/lists"}