Introduction
I've always been searching for a way to make Visual Studio draw a line after a certain amount of characters:
Below is a guide to enable these so called guidelines for various versions of Visual Studio.
Visual Studio 2010
Install Paul Harrington's Editor Guidelines extension.
Open the registry at:
HKEY_CURRENT_USER\So...
Is there any way to force an update of software using RunOnce, without having an administrator log in, if there is a service running as Adminstrator running in the background?
EDIT: The main thing I want to be able to do is Run when the RunOnce does, I.E. before Explorer starts. I need to be able to install things, without booting into...
In visual basic 6, when I attempt to access Project > References, it throws an error
"Error accessing system registry"
I'm logged in as the local computer administrator running windows XP professional and I can execute regedt32.exe and access all the registry keys just fine. VB6 was installed as the local administrator.
any ideas w...
Looking for C# class which wraps calls to do the following:
read and write a key value
read & write a key entry
enumerate the entries in a key. This is important. For example, need to list all entries in:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources
(I scanned through some codeproject.com registry classes and they didn'...
EDIT: This was formerly more explicitly titled: - "Best solution to stop Kontiki's KHOST.EXE from loading automatically at start-up on Windows XP?"
Essentially, whenever the 40D application is run it sets up khost.exe to automatically start-up with Windows. This is annoying as it increases my boot up time by a couple of minutes and I d...
Inno Setup is a nice easy to use installer. It is rated high in this stackoverflow question. I have a need to install a plugin to a folder relative to the installation folder of a 3rd Party application. It isn't obvious from the docs how to do this.
...
Is it possible to modify a registry value (whether string or DWORD) via a .bat/.cmd script?
...
I am currently working on a program to immediately clear the list of previously-run-commands which appears in the Windows Start -> Run dialog. The procedure for clearing this list by removing the *HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU* key is well documented; however, before these changes take effec...
My app keeps track of the state of about 1000 objects. Those objects are read from and written to a persistent store (serialized) in no particular order.
Right now the app uses the registry to store each object's state. This is nice because:
It is simple
It is very fast
Individual object's state can be read/written without needing...
Is there a way to track changes in Windows registry? I'd like to see what changes in the registry are made during installation of various programs.
...
I'm looking for a way to limit the maximum number of running processes in Windows Server 2003.
Is there a registry key somewhere that controls it?
If so, which one is it?
...
As part of a build setup on a windows machine I need to add a registry entry and I'd like to do it from a simple batch file.
The entry is for a third party app so the format is fixed.
The entry takes the form of a REG_SZ string but needs to contain newlines ie. 0xOA characters as separators.
I've hit a few problems.
First attempt use...
To pop up the UAC dialog in Vista when writing to the HKLM registry hive, we opt to not use the Win32 Registry API, as when Vista permissions are lacking, we'd need to relaunch our entire application with administrator rights. Instead, we do this trick:
ShellExecute(hWnd, "runas" /* display UAC prompt on Vista */, windir + "\\Reg", "add...
I need something like i6comp but for list of reg changes rather than list of files.
Does such a thing exist?
EDIT:I know there are ways to do monitor changes to the ergistry but are there ways to do it by examining the setup files?
...
My company has a 3rd party application that runs on a Progress database. I've been building an application on top of their database using an ODBC connection.
One of the "quirks" of Progress is that it doesn't honor SQL column widths, so it will allow 100 characters in a column defined as a varchar(50). When reading this data via ODBC,...
We may start converting an old VS2003 MFC project to use the fancy new features provided by the MFC Feature Pack and VS2008. Several of the new UI controls would be very nice except for one thing - they automatically save their information to the registry. I don't have a problem with the registry, but for the multiple environments the us...
I've registered custom protocol "xyz" on Windows Vista:
HKEY_CLASSES_ROOT\xyz = "URL:Extensions Protocol"
It works OK with my application.
Open "Control Panel -> Programs -> Default Programs -> Set Associations", scroll the list to the end. Here is the list of protocols.
I would like to see my custom protocol associated with my applica...
When in Outlook 2003, open the Address Book, select Tools->Options. You get the Address dialog showing the option "When sending mail, check names using these address lists in the following order:"
For most people, this will contain only "Contacts". For corporate networks, it'll probably also contain "Global Address List". The problem...
Is there a way to programmatically find the location of the current user's Outlook .pst file(s) through an API call or registry entry?
...
I'm writing an winforms app that needs to set internet explorer's proxy settings and then open a new browser window. At the moment, I'm applying the proxy settings by going into the registry:
RegistryKey registry = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
registry.SetValue...