Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Mobile Development
  3. Mobile
  4. Turning on a program

Turning on a program

Scheduled Pinned Locked Moved Mobile
questionhelp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    danialhill
    wrote on last edited by
    #1

    Hi, i wish to have a button click in my form to open an another application.. I understand that if i were to open form to form, it'll be like this : Public Class Introduction Private Main_Menu1 As Main_Menu Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Main_Menu1 = New Main_Menu Main_Menu1.Show() End Sub How can i open an external program then.. Assuming the program directory is at \programfiles\haha\haha.exe And how do i write in a way that after i finish using that program, i will be redirected to my form.. Any help is greatly appreciated =( Language used is vb

    T 1 Reply Last reply
    0
    • D danialhill

      Hi, i wish to have a button click in my form to open an another application.. I understand that if i were to open form to form, it'll be like this : Public Class Introduction Private Main_Menu1 As Main_Menu Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Main_Menu1 = New Main_Menu Main_Menu1.Show() End Sub How can i open an external program then.. Assuming the program directory is at \programfiles\haha\haha.exe And how do i write in a way that after i finish using that program, i will be redirected to my form.. Any help is greatly appreciated =( Language used is vb

      T Offline
      T Offline
      tronix01
      wrote on last edited by
      #2

      to start an external program, use this

      Process.Start(myFilename);

      http://msdn.microsoft.com/en-us/library/53ezey2s.aspx[^] http://www.thescarms.com/dotnet/Process.aspx[^]

      B 1 Reply Last reply
      0
      • T tronix01

        to start an external program, use this

        Process.Start(myFilename);

        http://msdn.microsoft.com/en-us/library/53ezey2s.aspx[^] http://www.thescarms.com/dotnet/Process.aspx[^]

        B Offline
        B Offline
        byval
        wrote on last edited by
        #3

        The syntax for Process.Start is little bit confusing. Is there anyone who has actually done it on mobile device? Example...?

        T 1 Reply Last reply
        0
        • B byval

          The syntax for Process.Start is little bit confusing. Is there anyone who has actually done it on mobile device? Example...?

          T Offline
          T Offline
          tronix01
          wrote on last edited by
          #4

          confusing ? try this and/or use the links above System.Diagnostics.Process.Start("IExplore.exe") or System.Diagnostics.Process.Start("IExplore.exe", "www.northwindtraders.com")

          B 1 Reply Last reply
          0
          • T tronix01

            confusing ? try this and/or use the links above System.Diagnostics.Process.Start("IExplore.exe") or System.Diagnostics.Process.Start("IExplore.exe", "www.northwindtraders.com")

            B Offline
            B Offline
            byval
            wrote on last edited by
            #5

            Try to start some other application (xyz.exe) which is not supported by IE.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups