Author Topic: VB: adding something to registry so it satarts when comp starts  (Read 2233 times)

Scorcher2005

  • Member
  • **
  • Posts: 38
  • Kudos: 0
in VB how do i add a reg key so the same program will run when the computer starts?

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Someone please remove this account. Thanks...

Aaron Ni

  • VIP
  • Member
  • ***
  • Posts: 356
  • Kudos: 33
Uh hummm, make sure you put that program on your freinds comps too.    :rolleyes:
You know me.... really...

Scorcher2005

  • Member
  • **
  • Posts: 38
  • Kudos: 0
i didnt ask how to format the computer dumbass, i ONLY want to know the line(s) of code to put in VB to tell it to put it in the registry so it loads when the computer boots.

Also what does echo y/n mean?

[ May 11, 2002: Message edited by: Alex ]


psyjax

  • VIP
  • Member
  • ***
  • Posts: 1,871
  • Kudos: 55
quote:
Originally posted by Alex:
i didnt ask how to format the computer dumbass, i ONLY want to know the line(s) of code to put in VB to tell it to put it in the registry so it loads when the computer boots.

Also what does echo y/n mean?

[ May 11, 2002: Message edited by: Alex ]




clueless. simply clueless.   :D

[ May 11, 2002: Message edited by: psyjax ]

Psyjax! I RULEZZZZ!!! HAR HAR HAR

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
quote:
in VB how do i add a reg key so the same program will run when the computer starts?


The answer is to call up the Microsoft support. They make VB editing programs, so they must now what to do.
If they don't answer at first, try again, only half of the staff knows how to handle VB support.
Also, the best time to try this is at night, because most VB using Microsoft support-staff is than avaible to answer your calls.

Scorcher2005

  • Member
  • **
  • Posts: 38
  • Kudos: 0
quote:
Originally posted by psyjax:



clueless. simply clueless.    :D  

[ May 11, 2002: Message edited by: psyjax ]



whats that suppose to mean?

Scorcher2005

  • Member
  • **
  • Posts: 38
  • Kudos: 0
quote:
Originally posted by Aaron:
Uh hummm, make sure you put that program on your freinds comps too.


y would i, i am just trying to learn more about vb, not make a trojan

iancom

  • Member
  • **
  • Posts: 103
  • Kudos: 0
Hmm, that's not the impression you give from this thread of yours... It sounds very much like you're trying various different ways to hack your school's network so you can look at another classmate's private network drive.

I would reiterate other people's suggestions that you do something more constructive like learning to use Linux/Perl/C++ - you'll probably pick up answers to all your questions here along the way - along with a sense of why trying to hack other peoples' networks is wrong in the first place.

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
you called voidmain a dumbass, alex!

bad start.

i think you hads better stop being so arrogant with this "i want, i want, i want" stuff if you don't even know the meanings of words like "clueless" and "yes" and "no".
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
I dont know the code but it has to be in VB
but the key is put in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
try adding this:
Code: [Select]

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
Hey Alex, don't be such a noob...
Don't ask people, but learn it yourself.
I'm sure your local library or bookshop has a VB tutorial in your language... read and follow things from the book, and at the end, you can program in VB...

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
there's nothing wrong with being a newbie or asking questions, but asking what y/n means is taking it a bit far. You could quite easily look up the definition for any of those words you have asked about, alex, really you should only ask when you have tried something and run into a problem, otherwise you will only slow yrself down.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

alied_perez

  • Member
  • **
  • Posts: 27
  • Kudos: 0
quote:
Originally posted by Alex:
in VB how do i add a reg key so the same program will run when the computer starts?

Hello
First, I'd like to respect all us each other.
VB you say!? :)
I'd recomend U to use some real Programming language, such as C (not C#)

Anyway, you should read the MSDN about how editing the registry and create new string values in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx and teir HKEY_CURRENT_USER relatives keys.

Ain't this a AntiMicrosoft site?
Why then R U asking about M$ tools for M$ products anyway?
Windows 95 (win-doz-nin-te-fiv) n. Computer
32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
while your editing the registry, you might as well delete some of the keys under the sytem folders, its mostly spyware anyway.. it'll make your computer run faster.  :D   :D
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'