Hi all
at work i got a commercial application that displays a Tab Control (SysTabControl321)
with 4 tab items inside.
my users have to logon to the application by providing a user name and password.
i want to be able to hide one tab item inside the tab control based on the app username.
i can grab the username but i cant hide the tab items. i can only hide the whole control including
its sub tabs (using ControlHide command).
can someone help?
I have compiled an exe file in Autoit to replace the windows shell (explorer.exe).
To replace it i have changed the following reg value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
from Explorer.exe To myAutoitFile.exe.
When the user logges on to the workstation he gets a windows that asks a question.
if the user answers NO then he is presented with a message and right after will be logged off.
(Working fine)
If the user answers YES i want to open the users desktop (UI).
The command i used is: Run("Explorer.exe")
The problem is the command will launch windows explorer and not the Full UI (taskbar, etc..)
Can someone help?
Since your login script will run after the user logge on the ntuser.dat file is in use
and cannot be overwriten.
if you want to clean the last session settings consider using a mandatory profile.
mandatory profile is a profile that wont save the user session settings upon logoff.
to allow such profile, log off the current user, navigate to "doc & settings\%username%"
directory and change the ntuser.dat file extension to .man (ntuser.man).
hope that helped
is there a way to remove menu items from any application.
i would like to remove a menu item called "Send To Server" from the file menu
of an application form named "Customer Info".