Search : in
By :

Auto Start in vb exe file

Last answer on Sep 30, 2009 12:44:09 pm BST saranya, on Oct 28, 2008 4:47:25 am GMT 
 Report this message to moderators

Hello,

I want full details for how to activate auto start in vb. In this option passible for wincc, but i can't execute in vb.

Pls help me

Configuration: Windows XP
Internet Explorer 6.0

Best answers for « Auto Start in vb exe file » in :
Windows is not find the file with.exe extension ShowWindows is not find the file with.exe extension What to do? What if your computer is infected? It can happen sometimes that while running a program/application/particular software, Windows does not find the particular extension...
Unable to run executable files (. Exe) ShowUnable to run executable files (. Exe) First Solution Second solution My programs are launching no more It may happen that only executable files aren’t eager open properly: either you have the dialog box "Open With", it opens with...
Disable Ctfmon.exe at startup ShowDisable Ctfmon.exe at startup Disable advanced text services Disable Ctfmon.exe at startup Additional information The ctfmon.exe is a Windows generic process for managing entries alternative text input software such as voice...
Download Flash EXE Creator ShowDescription The application is designed by IncrediTools. Flash EXE Builder is a tool that allows you to convert SWF file to EXE file. Simple and easy to use, the application has been awarded from various popular places. Offering an intuitive...
Rundll32 - rundll32.exe Showrundll32 - rundll32.exe rundll32.exe (rundll32 stands for Run a DLL as a 32-bit application) is a Windows NT/2000/XP generic process used for loading dynamic link libraries (DLLs) in memory so that other programs can use them. The file that...
Msoobe - msoobe.exe Showmsoobe - msoobe.exe msoobe.exe (msoobe stands for Windows Product Activation) is a Windows XP generic process which activates product licences. The process msoobe is not in any way a virus, a worm, a Trojan horse, spyware, or adware. It is a system...
Csrss - csrss.exe Showcsrss - csrss.exe csrss.exe (csrss stands for Client/Server Runtime Subsystem) is a Windows NT/2000/XP generic process used for managing windows and graphical elements of Windows. The process control is not in any way a virus, a worm, a Trojan...

1

Arul, on Nov 7, 2008 6:21:41 am GMT
  • +7

Me too searching for the same answer. Kindly do send the answer if you get them solved.
Thank You. Byeeeeeeeee

Reply to Arul

8

Snehal, on Feb 24, 2009 1:44:57 pm GMT
  • +1

Me too searching for the same answer. Kindly do send the answer if you get them solved.
Thank You. Byeeeeeeeee

Reply to Snehal

2

Bala, on Nov 7, 2008 10:00:50 am GMT
  • +1

Hi saranya!~

I got one answer.But i dont know whether it will help u or not...But i give u that link.

Please read this.I hope it will be very useful for you....If any think come online i will be allways online.

=====> This is that link http://www.mmopenxteam.com/hacking/131

My gmailid balamurugan.dit@gmail.com

Reply to Bala

3

Jitu, on Nov 25, 2008 12:33:47 pm GMT

There is a easy way to run your program automatically


first create a desktop.ini file in any directory of a folder then


in desktop.ini write


[start]
autorun.exe or X:\autorun.exe


it can be applied in only windows xp and NT

Reply to Jitu

4

Ronnel, on Jan 20, 2009 4:23:14 am GMT
  • +3

That's easy

put ur vb exe file in start up.. ok..

Reply to Ronnel

5

Arul Raj, on Jan 20, 2009 4:29:26 am GMT
  • +1

Thanks for your answer.... But i could not find the vb.exe file.....

Reply to Arul Raj

6

Pez, on Jan 27, 2009 1:56:03 pm GMT

He meant the .exe you created with visual basic. Put your program in the startup folder, that's the easiest way.

Reply to Pez

7

avdesh kataria, on Feb 17, 2009 7:38:00 am GMT
  • +2

Hi Jitu,

I have exe with name billing.exe with path (c:\avd\). Plz tell how i can i run this exe with destop.ini file???
I mean run it without click.

Thanks

Reply to avdesh kataria

13

 alex, on Sep 30, 2009 12:44:09 pm BST

First create a desktop.ini file in any directory of a folder then


in desktop.ini write


[start]
autorun.exe or X:\autorun.exe


it can be applied in only windows xp and NT

Reply to alex

9

Tintu, on Mar 25, 2009 1:17:12 pm GMT
  • +2

To automatically start a program on the start up we need to add a registry value. so open run from the start menu and enter regedit the select the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion­\Run
then in the string table add a new string value. for that right click and select the string value then in the string data type the path of your program that is to be open at the start up. click ok then restart your computer then that file automatically starts after login

Reply to Tintu

10

V53, on May 21, 2009 10:02:36 am BST

You could create a scheduled task to run your app. But im guessing you want this to happen for users automatically?

well I have always used the answer in Tuntu's reply and found this the best way i have a included a vb example below

Imports Microsoft.Win32


Private Sub AddCurrentKey(ByVal name As String, ByVal path As String)
Dim key As RegistryKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
key.SetValue(name, path)
End Sub

Private Sub RemoveCurrentKey(ByVal name As String)
Dim key As RegistryKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
key.DeleteValue(name, False)
End Sub

you can then use to add the reg key

AddCurrentKey(System.Reflection.Assembly.GetEntryAssembly.FullName, System.Reflection.Assembly.GetEntryAssembly.Location)

and to remove it

RemoveCurrentKey(System.Reflection.Assembly.GetEntryAssembly.FullName, System.Reflection.Assembly.GetEntryAssembly.Location)

or

AddCurrentKey("Application Name", "Path to application")

Reply to V53

11

V53, on May 21, 2009 10:05:43 am BST
  • +2

Run out of space above to to use that

eg

you could use for example

AddCurrentKey("Program Name", "Program Path")

or below should do that automatically for you

AddCurrentKey(System.Reflection.Assembly.GetEntryAssembly.FullName, System.Reflection.Assembly.GetEntryAssembly.Location)

hope this helps

Reply to V53

12

maz, on Aug 17, 2009 2:40:44 am BST

Personally i would just place what file / exe you are trying to auto start when windows is booted by going to your start up folder ( all programs - startup) and just move the file to there of if you can not move the file just place a short cut in there........

Reply to maz