Click here to Skip to main content
15,900,108 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalvb.net Pin
ahmad_yossef20-Jul-04 0:06
ahmad_yossef20-Jul-04 0:06 
GeneralRe: vb.net Pin
gthompson200520-Jul-04 7:02
gthompson200520-Jul-04 7:02 
GeneralRe: vb.net Pin
rida_younis21-Jul-04 3:56
rida_younis21-Jul-04 3:56 
GeneralDynamically generating One Activex control from Other ActiveX control on users form Pin
Member 119551220-Jul-04 0:01
Member 119551220-Jul-04 0:01 
GeneralList the content of the registry Pin
Roath Kanel19-Jul-04 17:57
sussRoath Kanel19-Jul-04 17:57 
GeneralRe: List the content of the registry Pin
Dave Kreskowiak21-Jul-04 7:33
mveDave Kreskowiak21-Jul-04 7:33 
GeneralRe: List the content of the registry Pin
Mekong River21-Jul-04 12:01
Mekong River21-Jul-04 12:01 
GeneralRe: List the content of the registry Pin
Dave Kreskowiak21-Jul-04 15:00
mveDave Kreskowiak21-Jul-04 15:00 
Roath Kanel wrote:
So that is why i need to check the content of the registry from the specific location (especially: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run) and find the name of the key parameter that virus drop, then I will know the name of the virus and the specific FixTool and method to clean it.

Like I said, you finding the virus running from this key is very rare. Don't expect to find the name just sitting in the open like you expect. Anyway, here's the example of what you're looking for. This assumes there is a Button on your form and a ListView setup for Detail mode....Good Luck!
Imports Microsoft.Win32

Public Class Form1
    Inherits System.Windows.Forms.Form

    Private Sub btnReadRunKey_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReadRunKey.Click
        Dim regKey As RegistryKey
        Dim keyValue As String = "Software\\Microsoft\\Windows\\CurrentVersion\\Run"

        regKey = Registry.LocalMachine.OpenSubKey(keyValue, False)
        Dim regNames As String() = regKey.GetValueNames()

        For Index As Integer = 0 To regNames.GetUpperBound(0)
            Dim newItem As ListViewItem
            newItem = ListView1.Items.Add(regNames(Index))
            newItem.SubItems.Add(regKey.GetValue(regNames(Index), "*** NO VALUE ***"))
        Next
        regKey.Close()
    End Sub
End Class



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Generalsystem.net.socket Pin
shingo9919-Jul-04 17:27
shingo9919-Jul-04 17:27 
GeneralDatagrid Pin
beowulfagate19-Jul-04 17:27
beowulfagate19-Jul-04 17:27 
GeneralUsing API in .Net, finding windows classname Pin
cheezdog19-Jul-04 13:11
cheezdog19-Jul-04 13:11 
Generaladding to system registry Pin
dotnetfriend19-Jul-04 11:05
dotnetfriend19-Jul-04 11:05 
GeneralRe: adding to system registry Pin
mythinky19-Jul-04 16:26
mythinky19-Jul-04 16:26 
GeneralRe: adding to system registry Pin
VenkatFor.NET20-Jul-04 11:43
VenkatFor.NET20-Jul-04 11:43 
QuestionHow to Get Position of users form & position of Activex Control within the users form Pin
Member 119551219-Jul-04 8:05
Member 119551219-Jul-04 8:05 
Generalconnecting computers Pin
GaryKoh19-Jul-04 5:42
GaryKoh19-Jul-04 5:42 
GeneralAuto Redirect .asp to .aspx Pin
Member 124540819-Jul-04 4:09
Member 124540819-Jul-04 4:09 
GeneralRe: Auto Redirect .asp to .aspx Pin
Dave Kreskowiak19-Jul-04 5:06
mveDave Kreskowiak19-Jul-04 5:06 
GeneralDataBinding - I'm getting sick of it! Pin
mikasa19-Jul-04 4:02
mikasa19-Jul-04 4:02 
GeneralPlug-ins in VB6 Pin
A.Obraztsov18-Jul-04 23:46
A.Obraztsov18-Jul-04 23:46 
GeneralRe: Plug-ins in VB6 Pin
Dave Kreskowiak19-Jul-04 3:51
mveDave Kreskowiak19-Jul-04 3:51 
GeneralRe: Plug-ins in VB6 Pin
A.Obraztsov19-Jul-04 10:27
A.Obraztsov19-Jul-04 10:27 
GeneralToolbar alignment Pin
Tom Rahav18-Jul-04 20:31
Tom Rahav18-Jul-04 20:31 
GeneralRe: Toolbar alignment Pin
gthompson200519-Jul-04 13:46
gthompson200519-Jul-04 13:46 
GeneralRe: Toolbar alignment Pin
Anonymous19-Jul-04 18:19
Anonymous19-Jul-04 18:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.