Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change the character type in inputbox ?

I have the expression (x = inputbox ("Enter password")), when I call this macro runs normal so that when you type it displays the characters I'm typing as I do is put some kind when they enter specific information to fill ** ***?

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     There is no builtin functionality to do but we can achieve it in some other way

     Check the below link

http://www.windowsitpro.com/article/jscript/scripting-password-prompts-

Sub ShowPopup

          ' InputDlg.vbs

Dim Dialog, Password

' Callout A

Set Dialog = CreateObject("InputDlg.Dialog")

' End Callout A

' Callout B

Dialog.MaskInput = True

' End Callout B

Password = Dialog.InputBox("Please enter a password.", "Demo Script")

msgbox Password

End Sub

View solution in original post

9 Replies
Miguel_Angel_Baeyens

Hi,

There is no such functionality in QlikView, the InputBox() prompts for a value and assigns it to a varible. Depending on what you want to get yoy might use one way ot the other.

Regards.

Miguel

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Check this link

     http://www.autoitscript.com/autoit3/docs/functions/InputBox.htm

Celambarasan

Not applicable
Author

Friend, this is what I need (

Local $passwd = InputBox("Security Check", "Enter your password.", "", "*"))

only when I put the macro it does not run many functions that try to use vb not run I do not know much about macro'm starting now and I'm having enough trouble.


CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     There is no builtin functionality to do but we can achieve it in some other way

     Check the below link

http://www.windowsitpro.com/article/jscript/scripting-password-prompts-

Sub ShowPopup

          ' InputDlg.vbs

Dim Dialog, Password

' Callout A

Set Dialog = CreateObject("InputDlg.Dialog")

' End Callout A

' Callout B

Dialog.MaskInput = True

' End Callout B

Password = Dialog.InputBox("Please enter a password.", "Demo Script")

msgbox Password

End Sub

Not applicable
Author

Celambarasan, I copied the code, the macro does not run in the expression of a mistake!

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Download the zip file from the given link and register the dll file inside the zip file.Then run this code.

Celambarasan

Not applicable
Author

I downloaded the file and registered the dll, when I run the macro it to this line (Set Dialog = CreateObject ("InputDlg.Dialog"))

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Set security to system access.in the edit module dialog at the left side.

Celambarasan

Not applicable
Author

Thanks it worked was actually allowed