can anyone help me how to create or to make my program a self running and don.t not be open to run.

what do you mean by self running ?

If you are trying the program run automatically then create a windows service using .net

what do you mean by self running ?


for example a anti virus it was automatially run when u boot ur PC...
what is that command?


and what is that .net? can u help me on that aspects coz im only 16 y/o and new student

you must access registry to do this or put the program on startup program..

the easiest way is put the program on startup program, you can access this as special folder with vb

"the easiest way is put the program on startup program, you can access this as special folder with vb"

how can i do thaT? and i wan't to do it to the program that is a self-running and it can open with himself

try this following code to copy your program to startup program, but the program must running once to do this. there is none code to make your program running by it self without running before. just one time running and it will running by windows cause windows will running all program in startup program.

Private Sub Form_Load()
Dim mShell
Dim path As String
Set mShell = CreateObject("WScript.Shell")
path = mShell.Specialfolders("Startup")
FileCopy App.EXEName & ".exe", path & "\YourNewRunFileName.exe"
End Sub

try this following code to copy your program to startup program, but the program must running once to do this. there is none code to make your program running by it self without running before. just one time running and it will running by windows cause windows will running all program in startup program.

Private Sub Form_Load()
Dim mShell
Dim path As String
Set mShell = CreateObject("WScript.Shell")
path = mShell.Specialfolders("Startup")
FileCopy App.EXEName & ".exe", path & "\YourNewRunFileName.exe"
End Sub

is this for vb6?

can u help to encode and make an exe of that coz i haven;t a compiler now coz the compiler is in my school plzzzzzzzzz

hmmmmmmmmmmmmmm but my school day and my laboratory will be on next and i should pass it next week also can any one help me plzzzzz and can any one make an exe of that


tnx

hmmmmmmmmmmmmmm but my school day and my laboratory will be on next and i should pass it next week also can any one help me plzzzzz and can any one make an exe of that


tnx
again

OK.
This the project and exe files
Get Startup.zip

see my post 3 days ago. i put an attachment contain file project named Get Startup.Zip

This question has already been answered. Start a new discussion instead.