Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm using ActiveDocument.GetApplication.Launch to open a website when an ID field is clicked in Qlikview. The site show deatials about the ID. My problem is a new window is opened everytime. I'm trying to figure out if there's some vbscript I could use to make sure the same window is used.
I found the following code. Still not sure how to open in same window but seems more promising:
strLink= "google.com"
Set objIExplorer = CreateObject("internetexplorer.application")
objIExplorer.visible = True
objIExplorer
objIExplorer.navigate strLink
Set objIExplorer = Nothing
Why not do the same using an Action? It's better than Marco from many perspectives, and you can simple check the checkbox "Open in the same window".
Didn't even know about the "Open URL" action. Thanks Oleg.
Quick question though. Does this mean open in the window that QV is currently running in?
I fire the action when an ID is clicked and a different site shows details about that id.. I want to keep QV open but not have a new window every time an ID is clicked.
Turns out Open URL doesn't work for On Select.
yes, I just found out myself... that's a bummer... back to VBScript... Sorry about that!
Hi All,
i want to write a bat who can create new instance. below attached code is .vbs code.
once i run below vbs script it tookover existing qv instance.
set Qv = CreateObject("QlikTech.QlikView")
set shell = createobject("wscript.shell")
success = shell.appactivate("Qlikview - [Start Page]")
Set docObj = Qv.OpenDoc("E:\QlikView\test.qvw,3,false)
docObj.Reload
docObj.Save
Set docObj= Nothing
Set Qv= Nothing
My problem is is there any way to open new instance for any reload.