Application won't run beyond splash screen on testing machines

I have almost finished developing a rather extensive application that was in part upgraded from VB6. Since deployment is a bit different with VB Express than VB6, I've been trying to get a handle on this aspect.

The compiled application runs on my development machine without any problems. I have loaded .net 2.0 framework on two different machines and have dealt with various issues and error messages, and now at the point where the splash screen starts up, but the main form doesn't come up.

I've looked in the system log on the machines, and there's an system.invalidexception error, with P10 NIL.

Here's my unhandled exception code (which doesn't seem to fire; there is no on-screen indication of trouble and no application or process resulting in the task manager)

Private Sub MyApplication_UnhandledException(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs) Handles Me.UnhandledException

Dim s As String = ""

Try

Catch ex As Exception

s = e.Exception.GetBaseException.Source

s = s & vbCrLf

s = s & e.Exception.GetBaseException.InnerException.ToString

My.Application.Log.WriteException(e.Exception, Diagnostics.TraceEventType.Critical, "Unhandled Exception.")

MsgBox("unhandled system exception or abnormal shutdown- sender: " & s, MsgBoxStyle.Critical, "Unhandled Exception")

End Try

End Sub

I've been in this state for about a month (while working on other aspects of the application) and have tried many different things, but nothing seems to permit the application to run beyond the splash screen.

John Willkie



Answer this question

Application won't run beyond splash screen on testing machines

  • OmLeD

    I'm not using a sub main procedure as the documentation says I don't have to. However, I'll put a try catch in the the load event for the main form and the splash screen, and I'll experiment with implementing a sub main.

    Thanks.


  • Magnus Blomberg

    Put a try catch in the main entry p[rocedure as well as the opening and closing procedure of the splash form to see if you can trap whats happening!

  • dubstar

    Hi,

    Is your problem solved If yes, then please go ahead and mark the reply which you think is answer by clicking on the button "Mark as Answer".

    FYI: You can always re-open the post by clicking on "Unmark as Answer" button, if you get an error later.

    Thank you,
    Bhanu.



  • Application won't run beyond splash screen on testing machines