|
by: Rohit Santhanam |
last post by:
As I am reading the .NET documentation, I get the feeling
that Microsoft is trying to get rid of the registry. My
understanding is that an application built using .NET
does not use the registry at all. So, conceivably as
applications are migrated to .NET, the registry could
disappear in a future version of Windows. Does anybody
out there agree with me?
Of course, they might keep the registry for backward
compatibility purposes.
|
by: Bob |
last post by:
I'm working on a Windows app that needs to write to the Registry HKLM. I
keep getting a "System.UnauthorizedAccessException: Cannot write to the
registry key." error when running the app. I'm logged in as an
Administrator and it's a Windows app. What permission does it need? Here's
the code.
private void ChangeReg() {
string regPath =
"SOFTWARE\\Microsoft\\.NETFramework\\AssemblyFolders";
RegistryKey thisKey = Registry.LocalMachine;
|
by: Tony W |
last post by:
Hi,
I am trying to write a simple application to retrieve data from the
Windows registry and insert it into textboxs on a windows form.
So far I have one namespace containing two classess.
The first class handles the form generation - (this was done using GUI
form designer).
|
by: Dennis C. Drumm |
last post by:
Can my program access the HKEY_LOCAL_MACHINE/Software section of the
registry when being used by a user with restricted rights (not with admin
rights)?
If so, how? I have a program that functions just fine when run by an
administrator but generates an exception when run by a restricted user. The
program accesses the HKEY_LOCAL_MACHINE/Software section to set or get
application settings that are not user specific.
Thanks,
|
by: Daniel Passwater via DotNetMonster.com |
last post by:
I'm working on a app that displays according to a registry key value. The
user needs the ability to update the display, and hense the registry key
(via a click event on a popup menu). This all worked just fine until some
users were set up as power-users. I've tried to change the permissions on
that key programatically, on the fly, but to no avail.
Here's my question: While the user is logged in with limited permissions,
will the...
|
|
by: Kevin L |
last post by:
I store some application settings in the registry under
HKEY_LOCAL_MACHINE\Software\MyApplication
I want to allow full access to this key and subkeys.
Currently, I manually change the permissions on the keys.
How can I accomplish this through code?
|
by: Jay |
last post by:
Hey There,
I was able to change the access rights to a file through adding an
ACE to the DACL of a file. I have two questions that I am still trying
to get resolved regarding this:
1). When I reboot the machine, the Access Rights go back to the
previous settings, how do I get the modified Access Rights to stick
across reboots?
2). Also, is this information kept in the registry? If so, where in
the registry is it kept?
|
by: Peter Ritchie |
last post by:
I'm writing a Web Service and I would like to add performance counter data
for monitoring performance of the Web Service's operations over time and load.
The problem is, I get the "Requested registry access is not allowed."
SecurityException when I try and create the performance counter category via
PerformanceCounterCategory.Create().
I understand the login used to run the Web Service does not have access to
the registry keys...
|
by: Dylan Parry |
last post by:
Hi folks,
I've just got a new machine at work, so I've spent all day copying
across all of my work from my old machine. Now I've come across a
problem that I've never seen before.
I now get the following error when I attempt to run one of my sites:
"Access to the registry key 'Global' is denied"
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|