open/ launch a new session of IE

Share this post
FaceBook  Twitter  Mixx.mn     

To open/ launch a new session of IE, use following code:
Steps:
1) Check the environment i.e. xp or windows7

2) launch IE with new session


Code:

ProductDir= Environment.value("ProductDir")
IF (Instr(1,ProductDir,"(x86)"))>0 then
    SystemUtil.Run "C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE", "-noframemerging " &  URL'  Launch Internet explorer and enter given URL
Else
    SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","-noframemerging " & URL'  Launch Internet explorer and enter given URL
End if