Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to remove "VBScript" from the title of popup Message Box?

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

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

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.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

View solution in original post

13 Replies
Not applicable
Author

Anybody knows about?

Is possible?

Thanks,

Nuno

Not applicable
Author

hey hi Nuno,

t i think its not possible Dear.

m_woolf
Master II
Master II

When I run your code in ver 9 SR6, I get:

test.jpg

Not applicable
Author

I use version 10 SR2.

Any ideas ro remove the word "VBscript"?

m_woolf
Master II
Master II

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."

Not applicable
Author

I see in the client.

m_woolf
Master II
Master II

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.

Not applicable
Author

Someone that have the version 10 SR2 and can remove the message "VBScript"?

Not applicable
Author

It's possible?