• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

Hung up on Splash screen

I have a vb .net project that is being called from a VB6 application.  This VB6 application checks if there's a new version of the vb .net project on the server.  If there's a new version it copies the server version to the local drive.  The problem I'm having is that when the vb .net project is called it gets hung up on the splash screen.  I've removed the splash screen for now, but I'd really like to put it back.  Any ideas, anyone?  Thanks loads for taking out time to help!  
0
DenaMP
Asked:
DenaMP
  • 5
  • 2
  • 2
1 Solution
 
Daniel ReynoldsSoftware Applications Developer / IntegratorCommented:
You would probably need to give us an idea of how the code is displaying the splash screen, etc.
0
 
DenaMPAuthor Commented:
I have it set as the Splash screen on the Application tab of the Properties page.  But I've tried to set it different ways (ex. calling splash screen from startup events, from login screen).  No matter how I call the splash screen, it hangs up the application.
0
 
vigylantCommented:
Without knowing your code, all i can suggest is this:

Try clicking the pause button in visual studio when it hangs.
The current line processing will then be highlighted... That line could be the reason it hangs :)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
DenaMPAuthor Commented:
Sorry but I'm new at this.  This is my first application.  The application is running from an executable off the local drive and not from inside Visual Studio.  I don't know how to step into the debug mode in this scenario.      
0
 
vigylantCommented:
If its your application, why cant you just load up the project in visual studio and click play?
0
 
DenaMPAuthor Commented:
I know this sounds strange, but when I ran it inside Visual Studio, it didn't hang.  Help!!
0
 
Daniel ReynoldsSoftware Applications Developer / IntegratorCommented:
Can you provide a code snippet for the form? and any other pertinent form properties for the splash form?
0
 
DenaMPAuthor Commented:
It's a standard splash form.
The first time through, the start up event checks for a new version, and closes itself.  The second time through, it starts up the application.  If there is a new version, the vb6 app will start up the new version, else it will restart the old app.  Thanks so much for your help!
Imports Microsoft.VisualBasic.ApplicationServices
Namespace My
    Partial Friend Class MyApplication
        Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup
           rcLogin.Visible = False
            If CheckNewApp() Then
                rcLogin.Close()
                Exit Sub
            Else
                rcLogin.Visible = True
            End If
        End Sub

Open in new window

0
 
DenaMPAuthor Commented:
I discovered how to check if there's a new version of the program on the server the .Net way using clickonce deployment.  So, I guess I no longer need an answer to this question.    Thank you xDJR1875 and vigylant for your help!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now