Jump to content

How to add an .Exe to startup programatically

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
19 replies to this topic

#1
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
Hi all,
ive just finished a small app that stores text about how long the pc was open and other stuff
i want to make it start on windows logon (startup) using codes not manually.
Thnx in advance

#2
2stamlers

2stamlers

    Learning Programmer

  • Members
  • PipPipPip
  • 46 posts
Just add your app in Start->Programs->Startup. Hope this helps...

PS. You just Google the question, if you cant find answer, then you ask here...

Thanks

#3
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
I know that but i want a code to do it for me

#4
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
In for a little registry editing.... Check out this?

CodeProject: How to add your application to Windows Startup. Free source code and programming help
Windows Program Automatic Startup Locations
Absolute StartUp help : Glossary : Windows registry startup sections for startup programs
Run the application at Windows startup (C# Programming Tutorial) • Geekpedia
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#5
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
Nice,
the last link was very helpful
thnx

#6
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
Glad to help :D
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#7
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
You don't know how to add your program to a directory using code...?

#8
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
Who, me?
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#9
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
amorosama.

#10
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
I guess not, or he would just have done that. You don't know something until you have learned it. Even you don't, MeTh0dz. Anyway I would rather put it in the reg than in a directory, for various reasons.
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#11
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Not my point. You really need to learn how to read EVERYTHING before you try to say something to dispute what I have said.

You see this quote below, this is him saying that he wants to use code to do it when someone suggested putting it in a directory. Hence this implicitly says that he doesn't know how to add a file to a folder using code.

amrosama said:

I know that but i want a code to do it for me

Seriously.

#12
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
easy on me meth0ds im just a newbie in a big big world, and ill always consider myself a newbie....plus theres always a first time for everything:D
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript