|
-
Apr 17th, 2002, 05:08 PM
#1
IE always launches in same process from VB Application
I am attempting to launch a customized Internet Explorer browser from a small VB application. Whenever a user launches more than one IE window, the IE window is opened using the same windows process. The IE windows then share the same session. The user cannot navigate from the same web application that uses session data from both windows at the same time because both windows have the same session id.
Does anybody know a way to launch IE from VB on a separate windows process?
Here is the code I am using:
Public Sub Main()
Dim objIE
Dim environment As String
environment = "idp1.nml.com"
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Toolbar = False
objIE.MenuBar = False
objIE.AddressBar = False
objIE.Navigate "http://" + environment + "/cimsweb/form/cookie.html"
Do Until objIE.ReadyState = 4
Loop
objIE.Navigate "http://" + environment + "/pos/cims/CIMS/homePage"
RemoveCancelMenuItem objIE
objIE.Visible = True
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|