how do you figure? in the reg it is in 4 places. - User - Run - RunOnce Machine - Run - RunOnce FileSystem Start Menu User - Startup Start Menu Public -- Startup TaskScheduler Services Drivers and so on. To list from registry do this Code: Private Sub loadStartupObjectsUser() ListView2.Items.Clear() Dim lst As ListViewItem StartupKey = My.Computer.Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True) For Each value As String In StartupKey.GetValueNames() lst = ListView2.Items.Add(value) Dim filePath As String = StartupKey.GetValue(value) lst.Tag = filePath lst.SubItems.Add(filePath) lst.SubItems.Add(StartupKey.Name & "\" & value) Next StartupKey.Close() End Sub Private Sub loadStartupObjectsMachine() ListView3.Items.Clear() Dim lst As ListViewItem StartupKey = My.Computer.Registry.LocalMachine.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True) For Each value As String In StartupKey.GetValueNames() lst = ListView3.Items.Add(value) Dim filePath As String = StartupKey.GetValue(value) lst.Tag = filePath lst.SubItems.Add(filePath) lst.SubItems.Add(StartupKey.Name & "\" & value) Next StartupKey.Close() End Sub
well it is given when you are talking about the registry. plus if you are doing a 32bit program it becomes very hard to access the other locations lol its all up to you . i know my way around it though lol
as you know i am a crazy coder from what i added to your software the other day. if you need any more idiot opinions just ask me it might just work