Search results

  1. L

    quickly ping a range of ip addresses

    After a while, I got the following code: Private Async Function Button1_ClickAsync(sender As Object, e As EventArgs) As Task Handles Button1.Click Await Ping("192.168.0.1", "255") End Function Private Async Function Ping(startIP As String, endIP As String) As Task Dim...
  2. L

    quickly ping a range of ip addresses

    Good day! Tell me how to quickly ping a range of ip addresses with Resp output. Time, HostName, Mac? The form has a datagridview 2 text boxes and a button. Enter the range of ip addresses in the text fields, click on the button and the datagridview is filled. there is the following code, which...
  3. L

    get list of users with expiring password in Active Directory

    Good day. Please tell me how to get the list of users with expiring password after 13 days in ActiveDirectory
  4. L

    Treeview tristate for parent node?

    automatically select or deselect the all child nodes whenever its parent Node is selected or deselected Private Sub TreeView1_AfterCheck(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterCheck Try e.Node.TreeView.BeginUpdate() If e.Node.Nodes.Count...
  5. L

    Button visibility when scrolling treeview

    yes, you can write it that way. thanks for the hint.
  6. L

    Button visibility when scrolling treeview

    Here is the complete code, in case someone might need it. Class: Public Class MyTreeView Inherits TreeView ' Event declaration Public Delegate Sub ScrollEventHandler(ByVal sender As Object, ByVal e As ScrollEventArgs) Public Event Scroll As ScrollEventHandler Private...
  7. L

    Button visibility when scrolling treeview

    As far as I know, the standard treeview does not have a scroll event. But I have my own class code that implements the scroll event: Tell me how to make a button active or inaccessible when the main node appears / hides in the TreeView. Imports System Imports System.Windows.Forms Public Class...
  8. L

    Button visibility when scrolling treeview

    The form has a button and a TreeView, which has 1 main node and many child nodes. Tell me how, when scrolling the TreeView, if the main node is hidden, make the button Enabled = false, if when scrolling the TreeView the main node is shown, then the button make Enbled = true
  9. L

    Question Freeze the main tree view node

    Good day! The form has a TreeView with one main and many child nodes. When scrolling in the TreeView, the main node is hidden. Tell me how to fix the main node so that it is always at the top when scrolling, and only child nodes are scrolled. Tell me if this is possible.
Top Bottom