Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello everyone
I want to hide "Edit Script" button. I know I can hide it in "document properties"→"security" tab.
but when I click the "New" button in "File" menu , that will display "Edit Script" button again.
can I hide the "New" Button , or is there something other way to do that.
Thanks for any help in advance
laughsmile
I finish it by editing qlikview's registry.
The Edit-Button will be greyed anyway for all USERs, only ADMINs can open script-editor. Please check your access-scripts.
HTH
Peter
thank you so much.
the following is my access-script. even whenI login with USER(in this time Edit-Button is greyed),but if I click "New" Button in the File Menu to create a new document , the Edit-Button will be enabled.
what is wrong with it?
CONNECT TO [Provider=ADsDSOObject;Password=xxxx;User ID=xxxx;Encrypt Password=False;Data Source=192.168.0.162;Mode=Read;Bind Flags=0;ADSI Flag=-2147483648];
TAB1:
select sAMAccountName , physicalDeliveryOfficeName
from
'LDAP://mydomain.com'
WHERE objectCategory='person';
SECTION ACCESS;
Load if(upper(physicalDeliveryOfficeName) <> 'ADMIN','USER', 'ADMIN') as ACCESS ,upper(sAMAccountName) as NTNAME resident TAB1;
SECTION APPLICATION;
Drop table TAB1;
The "New"-option has nothing to do with USER/ADMIN, think it is related to the version/licence. All users having developer-licence can create new documents.
Check the OL-Help for taskbar and how to add/remove icons there.
HTH
Peter
I finish it by editing qlikview's registry.
How? Can you post the entry?
Peter
sorry for so late
I modify the following in registry:
HKEY_CURRENT_USER\Software\QlikTech\QlikView\Settings 7\DisableScripting=1
Hey Laughsmile, could you show me how you use this registry function?
I assume that is a macro function, but I can't make it work!!!
I've been trying something like this :
sub reg
Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\QlikTech\QlikView\Settings 7\DisableScripting","1"
end sub
Any ideas to make the button of "edit script" unavailable???
Thank you!!
Hi,
how i can modify the registry and where is it located in my system ?
Regards
Venkat