kblair
Member
- Joined
- Feb 11, 2010
- Messages
- 8
- Programming Experience
- 1-3
My application needs to fire off a Java web app after running a process. The Java app basically transmits message from one secure server to another. The web app is launched by merely hitting a JSP page via web browser. So, to automate this, my application has a web browser control on it and I simply navigate to the URL. When the page load is complete, I navigate back to the index page.
My problem is that I can't seem to consistently hit the URL lauching the Java app. My code executes but the navigation does not seem to occur.
Any thoughts on why I don't get consistant navigation?
My problem is that I can't seem to consistently hit the URL lauching the Java app. My code executes but the navigation does not seem to occur.
Any thoughts on why I don't get consistant navigation?
VB.NET:
Me.eCommLaunch.Navigate(myurl)
Private Sub eCommLaunch_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles eCommLaunch.DocumentCompleted
If Me.eCommLaunch.Url.ToString = My.Settings.Outbound Then
eCommLaunch.Navigate(My.Settings.ParkPage)
End If
End Sub