Page 2 of 2 FirstFirst 12
Results 41 to 43 of 43

Thread: Enumerating Processes & much more! Update - Real Time Updating

  1. #41
    Bad man! ident's Avatar
    Join Date
    Mar 2009
    Location
    Cambridge
    Posts
    5,401

    Re: Enumerating Processes & much more! Update - Real Time Updating

    Such a nice example but a few questions.

    What is with the Superfluous......


    Code:
    If MyProperty = True Then
         MyProperty.Property = True
    Else
        MyProperty.Property = False
    End If
    Code:
    If tsmiAlwaysOnTop.Checked = True Then
    This just reads

    Code:
    If (tsmiAlwaysOnTop.Checked = True) = True Then
    this is just pseudocode , which is less efficient.

    Code:
            If tsmiAlwaysOnTop.Checked = True Then
                tsmiAlwaysOnTop.Checked = False
                Me.TopMost = False
            Else
                If tsmiAlwaysOnTop.Checked = False Then
                    tsmiAlwaysOnTop.Checked = True
                    Me.TopMost = True
                End If
            End If

    Code:
      Me.TopMost = tsmiAlwaysOnTop.Checked
    catching exception is just swallowing the error claiming we can handle any thing it is.

  2. #42
    Lively Member
    Join Date
    Jul 2011
    Location
    UK
    Posts
    72

    Re: Enumerating Processes & much more! Update - Real Time Updating

    has anyone got the CPU column working in this app?

    Everything else works fine, but this doesn't show any values

  3. #43
    Addicted Member evo74's Avatar
    Join Date
    Aug 2012
    Location
    Mars
    Posts
    133

    Re: Enumerating Processes & much more! Update - Real Time Updating

    Well its all good until you open the program then you see alot of bugs but one that needs to be fixed is that if you try to close a protected process like an antivirus's process the program freezes and its not too compatible with other versions of windows
    Time you enjoy wasting is not wasted time

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width