Results 1 to 4 of 4

Thread: start up problems

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2004
    Posts
    87

    start up problems

    ok i took this source code http://www.freevbcode.com/ShowCode.Asp?ID=2767 and copyed in my vb file and
    Code:
    Public Const HKEY_CURRENT_USER = &H80000001
    Public Const KEY_WRITE = &H20006
    Public Const REG_SZ = 1
    is all red i dont know what the problem would be any ideas?

  2. #2
    Addicted Member imbue's Avatar
    Join Date
    Aug 2002
    Location
    Midwest USA
    Posts
    155
    Try changing Public to Private or put the code into a module.

  3. #3
    Fanatic Member
    Join Date
    Sep 2000
    Location
    Over There
    Posts
    522
    1. Where did you put the code
    2. What's directly above this code the problem could be with something above your current lines.
    It Never Fails. Everytime I try to make a program idiot proof, the world makes a better idiot.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2004
    Posts
    87
    Try changing Public to Private or put the code into a module.
    thanks worked great

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width