Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » .NET Registry & File Input / Output

Post new topic   Reply to topic
editing registry
View previous topic :: View next topic  
Author Message
Philwn
Freshman


Joined: 25 Feb 2004
Posts: 40
Location: England

PostPosted: Nov 1st, 2004 07:39 AM    Post subject: editing registry Reply with quote

I ahve created a new string in regedit

User Key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

name is NoControlPanel type is REG_DWORD and the data
is 0x00000001 (1) enabled
and 0x00000000 (0) is disabled

I want to create a program that can change whetehr it is enabled or disabled which means accessing the registry and changing the data value how do i go about this ive never done anything with the registry before
_________________
Nothing good to put here
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Andir
Centurion


Joined: 21 Dec 2003
Posts: 184
Location: Chicago Area

PostPosted: Nov 2nd, 2004 07:35 PM    Post subject: Reply with quote

Are you using VB.NET or VB 6?
_________________
If you happen to see little people sitting on your desk...don't tell anyone or they might think your crazy too.
Back to top
View user's profile Send private message
Philwn
Freshman


Joined: 25 Feb 2004
Posts: 40
Location: England

PostPosted: Nov 3rd, 2004 03:35 AM    Post subject: Reply with quote

vb.net
_________________
Nothing good to put here
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Nov 3rd, 2004 01:49 PM    Post subject: Reply with quote

Hi Philwn,

Here's a module by Andir to read registry using VB .Net.
[link]

Also here one from me:
[link]


Thanks!
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Philwn
Freshman


Joined: 25 Feb 2004
Posts: 40
Location: England

PostPosted: Nov 4th, 2004 05:23 AM    Post subject: neither of them Reply with quote

neither of them work mistakes in both code appartently without changing the code
_________________
Nothing good to put here
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Andir
Centurion


Joined: 21 Dec 2003
Posts: 184
Location: Chicago Area

PostPosted: Nov 4th, 2004 09:11 AM    Post subject: Reply with quote

What version of Microsoft Visual Studio .NET are you using? Go to "Help", then "About Microsoft Development Environment..."
_________________
If you happen to see little people sitting on your desk...don't tell anyone or they might think your crazy too.
Back to top
View user's profile Send private message
Philwn
Freshman


Joined: 25 Feb 2004
Posts: 40
Location: England

PostPosted: Nov 4th, 2004 09:36 AM    Post subject: it is Reply with quote

i thought it was .net but it seems to be visual basic 2005 beta, it is all we have at workas everything has to be legit
_________________
Nothing good to put here
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » .NET Registry & File Input / Output All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic