Hi everybody,
I need to retrieve data in the registry.
In order to do that I have got this type of code (example for REG_DWORD) :
outParam = wmiRegistry.InvokeMethod("GetDWORDValue", inParam, null);
if ((uint)outParam["ReturnValue"] == 0)
div1.InnerHtml += outParam["uValue"].ToString() + "<br...
Hi everybody,
I need to have a list of all the subkeys and data (with the type) of a specified key.
I know how to list the subkeys :
string Machine = mymachine;
string KeyPath = @"HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\6.0\Installer"; //for example
//Creation of the...
Hi everybody,
Does anybody have an example to read a registry key of a distant server from an ASP.NET page?
I do not find any on the web... (?)
Thanks very much for any help.
Regards.
Olivier
Hi,
Here is my very simple program :
Code behind :
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using...
Hi,
I have a very very simple code :
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;
namespace test
{
class Program
{
static void Main(string[] args)
{
RegistryKey hklm = Registry.LocalMachine;
RegistryKey hkSoftware =...
Hi,
Here is my code :
using System;
using System.Security;
using System.Security.Permissions;
using System.Collections;
using Microsoft.Win32;
class Reg
{
RegistryPermission readPerm1 = new RegistryPermission(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE");
public static void...
Hello,
I have got a GridView with some columns and a Select column on the left with the Select hyperlink.
I want to delete the Select column and bind the Select command to the first column ("Name" for example) so that the user click on a Name to select a row rather than on the Select...
Hello,
I am using arguments through my pages via the URL.
I have got a menu bind with a .sitemap file in each page.
I do not know how to use the URL's arguments with these controls.
Thanks for your help.
-- Olivier --
Hi,
I have got a problem to keep the state of a DropDownList.
My page is organized this way:
- 1 MasterPage with :
- 1 DropDownList
- 1 Menu
- 1 Content
- X pages displayed into the Content when clicking on the menu
When I am clicking on the menu, the PostBack refresh the DropDownList to...
Hi,
When I am trying to use the new SQL Data Source component with a DataList, it works perfectly on localhost but when I try to see the page on the server I have the error :
"The connection name 'myconnectionname' was not found in the applications configuration or the connection string is...
Hi,
When I am trying to use the new SQL Data Source component with a DataList, it works perfectly on localhost but when I try to see the page on the server I have the error :
"The connection name 'myconnectionname' was not found in the applications configuration or the connection string is...
Hi,
My website must run on a server where IIS and FrontPage Extensions 2002 seems to be well configured.
I am using Visual Studio 2005.
When I try to do a simple component drag and drop, I have the error specified in the subject.
I have read that MS was working on this bug. Does anyone has...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.