Results 1 to 35 of 35

Thread: write to the registry

  1. #1
    InternalError
    Guest

    write to the registry

    how would you write to the registry?

  2. #2
    Any part of the registry, or just to store your program's settings?

  3. #3
    InternalError
    Guest
    yea any part, i want it to run when windows starts...

  4. #4
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    Here you go.....everything you ever wanted to know about the registry, and then some.
    http://www.vbworld.com/registry/

  5. #5
    Originally posted by InternalError
    yea any part, i want it to run when windows starts...
    That would be the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.

  6. #6

  7. #7
    InternalError
    Guest
    yea, but how would i tell vb to put my app in that reg section

  8. #8
    Services start even before a user logs on, so watch out.

    The posting just never stops with me, does it eiSecure?

  9. #9
    Originally posted by Bloodeye
    Here you go.....everything you ever wanted to know about the registry, and then some.
    http://www.vbworld.com/registry/
    Follow that link.

  10. #10
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Here's a modules to write/read from the registry. Just call GetStringValue or SetStringValue.
    Last edited by eiSecure; Aug 1st, 2001 at 03:15 PM.

  11. #11
    Dude, stop making your text a link. You already have a signature.

  12. #12
    InternalError
    Guest
    thx

  13. #13
    No prob.

    We BOTH helped, eiSecure.

  14. #14
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Yeah, but I provided the code.

  15. #15
    But I provided the long-ass registry key that he could have found in 5 seconds! HA HA! TAKE THAT! *jabs eisecure with a stick*

  16. #16
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    ewwwww....Get your stick away from me! *wink**wink*

  17. #17
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    rrrrrrrrrrrrrrrriiiiiiiiiiiiiiiiiiiiiiggggggggggggghhhhhhhhhhhhhhttttttttttttttt..........wwwwwwwhhh hhhhhhhaaaaaaaaaaaattttttttttteeeeeeeeevvvvvvvvveeeeeeeeeerrrrrrrrrrrrr


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  18. #18

  19. #19

  20. #20
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    ok, you 2 are weird
    Last edited by scsa20; Aug 1st, 2001 at 03:40 PM.


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  21. #21
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Thank you.

    VB Code:
    1. oooo$$$$$$$$$$$$oooo
    2.                       oo$$$$$$$$$$$$$$$$$$$$$$$$o
    3.                    oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o         o$   $$ o$
    4.    o $ oo        o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o       $$ $$ $$o$
    5. oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o       $$$o$$o$
    6. "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$
    7.   $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$
    8.   $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$
    9.    "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$
    10.     $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o
    11.    o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$       $$$o
    12.    $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$ooooo$$$$o
    13.   o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$
    14.   $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""
    15.  """"       $$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$
    16.             "$$$o     """$$$$$$$$$$$$$$$$$$"$$"         $$$
    17.               $$$o          "$$""$$$$$$""""           o$$$
    18.                $$$$o                 oo             o$$$"
    19.                 "$$$$o      o$$$$$$o"$$$$o        o$$$$
    20.                   "$$$$$oo     ""$$$$o$$$$$o   o$$$$""
    21.                      ""$$$$$oooo  "$$$o$$$$$$$$$"""
    22.                         ""$$$$$$$oo $$$$$$$$$$
    23.                                 """"$$$$$$$$$$$
    24.                                     $$$$$$$$$$$$
    25.                                      $$$$$$$$$$"
    26.                                        "$$$""""

  22. #22
    I've been in front of a 19-inch monitor for 6 hours. It starts to screw with your mind.

  23. #23
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Notice you said "wired", not "weird". :D
    VB Code:
    1. ,:
    2.           ,?}'
    3.         =!J |
    4.       ,*-. ?&
    5.       WP) Y9P
    6.      YP   ,W'
    7.     ,W)  ,WW.'
    8.     WW) ,WWW)
    9.     7W),WWWW'
    10.     `WWWWWW'
    11.      9---W)
    12.  ,,--WPL=YXW===
    13. (P),CY:,I/X'F9P
    14. WUT===---/===9)
    15. -HP+----Y(C=9W)
    16.  '9Y3'-'-OWPT-
    17.   'WWLUIECW
    18.    (:7L7C7'
    19.   ,P--=YWFL
    20.   Y-=:9)UW:L
    21.   3-'9=WU/.7
    22.  ,WP9HTFUW'()
    23.   9W7W))UF 9)
    24.   7WYW))PW W
    25.    7WH)),WC)
    26.     7L--/XY)
    27.     9+-,KY7)
    28.     W9-Y3+7)
    29.     W'=9WI7)
    30.    ,W  '-YY)
    31.     W    ::W                ,
    32.    ,T     :X)              ()
    33.    ()     '9W  'L.         ()         ,-
    34.    (C     =:9   '9L        ()        ,T
    35.    ()    ,,-7)    7WL      WW      ,F'
    36.    ()    , T9)     '9WL    --    ,YF
    37.    ()    '-/(W       -==+PE9P7===O)          -,
    38.    'W, ,  T+/WX=L-. ,WP+()+3L3,),=WL  --==-T-
    39.     7)    -,YW '-=9WPL+PT-- ':--L/=9WP=-'
    40.     'W-,.-,++W.   WWHP    ,,-/  .9CP3)
    41.      W  --':-9:7=9W-T ,-=FT''=++,(TFYW=====---,
    42.      W    .-='/.  7W-,WE=--,,=-:9H=9W""~~~~~~'
    43.      ()   ':'/Y,  (L-9PXWWW,YWWX,(U3C
    44.      9' ,,::/Y,/,  7LW+'-'7)()-'(MWW)
    45.   ,,-/:',T,'-:',) ,3WWW, .Y=W'.(+WPW)
    46.  ,F=T:9/:':C' /W),WMW9PO),m-+--9+WYW)
    47. ,3Y:/--.'-,',F=FHWWE/LMWU.'--X3CWW(WL
    48. YP:/:' -/'-Y-,W-T)9X,WCWWWX=WWWW39/OW
    49. 7WF:=,/:-:P:,P(-'))PWWHYT79WWWHPW0W7W'
    50. 'WU7C-:=-=-C9'WF,):):H7L   '7CI7WEXP'
    51.  7L-,Y==3F:::,=,:-/,'P=.,  ':79UWEW)
    52.  'WEW9P=/,)/ -:,P: / L7:'-=,-+YMWWW)
    53.   'W)+=T,T()/-,F,,,),)  ',.-+(L=W9WW.
    54.    '+C/:I'''',P:''/ '  ''9.  == '-'7-
    55.     (W-+'. ,YF )/:'      ')-. ,-:FX-L
    56.     'WM/',/CP /,:'    ..:)  ,T','/: 'W,
    57.      W--,YXT /'')   ,P=-/',P'  '(:'  'W,
    58.      (WEXWF Y' ,)  ,/'-,,YT    ///  ,,'W.
    59.     ,WWWWT,,' .Y:/.',,-,=',- ,YY(). +3,W)
    60.     WFXF:,'P ,,)/  ,',P',,- ,FI,))) I3'W)
    61.     -HP,X'',/ '  ,/,/' ,/',,P3'I(:) W) W)       /=+=,
    62.      9WY).,/'  ,/'-'   ,-=9-/'Y'((',W) PW      /'  '-==L,
    63.      'WY,'    ,/,P   ,YP- C/',',)( (W'(WW.    /'       '7==L.
    64.       ()'    /:/' ,,WT'  3F',' /)W (W (K()   /'   .        '7X
    65.       ()   ,P,P',)T=:- ,WP'.' ,P,T (W (-9L ,Y)' ,X//, .    Y:P
    66.      ,F   ,F,',--,/:' ,+P' '  Y):) (E' YHWLWT)-''-9/',-' ,,,WF
    67.     ,P.,P,)-3-- ,-,' ,WF.    ,Y (' (L-WCTWEW30V-/',:'=/P+E7WF
    68.     W- Y,P/C)',Y',' ,WT      Y) :  (P-=Y:UW9CX)3-=- ,W:9/PXXW.
    69.    /T./:P/)' ,P',' YW-      ,P'',  9M).())WTHW3,C'  9C9='W3WW)
    70.   ,EPOP/YR. /F ,',/W)       /'  :  (W)'W979WO0=WC:,..9LPXWWP-
    71.   3H:WL-R' /' /' /WF       ,) ,,   (U'(HW=WWXO:--:,:'(W=WWF'
    72.  ,WLWWWI:,F' /-'3WF '      Y  ) ,  (),T(0)WO9YPL.' ',WP=='
    73.    --YWX-F  Y',WWT' :':   (' ()7)  (MT: WP)3C)-''  3C'
    74.        WF  /' YW--,  ,    Y  W (),YM+C' 9+I3UV:' .YP'
    75.       (T  3',H3-.. ,..  .,) ,) ()F-=T-. (0,9L,'  /P'
    76.       ,W Y' 33P  .  /    Y  Y) (Y' R,:  7)Y+-),,=W'
    77.       /',F.,W)     ,,.' ,) ,W) +)  3),  (WT9XW=3P'
    78.      /F:T.:WF.  '..:'   :' (W. 7) '=),  'WT7WWP '
    79.     ,P,F''WF  . , :-': ,)  YC../) 'HY.   WP0WC'
    80.    ,P:9::YP   '  '('   :   W) .W)  +3)   9TLWC
    81.    (P/Y(,P' ... '':, .,)  ,W) :3)  X+.   WFUW)
    82.    'WW),I','  .., =  ':  ,O+' ,W'  )9,   99U()
    83.     7W,='.,' ' :.'. . '  ,W)  =3   )+.  ,OH:O)
    84.     'L,F,: '. :C::' '    (W)  9W   7+    'H,:L
    85.      7W'++: .. ,':' '    YT   Y).  :-.    XU:W
    86.      (T':,''','','       3'  ,-)   ,-'    77XW
    87.      (W),J.-:/-:))'      P   )9)   :,Y  .  T,9)
    88.      (WUI:TY:,,,:,      /' ,- W)   YC:     9/7)
    89.      (U),-:-''.'=      (:,F' (W)   ,Y.     3=:L
    90.       (),:::',)/'    ,,F9W'  YW)   /L.    .7=9W,
    91.       (LUL-L.T-'.' ,WXM(W)   3W)   'U.     ,)-W
    92.       3X=((:,' ' ,WMWF-(+'   WW'   '=,'    ,ICW
    93.      ,T)=)K-=':-WPIWP':,:   ,WW    +/, ..' :+,9)
    94.      Y):LX:.:=EHR,PU:'/''   (WW    I:=, .,-9CO)
    95.      ()-+,,HPT+C:W9= ,)'    /WT'   T.: --PCXCKF'
    96.      7LIHTP+OY3LW'3:,L..    WW)    ,,(W('MX'WT'
    97.       7T,I-:XF:WF(: ,)    ':WWT  ,=PT:T(AY) W
    98.       (PWW)W3=/P,P  ,     ,'WW),YP,WH,)Y)TWX9)
    99.       3)OWRE)-YUY'... '  ..(WWXWW)9W+C)WUP9P3'
    100.      ,WTHEF:LOP:W ' ,.   ,:(WPY(W,(P::)W(P3+)
    101.      (P3WF/:WM:() :.:      (WHY)39HC'U()(W,W)
    102.      (LW9/CWY-,E'  ,'     'YPL/T:WP:,(()3Y W)
    103.      (TLUEEP=7W+.,:)       -P-:,PWT.:Y()() W+
    104.      (EP/30-OAT .'3  . . . .C,P):WP Y)()3C:PW
    105.      (PWMH:FXW'',-(, '   ',97WMU(7: )LW W .WW
    106.      (WOWF-7EP)-X3., , ,,WP+WYY+YW' )WW 3 .W7)
    107.       9W93UOY):.)/.- :YWCWU-EIMC)E (-WP + ,WW'
    108.       (XWYUWY.,:'.,,YE3-7WE3WXV(UT,( W),T =P'
    109.       (PT709),)C:/FY9)T.(W9YHL/Y(C T,W)') W.
    110.       (+UTYH-:-=C-(P(-).WWF3:))3(U))(W)() P'
    111.       3P7Y3)/'XP:)WP(J. WXCWKV:)()))(W'U)()
    112.       7OLY3',H9),YW'F ),W)CT)/Y((-))'W,U)()
    113.       7F=T-/T(=)A3C,)3)(WA()=)TY(CY'YWY(::)
    114.       W9C=()L/3,9'/('Y,YWU(XE/))()E.YT)3:)L
    115.       W=P:F:(,)),,'F'/:WP+3OY':)(R+ /T,T')W
    116.    -=WRHX9C9-W'=,),)'A,A)XW779EXWK+.()3W),(,
    117.  ,W=-'L,,XX)/)+'I 3)39I(UHE-+LX39TWH/LUP)(H)
    118. ,P:. ,-90/,(F0'/:,W //'(YOC':--YY3/IRW'9LT')
    119. 3W=:Y:-F.)Y:/''Y /O.=:,WL9) ,. ,.79=9PL'9(-W,
    120. WWWWWWWPT:,::/'-WH=9',P=-W3XU3-,W=YL-O3-O)X9WL
    121.  -7T--''=9W==W=9WWHW====''P======='---=T==F==9)

  24. #24
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    Originally posted by eiSecure
    Thank you.

    VB Code:
    1. oooo$$$$$$$$$$$$oooo
    2.                       oo$$$$$$$$$$$$$$$$$$$$$$$$o
    3.                    oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o         o$   $$ o$
    4.    o $ oo        o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o       $$ $$ $$o$
    5. oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o       $$$o$$o$
    6. "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$
    7.   $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$
    8.   $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$
    9.    "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$
    10.     $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o
    11.    o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$       $$$o
    12.    $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$ooooo$$$$o
    13.   o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$
    14.   $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""
    15.  """"       $$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$
    16.             "$$$o     """$$$$$$$$$$$$$$$$$$"$$"         $$$
    17.               $$$o          "$$""$$$$$$""""           o$$$
    18.                $$$$o                 oo             o$$$"
    19.                 "$$$$o      o$$$$$$o"$$$$o        o$$$$
    20.                   "$$$$$oo     ""$$$$o$$$$$o   o$$$$""
    21.                      ""$$$$$oooo  "$$$o$$$$$$$$$"""
    22.                         ""$$$$$$$oo $$$$$$$$$$
    23.                                 """"$$$$$$$$$$$
    24.                                     $$$$$$$$$$$$
    25.                                      $$$$$$$$$$"
    26.                                        "$$$""""
    lol


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  25. #25
    Okay, now I'm scared.

  26. #26
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    LOL@scsa20

    You edited that post about the "wired" instead of "weird", didn't you?

  27. #27
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    lol, I swear that you 2 have nothing to do but to play around, huh??


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  28. #28
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    Originally posted by eiSecure
    LOL@scsa20

    You edited that post about the "wired" instead of "weird", didn't you?
    *looks both ways with eyes only* maaaaaaaybeeeee


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  29. #29
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Probably a "Yeeeeeessssss" instead of a "maybe"

  30. #30
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    ok....yyyyyyyyyyyeeeeeeeeeeeeesssssssssssss......happy??


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  31. #31
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Yep, I'm happy.
    By the way, notice Filburt's new avatar.

    He has a need to change it every now and then.

  32. #32
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    for some strang reason, I can't see any one's avatars, not even my


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  33. #33
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    Are you at forums.vbworld.net or www.vbforums.com?

    You should be at www.vbforums.com.

  34. #34
    Hyperactive Member scsa20's Avatar
    Join Date
    Apr 2001
    Location
    Mars
    Posts
    456
    IT WORKS!!!!!!!!!! I just looked in the address bar and it said forums.vb-world.net so I just changed that to www.vbforums.com and it works...thanks eiSecure.


    p|-|34|2 /\/\3 f0|2 | $p34k 1337
    My TSS quote of the day: "If your haveing a bad day, just press the restart button."

  35. #35
    Originally posted by eiSecure
    Yep, I'm happy.
    By the way, notice Filburt's new avatar.

    He has a need to change it every now and then.
    At least 10 times a day.

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