Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Nov 22nd, 2007, 11:26 PM   #1
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 22
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
Post Registry Edit

Hi,

I use thefollowing code to Disable the UAC in windows Vista through registry access

KeyFound = myReg.UpdateKey(HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Policies\System", "EnableLUA", "0")

it changes the "EnableLUA" value to "0" but the problem is
it changes the Type REG_DWORD to REG_SZ

i need REG_DWORD type remains the same...

is anybody there to say how to set the Type as REG_DWORD

Thanks in advance

Venkatramasamy SN
venkatramasamy is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Registry edit Programatically venkatramasamy Visual Basic 1 Nov 21st, 2007 5:36 AM
very simple question. make button change number in edit box nickm Delphi 2 Apr 29th, 2006 11:47 PM
Exception writing to registry... why? kurifu C# 3 Jun 4th, 2005 11:14 PM
Reading edit controls (I have tried, code provided) layer C++ 5 Apr 27th, 2005 8:31 PM
Edit registry via Command Prompt/Batch? [SOLVED] darklegend Other Scripting Languages 6 Mar 23rd, 2005 10:47 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC