Some Tips for the damn OS code name VISTA
Posted: Sat Apr 18, 2009 10:13 pm
When you stand in front of a lecturer you will notice that he is pretending that he knows a lot
Well he knows nothing
Even he does not know the purpose of an action
How can you change a Listicon Header height while XP theme is enabled ?
For how long shall we wait for v 1.0 ?
It does not matter as long as the Imagelist mystry is solved
The Gorillas are there out of order
Now for the Tips I gatherd it,Adopted for PureBasic,Tested it and it is OK
VISTA Enable UAC
VISTA Disable UAC
Take Ownership of a file
Be carefull
RASHAD
Well he knows nothing
Even he does not know the purpose of an action
How can you change a Listicon Header height while XP theme is enabled ?
For how long shall we wait for v 1.0 ?
It does not matter as long as the Imagelist mystry is solved
The Gorillas are there out of order
Now for the Tips I gatherd it,Adopted for PureBasic,Tested it and it is OK
VISTA Enable UAC
Code: Select all
RunProgram("C:\Windows\System32\reg.exe"," ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f","",#PB_Program_Wait|#PB_Program_Hide)
Code: Select all
RunProgram("C:\Windows\System32\reg.exe"," ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f","",#PB_Program_Wait|#PB_Program_Hide)
Code: Select all
RunProgram("C:\Windows\System32\takeown.exe"," /f "+file$,"",#PB_Program_Wait|#PB_Program_Hide)
RunProgram("C:\Windows\System32\icacls.exe"," "+file$ + " /grant administrators:F","",#PB_Program_Wait|#PB_Program_Hide)
RASHAD