Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/05/2010, 16:15
Avatar de jaullo
jaullo
 
Fecha de Ingreso: abril-2009
Mensajes: 994
Antigüedad: 15 años
Puntos: 30
Respuesta: avisos, servicios??

Para ello deberás modificar el registro automaticamente, debes escribir el valor en
HKLM\Software\Microsoft\Windows\CurrentVersion\Run

Código C:
Ver original
  1. Dim oReg As RegistryKey = Registry.CurrentUser
  2.    Dim oKey as RegistryKey = oReg.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
  3.    oKey.SetValue("MyVBApp", cPGM)