Question: I'm working with Google App Engine in Eclipse w/ JSP pages in Windows 7.
I already have an app deployed and working, but I am unable to make changes to it for some reason.

If I make changes and debug locally, my localhost page is showing the changes that I implement.
While I am not getting any errors in the deployment, the same changes that work on my local debug are no longer showing up, so I can't update my app.
I thought updating the version number might help, but I had no luck with this.

Any ideas? Thanks.

Answer: 
The difference between [`Show`](http://msdn.microsoft.com/en-us/library/system.windows.forms.form.show.aspx) and [`ShowDialog`](http://msdn.microsoft.com/en-us/library/c7ykbedk.aspx) is that `ShowDialog` is application Modal meaning it prevents anything else from happening until you close it. `Show` on the other hand throws up the `Form` and continues on its way. In looking at your code I would guess that your problem is that you are disposing of `rptDoc` and your datasource from underneath your `frmPrint`. You will need to change your frmPrint to be more autonomous. I would do something like.

```
frmPrint =  New ParentFormName(dt)  'The Form frmPrint is instantiated from
frmPrint.Show()

```

And then

```
Public Sub New( dt as DataTable)

    ' This call is required by the designer.
    InitializeComponent()

    ' Add any initialization after the InitializeComponent() call.
    Dim rptDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument      
    rptDoc = New CrystalReport1      
    rptDoc.SetDataSource(dt)      

    CrystalReportViewer1.ReportSource = rptDoc

End 

```

And in your FormClosing event dispose of your Objects then. 

This is untested code I am just trying to give you a few ideas.

---

Another option as I stated in my Comment is to add an Event to your print form and subscribe to it in Main Form like this.

```
Public Class Form1
    Dim frm2 As Form2

    Private Sub CloseMyData()

        'Dispose of your Data here
        RemoveHandler frm2.myClosingEvent, AddressOf CloseMyData
    End Sub

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        frm2 = New Form2
        AddHandler frm2.myClosingEvent, AddressOf CloseMyData
        frm2.Show()
    End Sub
End Class

Public Class Form2
    Public Event myClosingEvent()

    Private Sub Form2_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        RaiseEvent myClosingEvent()
    End Sub
End Class

```
Instead of 

```
  frmPrint.ShowDialog()

```

use

```
  frmPrint.Show()

```