Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Startup


how to add files to startup?
so, if i want to add tibia.exe which is located in c: ibia.exe
can someone give me a source code to do that simply?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Load On Startup (Not Windows Startup)
I would like to make a simple program that when it starts, it starts up one or more programs automatically. can anyone help?

Making A Program Startup On Startup...
How can I use code to alter the run line of win.ini as well as make things start up using the registry.

Run VB Tray App At Startup But Not Via Startup Folder
Folks,

I have created a VB tray app and want to install it so that it runs when the machine is started, however I don't want to use the startup folder.
(You know like the MSN Messenger App.)

Someone told me that you can use the registry to do this but didn't say how.

Any suggestions would be greatly appreciated.

Cheers
John

Startup With Windows, Without The Startup Folder?
How can i make my prog start up with windows, without having to use the startup folder in the start menu? please help.

Startup With Windows, Without The Startup Folder?
How can i make my prog start up with windows, without having to use the startup folder in the start menu? please help.

Startup
ok i had this earlyer but i forgot, i want to find the folder in my system resgistry that shows all the things that run when i start my computer, what is the path?

HKEY_CURRENT_USER>>??

Run On Startup
I know that you have to write to the following location, depending on who you want to have the program run all the time on.

HKCU/Software/Microsoft/Current Version/Run (If you want a single user to allow the program to run everytime)

HKLM/Software/Microsoft/Current Version/Run (If you want all users to allow the program to run everytime)


What im wondering, is what exactly do you write to this location? Say your program is titled "me.exe"

Add To Startup
I have a Project and if the user desides to add it to startup i want it to add to startup i looked around for the code and searched this forum but some code did nothing and other code just gave me an error with something like "file not found" so then i wanted to see if i can add it to the regestery and now everytime i start my computer i get an error something like "File not Found", i'll clean that up anyways, can someone help me add the program to startup?

Startup Cd
hi folks,

I want to make a executable which starts up at when you put the cd in the drive. However when i make a visual basic project i always need to install some libraries and stuff to how can i make a exe without installing anything? is it possible with VB?

On Startup
How can I make a program start on Startup? I was thinking of just making an icon in the Startup folder in the Start Menu, but is there a better way?

Run On Startup
can someone lead me to a tutorial on how to add a program to startup? i know there are 2 ways to do it. i want the one to do with the registry.

darius

Startup
i have a app i made and want to put it into the startup but i want the PD wizard to direct it to the startup, these is easy but, if i have several users how do i put it inot the all users folder? or how can i put the path of the app i want to run into the registry

Startup
How do I make my program start automatically everytime windows starts but without putting the shortcut in the startup directory in the startmenu.


-Hao Li-

Run On Startup
how would i get an exe to run on startup?

Run On STARTUP
I did have the code written down sumwhere but i have lost it, so can i please ask for help. For your prog to run on start up.
Any Help is a great help.

Startup
How do i get a program to run when windowws starts?

Startup
How do i make it so that when my program is opened it is automatically put in the startup folder so it comes up when you start the computer.

Add In The Startup
Hello...

Can u tell me how can I place my program's link to the Start menue's Start up???

Startup
in a form, im tryin 2 write code to add a certain file to the startup file of the user that is logged in
suppose that file is called
'abc.txt'

and i want 2 add it to the startup folder of this user.............dont know how

please advise..

also, how can i package this particular abc.txt file with my program???? or do i have 2 create a new one then??
HOW??!?!?!?!?!

Run On Startup?
How do I make my program run on startup?

Thanks =]

Run On Startup?
How would I make my application run on startup?

I Need Help For Startup ???? <<<<
i have a code for startup but the the code says the wshshell is not declared how to declared that??? thanks

wshshell = CreateObject("WScript.Shell")
wshshell.RegWrite("HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunYOUR_APP_NAME", App.Path & "" & App.EXEName & ".exe")


but app.path is also not declared??? and app.exename

Add To Startup
I'm trying to MOve a file into the Startup Folder if the User decides to and the code i use is:


Code:
FileCopy "c:Chatroom.EXE", "C:Documents and SettingsAll UsersStart MenuProgramsStartupChatroom.EXE"



and it says file not found when i try it and Chatroom.EXE is located on my desktop

Startup
How can i code my program to put itself to startup??

Startup
Hi Everyone

A pc which i am working on at home is going to be a family comp and what i am wanting is a form to run when the sys starts up and have two buttons on the form

YES OR NO

the code for no is easy


VB Code:
private sub cmdno_click ()endend sub


but the code for yes i dont know as if yes is clicked i want a file called demo.pps to open

the directory of this would be C:documents and settingsguestdemo.pps

i know this is possible but just dont know how to do it

thanks

Startup
Hi,

For the way only can be done when user logins OS.
Do you know how to run the program without logining after window2000 restarts?

Startup
I want to include in my program a function so the program starts automatically with windows. first i thought about putting a shortcut into the startup folder, but then i heard, that there's another way, using the registry. now i'm interested how i can do that.

i thought about a checkbox where the user can choose whether he wants to start the application manually or not, so it would be nice if changing the mode is very easy...



Please help

FES_Germany

Startup
Can anyone tell me the code to make a program start up with the computer? Using the registry or win.ini? thanx

In Startup
How would you check if a program is already in startup(in the registry). Like if it is in start up alreayd make check1.value = 1 and else = 0. How would I do this?

Run On Startup
I coded a clock that opens on startup, but it doesn't. I made a registry in HKLMsoftwaremicrosoftwindowscurrentversion
un, but it doesn't run on startup. Here is my code


VB Code:
Option ExplicitDim Regis As IWshShell_ClassPrivate Declare Function SetWindowPos Lib "user32.dll" ( _ ByVal hwnd As Long, _ ByVal hWndInsertAfter As Long, _ ByVal x As Long, _ ByVal y As Long, _ ByVal cx As Long, _ ByVal cy As Long, _ ByVal wFlags As Long) As Long Private Const HWND_NOTOPMOST As Long = -2Private Const HWND_TOPMOST As Long = -1Private Const SWP_NOMOVE As Long = &H2Private Const SWP_NOSIZE As Long = &H1 Private Sub TopMost(Optional blnTopMost As Boolean = True)    Dim hwndAfter As Long    If blnTopMost Then        hwndAfter = HWND_TOPMOST    Else        hwndAfter = HWND_NOTOPMOST    End If    Call SetWindowPos(Me.hwnd, hwndAfter, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE)End Sub Private Sub Form_Load()On Error Resume NextDim checkme As StringSet Regis = New IWshShell_ClassLabel1.Caption = Format(Time, "h:mm:ss AMPM")Label1.ToolTipText = Format(Now, "Long Date")checkme = Regis.RegRead("HKLMsoftwaremicrosoftwindowscurrentversion
unSimple Clock")If checkme <> "" ThenMnuStart.Checked = TrueElseMnuStart.Checked = FalseEnd IfEnd Sub Private Sub Label1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)If Button = vbRightButton ThenPopupMenu mnu, vbPopupMenuRightButtonEnd IfEnd Sub Private Sub Timer1_Timer()Label1.Caption = Format(Time, "h:mm:ss AMPM")Label1.ToolTipText = Format(Now, "Long Date")End Sub Private Sub MnuStart_Click()Set Regis = New IWshShell_ClassIf MnuStart.Checked ThenMnuStart.Checked = FalseRegis.RegDelete "HKLMsoftwaremicrosoftwindowscurrentversion
unSimple Clock"ElseMnuStart.Checked = TrueRegis.RegWrite "HKLMsoftwaremicrosoftwindowscurrentversion
unSimple Clock", _App.Path & "Simple Clock.exe", "REG_SZ"End IfEnd Sub Private Sub mnuTop_Click()If Mnutop.Checked ThenMnutop.Checked = FalseTopMost FalseElseMnutop.Checked = TrueTopMost TrueEnd IfEnd Sub Private Sub mnuabout_Click()MsgBox "Simple Clock - Coded by Dean" & vbNewLine _& "I coded this clock because the taskbar clock sucks. Enjoy!"End Sub


Thanks,
Sir Loin

How Can I Add To Startup
Hi all,

How can I add an exe file to windows startup? It is like, if the user clicks a button an exe file should be added on startup how can i do that?

Startup
Could somebody please help me.
I want to make it so that my VB program will startup with windows. I want to make it so it doesnt go into the startup folder but so it startup up with windwos and the way to disable it would be using MSCONFIG.
Thanks in advance...

BTW: I have searched the forums and foudn some stuff but these dont seem to work with VB5.0. I still have VB5.0 so i would need a code that would work with VB5.0

Run At Startup
Can I have a program run before windows opens up? Like when dos is still loading everything? Not by making the boot sequence have the floppy at the begining? Something like boot.ini or something?

Thanks

Run At Startup
Using the P & D Wizard, how do you make a program run at startup?

Startup
Hey im making a keylogger for my pc to see what my bro does on it right and hes not dumb on them! does any one have code for start wiv windows and so it will hide from msconfig thanks in advcaned

Run At Startup?
I've seen this topic beated to death before. But, I have a twist. Is it possible to have a program run at startup, WITHOUT putting an entry in the registry. Also I am looking for a secure way so users cannot mess with it.

THanks

Startup
i need some code to copy a shortcut of my program to a folder, ie the startup folder.

Startup
Whats the code to make a program start up when windows starts?

Run At Startup!!!
Hi all,
Till now i just used
HKEY_LOCAl_MACHINESoftwareMicrosoftWindowsCurrent versionRun
to make the proram run at statup. And i think it is same in win9x as well as in win2k. Isn't it? Well...is there any alternative path in registry for doing the same thing?
if i place my exe name in
HKEY_LOCAl_MACHINESoftwareMicrosoftWindowsCurrent versionRunServices
will it give the same result????
please help me..
Anita

Startup
how can i make an application start when the os starts... I would like to start it minimized.

On Startup
What are some different ways I can get a program to start when windows does?

I know you can put a shortcut in the start menu program group "Startup" but what are some other ways?

On Startup
What are some different ways I can get a program to start when windows does?

I know you can put a shortcut in the start menu program group "Startup" but what are some other ways?

Startup?
is there any way i can put some code in my program so that it starts on bootup automatically?

Run At Startup
Hi All,
I want that my application should run at startup. How it can be done programatically?
Anita.

Run At Startup
Does anyone knnow of any API or anything to make my program run at startup? I would really rather not put it in the startup folder, and I don't wanna go to all the work of manually adding it to win.ini, if there is an easier way. Thanks in advance.

Run On Startup
Is there another way of making a program run on start up apart from putting a key in HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun because that doesnt seem to work

Startup
Most programs now don't just put a link in the startup folder. They all somehow or another make it so in the msconfig their program is in the startup list. Does anyone know how to get your program in that list (WITHOUT USING THE STARTUP FOLDER) and how to check and uncheck and delete it from there?

Reg && StartUp
Hey,
I wanna put my app on StartUp so I made a new key in the registry at: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun
The name of the key is the name of my app, and the value is the path to the exe file + the exe file.
I restarted my comp but my app didnt open on startup.
Am i missing something?

Add To Startup.
How can I add my program to the startup folder and remove it when i want.

(I want to run my program when ever windows starts. so it can recover the file associations in my mp3 player.)

Copyright © 2005-08 www.BigResource.com, All rights reserved