Is there a way to disable LCIE in IE8 without modifying the "TabProcGrowth" registry key? I'm using an IE extension called "HTTPWatch" to benchmark the speed of a web application, but the multiple process feature is causing issues when I try to measure how long it takes for a pop-up window to load.
The reason I can't alter the registry...
i want to do part of program which save and load some data from registry. Saving is succefuly working. I have function GrabPrivilage to grant some privilegies to my thread.
i grant SE_RESTORE_NAME and SE_BACKUP_NAME to my thread and after that i call RegRestoreKey(HKEY_LOCAL_MACHINE, TEXT("C:\reg.txt"), REG_FORCE_RESTORE ); and it always...
I know I can simply write to the CommandBandLayout regkey but since I don't know what format it is I'm having doubts if that is safe.
Also, this answer suggest it's the wrong solution: http://stackoverflow.com/questions/1239266/how-to-modify-commandbandlayout-reg-key-value
But how can I change the order a bit? I have written an Interne...
I'm storing a value in the registry with the first install date of my program.
When I try to read this value as a USER (non-admmin) on Vista or Win 7, i get an error saying I don't have enough rights to read the registry ??
How can I read registry as a user, or how should I save my install date?
...
This is not working for me:
public bool createRegistry()
{
if (!registryExists())
{
Microsoft.Win32.Registry.LocalMachine.CreateSubKey("Software\\xelo\\");
Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software\\xelo").SetValue("hostname", (string)hostname, Microsoft.Win32.RegistryValueKind.String);
...
I have a zend form that I'm initializing as follows:
$form = new Form_XYZ();
I have a display group in that form, which I'm calling like this:
$form->addDisplayGroup($generalSettingsGroup,
'general',
array(
'legend' => 'General',
...
i have to create one root folder in current config. I'm storing some value in this root folder. i can delete the values in this root folder. but i cannot delete the root folder.
...
I have a c# .Net 3.5 application that creates xaml files with drawings in them. I'd like to insert a thumbnail into the file so that the user gets some indication of the file contents in Windows Explorer.
Any ideas what approach to take?
Regards David
...
I'm trying to write a quick app to modify some registry keys. When I'm browsing via RegEdit, I can modify and delete the keys with no problems.
But when I try to use RegistryKey.DeleteSubKey() it throws an UnauthorizedAccessException
Is there anyway to gain the privileges to do this? Also, why would there be a problem if my user acco...
Hi,
Dabbling with creating an installer with inno setup- but wondering:
What are the pros and cons of using registry keys (windows program) vs. .ini files that sit within the program folder?
If I store all my user settings in .ini files, the entire program can be removed by deleting the folder.
With registry keys i'd have to creat...
I am trying to get the updated Windows Phone 7 tools installed, but can't get rid of the old ones. The uninstaller wouldn't run, so I had to try more extreme means. I got everything removed except for "Microsoft Windows Phone Emulator x64". Does anyone know what vm_web.exe (the tool installer) is checking for (registry, file, etc.) th...
related to this: http://stackoverflow.com/questions/138550/how-to-register-file-types-extensions-with-a-wix-installer but not a duplicate.
I need to handle existing file types (.jpg files).
I do not want to be the default handler for .jpg, I would just like to extend the "Open with" menu with a link to my app.
I see HKCR\.jpg\OpenWith...
I have a list of installed software, obtained from WMI class select * from Win32_Product.
I'd like to deny execution rights for some users on certain software like so:
find the path to installed software
recursively remove execution rights
I find the path to installed software from Win32_Product InstallLocation column. But the PROBLE...
Hi,
im trying to detect the RegOpenKey or RegSetInfoKey event like Process Monitor from Mark Russinovich (Sysinternals) does.
Does anyone know how to write a C# Event which gets fired when a Program is doing a RegOpenKey or RegSetInfoKey on a RegistryKey (NOT changing!)?
Thanks in advance!
...
I'm trying to find a way to identify a newly registered or unregistered (via regsvr32) COM servers, which are added to the registry (CLSID). Is there any callback function I can use?
I don't really want to poll the registry...
...
All
I have a VS 2005 install set, which when executed seems to run OK however right at the end of the process it responds with the error message:
The source '' is not registered on machine '.' or you do not have write access to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog registry key.
At which point it backs out ...
HKEY CURRENT USER \software \microsoft\ windowsNT \CurrentVersion\ AppCompatFlags "application path" = RUNASXP3
I want to create an application which runs in default XP mode on windows 7 when i run the application so, i want to write into the registry as in the link above.
I am building the application in VC++ 2010, i want to write int...
we've got some legacy com libs exposed as exe, they register as dcom.
we'd like to get rid of any dcom-ness and not be forced to give users extra dcom execution rights. can someone point me to some documentation or samples (rgs files, registration code?) how I register an exe com lib without dcom?
...
Hi All,
Is there a way to search the Registry for a specific key using Windows Scripting Host?
I'm using JavaScript (Jscript/VBScript?) to do so, and the msdn Library doesn't mention any such method: http://msdn.microsoft.com/en-us/library/2x3w20xf(v=VS.85).aspx
Thanks,
So here's an update to the problem:
The problem is a bit more...
So far I have the below which is taken from
http://www.danielmoth.com/Blog/volatile-registrykey.aspx
public static class RegistryHelper
{
public static RegistryKey CreateVolatileSubKey(RegistryKey rk, string subkey, RegistryKeyPermissionCheck permissionCheck)
{
var rk2 = rk.GetType();
const BindingFlags bfStati...