Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 135,981 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,281 people online right now. Registration is fast and FREE... Join Now!




Working with Registry

 
Reply to this topicStart new topic

Working with Registry, Retrieving the value from the registry

saribobby
29 Aug, 2007 - 01:38 AM
Post #1

New D.I.C Head
*

Joined: 29 Aug, 2007
Posts: 1


My Contributions
I need to retrieve the value which is stored in registry
can anyone give me the code written in Visual Basic
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Working With Registry
29 Aug, 2007 - 03:48 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,983



Thanked: 125 times
Dream Kudos: 8525
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
If you're working in VB.Net I have written a tutorial on this

Working with the Windows Registry in VB.Net

If youre working in VB6 then you're going to have to post the code you have so far so we can help you with it. We are not, nowever, going to just write the code for you and post it here, you have to put forth some effort smile.gif
User is offlineProfile CardPM
+Quote Post

rikki_max
RE: Working With Registry
30 Aug, 2007 - 01:10 AM
Post #3

New D.I.C Head
Group Icon

Joined: 18 Apr, 2007
Posts: 42


Dream Kudos: 100
My Contributions
well if you are using vb5 and above then this code here will do the job
CODE

        Dim reg
        reg = My.Computer.Registry.GetValue _
        ("(registry folder)", "(name of code)", "")

have fun by the way check the snippets section on this site it has this vb code in it with more info.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 10:38AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month