Visual Basic - Registry Problem

Questions about programming languages and debugging
Post Reply
User avatar
H4evr
On the way to fame!
On the way to fame!
Posts: 43
Joined: 30 Apr 2006, 16:00
17
Location: Portugal
Contact:

Visual Basic - Registry Problem

Post by H4evr »

Hi

I'm having problems while enumerating registry values (of the run key). If I run my program from VB's IDE it run very well but running it compiled results in nothing; the returned values are null.

Could someone please help me?

Thanks in advance,
H4evr

Chaos1986
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 412
Joined: 03 May 2006, 16:00
17
Location: United States Of America
Contact:

I Don't Program But Want To Help!

Post by Chaos1986 »

First Off What Are You Computers Specs? Second What Compiler Are You Using? If You Need A Compiler Let Me Know I Have A Few. I'm Always Glad To Help! skullz@usa.com

User avatar
H4evr
On the way to fame!
On the way to fame!
Posts: 43
Joined: 30 Apr 2006, 16:00
17
Location: Portugal
Contact:

Post by H4evr »

I'm using a Microsoft Windows XP Pro SP2, Pentium 4, GeForce 4...
I'm currently using MS Visual Basic 6 to this project.

Thanks for the reply.

Chaos1986
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 412
Joined: 03 May 2006, 16:00
17
Location: United States Of America
Contact:

Your Welcome!

Post by Chaos1986 »

Next Thing Is What ID Did You Give The REG Key For Your Visual Basic Program? :?:

User avatar
H4evr
On the way to fame!
On the way to fame!
Posts: 43
Joined: 30 Apr 2006, 16:00
17
Location: Portugal
Contact:

Post by H4evr »

I'm 'trying' to access key = "Software\Microsoft\Windows\CurrentVersion\Run" in both LocalMachine and CurrentUser rootkey

The constants I'm using:

Code: Select all

  rrkHKeyCurrentUser = &H80000001
  rrkHKeyLocalMachine = &H80000002
I didn't quite understand what you asked for. I hope it was this.

Post Reply