1 Reply Latest reply on Oct 9, 2013 1:57 AM by Adam.Cooke

    Launching TelnetCE from another application freezes after close.

    Rookie

      WM6.5, Motorola MC9190

       

      I have a basic .Net app as follows which launches TelnetCE.exe as follows:

       

      Public Class Form1
      
          Public Sub New()
      
              ' This call is required by the Windows Form Designer.
              InitializeComponent()
      
              ' Add any initialization after the InitializeComponent() call.
          End Sub
      
          Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
              Dim app As New Process
              app.StartInfo.FileName = "\Program Files\Wavelink\TelnetCE\TelnetCE.exe"
              app.Start()
              app.WaitForExit()
              Beep()
          End Sub
      
          Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
              Me.Close()
          End Sub
      End Class
      

       

      Launching TelnetCE.exe and then exiting it the first time works fine, however if i try to launch TelnetCE.exe again, quit the application or do anything else the device freezes when another window is displayed/changed (such as when TelnetCE.exe is relaunched) or the applications window is closed.

       

      The above application is a very baisc one I created to diagnose this problem with a more complex application.

       

      Thanks