Hello,

I would like to open VB .NET application from other VB .NET application by clicking form button.
This is the code that I use:

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If IO.File.Exists("c:\Documents and Settings\User\My Documents\Visual Studio 2005\Projects\My Application\My Application\bin\Debug\My Application.exe") Then
            System.Diagnostics.Process.Start("c:\Documents and Settings\User\My Documents\Visual Studio 2005\Projects\My Application\My Application\bin\Debug\My Application.exe")

Else
            MsgBox("My Application.exe file was not found")
End If
    End Sub
After clicking the button, "My Application" start form opens, but it has very limited functionality – some forms inside the application can’t be opened.

If I open My Application.exe in a normal way (through Windows Explorer), it works fine.

May be I am using wrong command to open application?