Application Launcher using VB.NET

This is a tutorial in which we will going to have a program that can launch any applications, program, and websites. Now, let's start this Font Dialog tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only one Button named Button1 and labeled it as "Run" and one textBox named TextBox1 that will serve as our input. You must design your interface like this: design 3. Now put this code for your code module. This code is for Button1_Click:
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2. On Error Resume Next
  3. Process.Start(TextBox1.Text)
  4. End Sub

Explanation:

We first code for an On Error Resume Next which specifies that when a run-time error occurs, control goes to the statement immediately following the statement where the error occurred, and execution continues from that point. Then we have the Process.Start method to start the method inputted in TextBox1. This starts a process resource by specifying the name of a document or application file and associates the resource with a new Process component.

Output:

outputoutput Download the source code below and try it! :) For more inquiries and need programmer for your thesis systems in any kind of programming languages, just contact my number below and hire me. Best Regards,

Engr. Lyndon R. Bermoy
IT Instructor/System Developer/Android Developer
Mobile: 09079373999
Telephone: 826-9296
E-mail:[email protected]

Visit and like my page on Facebook at: Bermz ISware Solutions

Subscribe at my YouTube Channel at: SerBermz

Add new comment