registry

Read 64bit registry from 32bit app, in VB.NET

那年仲夏 提交于 2019-12-25 16:52:55
问题 Hy guys. I have a serious problem. I'm working on a project and i need to finish it tomorrow. The problem is that i need to get a registry value, like this: (32 bit) HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamSpeak 3 Client (64 bit) HKEY_LOCAL_MACHINE\SOFTWARE\TeamSpeak 3 Client I read tons of forum topics, blogs, tutorials, and i can't find the answer. The idea is that i need to get the install path for TeamSpeak3 from registry, and for the 32bit app its stored in SOFTWARE\Wow6432Node

Read 64bit registry from 32bit app, in VB.NET

冷暖自知 提交于 2019-12-25 16:52:42
问题 Hy guys. I have a serious problem. I'm working on a project and i need to finish it tomorrow. The problem is that i need to get a registry value, like this: (32 bit) HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamSpeak 3 Client (64 bit) HKEY_LOCAL_MACHINE\SOFTWARE\TeamSpeak 3 Client I read tons of forum topics, blogs, tutorials, and i can't find the answer. The idea is that i need to get the install path for TeamSpeak3 from registry, and for the 32bit app its stored in SOFTWARE\Wow6432Node

Showing custom file properties in the Windows Explorer file hover tooltip

自闭症网瘾萝莉.ら 提交于 2019-12-25 09:03:57
问题 I have used the DSOFile library, available within the Microsoft Developer Support 2.1 OLE File Property Reader 2.1 sample to set a custom file property for a file (sidenote, the sample has been updated in version 2.1 to handle non-OLE files, such as the new Office 2007 file formats, if a custom property handler is available): SetCustomProperty(@"C:\Users\User\Desktop\Example.doc", "CustomProperty", "CustomValue"); public static void SetCustomProperty(string filename, string key, object value)

Can I edit the context menu of a text field (not Explorer context menu)?

落花浮王杯 提交于 2019-12-25 08:00:14
问题 I want to add an entry to the context menu of a text field, eg: I have an AutoHotkey executable that will put highlighted text into the clipboard, then execute a Google search in Chrome with the clipboard. I would like a registry addition that gives me a single-click in the menu, that runs that executable. I have achieved this in the Explorer context menu (for processing of files with third-party applications, etc), but I have found no mention anywhere of the ability to change this specific

How to use PowerShell to find information for Current User's Network Printers

喜欢而已 提交于 2019-12-25 07:48:40
问题 I'm trying to find the mapped network printers of the signed in user. I found this script here: GetMappedNetworkPrinters, but it is from a few years ago and there isn't a comment section so I'm not sure where to ask questions about the issues... When I run this script I run into WMI errors on some machines, but the confusing part is for the computers that it does bring information back for I get the notice that there are no mapped printers... Any idea how to adjust the script so that it might

How to refresh outlook profile signature settings in registry

ε祈祈猫儿з 提交于 2019-12-25 07:30:12
问题 I have made an outlook plug in that downloads a new signature and creates the registry keys for the profile to set the new and reply signature. Is it possible to get outlook to pick up these new registry settings without restarting? Edit: Just to clarify the settings I am applying in the registry are in the sub keys of "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office[OFFICE VERSION]\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676" which hold the profile settings. 回答1: No - any changes

Add Multi String value to the registry

纵然是瞬间 提交于 2019-12-25 06:31:52
问题 This code is part of a bigger application. It is designed to add anew Multi String value to the registry. I have searched all over the net and cannot get a solution to work. I can do this with a DOS command but cannot seem to do it with VBScript. This is the VBScrip I have found which supposedly works. ' Create a MultiString Value in the registry. Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root

Wix installer registry keys not getting created in Wow64 node

江枫思渺然 提交于 2019-12-25 05:25:09
问题 I have a 64 bit machine in which I need to install a Windows service. This service was created using Apache procrun, therefore I need to create certain registry keys. These should go into the wow64 node as I expect them to, but they get created in HKLM/SOFTWARES instread of HKLM/SOFTWARE/Wow64 node. Below is my Product.wxs file. <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="DummyInstaller" Language="1033" Version="1.0.0.0"

Update registry changes of WISP (Windows Ink Service Platform) with C#

痴心易碎 提交于 2019-12-25 05:23:17
问题 I am trying to enable/disable touch capability on Windows 7 or 8 for my WPF drawing application. As far as I searched, the link How to turn off all touch input at application, window or control level? gives a right location of the registry for touch capability status. However, it did not be affected on-the-fly because windows system may not be acknowledged the changes. In my assumption, User32.dll refresh with SystemParametersInfo is required to make changes without reboot. But hard to figure

Install a msi at system startup time

时间秒杀一切 提交于 2019-12-25 05:16:13
问题 I have a bootable disk from a machine which is mounted on another machine. I need to make the bootable disk ready so that when i create a machine using that mounted bootable disk some of the msi's are installed. What is the best way to run the msi's at system startup without knowing the instance credentials? Note : I have tried using RunOnce and AutoAdminLogon, it works but i need to know the credentials for this method. Also, since i have only the bootable disk i need to use methods which