Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How to remove "VBScript" from the title of popup Message Box?
The code i have used is:
MsgBox "Hello", vbInformation, "Teste"
But the popup contain the word "VBScript":
Regards,
Nuno
Hello Nuno,
As mwoolf says above, this is working as designed by Windows, and it doesn't depend on QlikView, but on your OS. And that is documented in several places, but among others, here in Microsoft (see the Remarks section).
Anyway, you can create a popup object in your system instead of using the MsgBox function, using that object you can customize buttons, text, caption and so, but it takes longer to develop, requires system access and may not run in some systems (you will have to test it).
Sub ShowPopup
Set objShell = CreateObject("WScript.Shell")
objShell.Popup "Text Line", 10, "Custom caption", 64
Set objShell = nothing
End Sub
This is VBScript, so check here for further reference and options.
Hope that helps.
BI Consultant
Anybody knows about?
Is possible?
Thanks,
Nuno
hey hi Nuno,
t i think its not possible Dear.
When I run your code in ver 9 SR6, I get:
I use version 10 SR2.
Any ideas ro remove the word "VBscript"?
Do you see this behavior in the client or on the accesspoint?
I found this post by googling:
"When the MsgBox function is used with Microsoft Internet Explorer, the title of any dialog presented always contains "VBScript:" to differentiate it from standard system dialogs."
I see in the client.
Since I am not using ver 10, I can't do any further testing.
I can see that this could be considered a feature, since users will see "VBScript" when they view the app on the accesspoint.
Someone that have the version 10 SR2 and can remove the message "VBScript"?
It's possible?